> For the complete documentation index, see [llms.txt](https://docs.tibero.com/tibero-manuals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/tibero-manuals/7.2.6.manuals/installation-guide/appendix/sample-user-install.md).

# Appendix I. sample user 설치

sample user 스키마와 설치 방법에 대해 설명합니다.

## 소개

티베로 설치 후 테스트 편의를 위해 두 개의 스키마 더미 데이터를 제공합니다.

* LIBRARY(LB)
* Fitness(FC)

## 스키마

다음은 각 스키마에 대한 ERD입니다.

<figure><img src="https://content.gitbook.com/content/evqs7Ne3nMyXQFkBSQWR/blobs/Cu0rKpvTQ3ggb8JCAE4c/image.png" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/evqs7Ne3nMyXQFkBSQWR/blobs/nCzsY347Geu2QICjNQVZ/image.png" alt=""><figcaption></figcaption></figure>

## 설치 및 삭제 방법

다음은 스키마 설치 방법입니다.

<pre><code><strong>-- tbsql 접속
</strong>tbsql sys/tibero

-- 테이블 스페이스 생성
CREATE TABLESPACE MY_LIBRARY DATAFILE '/usr/tibero/dtf/my_library.dtf' SIZE 50M;
CREATE TABLESPACE MY_FITNESS DATAFILE '/usr/tibero/dtf/my_fitness.dtf' SIZE 50M;

-- LB 스키마 설치 
SQL> @$TB_HOME/scripts/sample_user/LB/lb_install.sql
Spooling is started.
Enter a password for the user LIBRARY: tibero
Enter a tablespace for LIBRARY: my_library
Spooling is stopped: lb_install.log

-- FC 스키마 설치 
SQL> @$TB_HOME/scripts/sample_user/FC/fc_install.sql
Spooling is started.
Enter a password for the user FITNESS: tibero
Enter a tablespace for FITNESS: my_fitness
Spooling is stopped: fc_install.log
</code></pre>

설치 시 LIBRARY에는 2550개, FITNESS에는 63개의 더미 데이터가 같이 설치됩니다.

다음은 삭제 방법입니다.

```
-- tbsql 접속
tbsql sys/tibero

@$TB_HOME/scripts/sample_user/LB/lb_uninstall.sql
@$TB_HOME/scripts/sample_user/FC/fc_uninstall.sql
```
