http://iotn.co.kr 연락처: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / 日本政府は日本軍の性的奴隷?牲者に謝罪すべき. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [69]
02.File Book
File 자료실 [95]
Site Link [18]
개인폴더 [194]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [40]
DB2 [79]
ORACLE [2888]
PostgreSQL [103]
기타정보 [150]
운영체제 [577]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: Altibase

 회원가입

dbf 위치 확인 / 삭제 / create database [$ server create MS949 UTF8 ] / 서비스 시작
최길호 [LIST]   2020-10-08 00:31:34, 조회 : 262

# DB_NAME 확인
$ grep -i db_name $ALTIBASE_HOME/conf/altibase.properties
DB_NAME       =  syncdb

# loganchor1 위치 확인
$ grep -i loga $ALTIBASE_HOME/conf/altibase.properties
LOGANCHOR_DIR       = ?/logs # LOGANCHOR_DIR1
LOGANCHOR_DIR       = ?/logs # LOGANCHOR_DIR2
LOGANCHOR_DIR       = ?/logs # LOGANCHOR_DIR3

# 파일 위치 확인
$ dumpla $ALTIBASE_HOME/logs/loganchor1 | grep -i /
Checkpoint Path               [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs ]
Checkpoint Path               [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs ]
Database File Path            [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs/system001.dbf ]
Database File Path            [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs/undo001.dbf ]
Database File Path            [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs/temp001.dbf ]
Database File Path            [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs/tester2.dbf ]
Database File Path            [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs/tester1.dbf ]
Database File Path            [ /home/altibase/altibase-HDB-server-6.1.1-2/dbs/jhstbs001.dbf ]
Database File Path            [ /backup/altibase/data01.dbf ]
Database File Path            [ /backup/altibase/data02.dbf ]
Database File Path            [ /backup/altibase/data03.dbf ]
Database File Path            [ /backup/altibase/data04.dbf ]
Database File Path            [ /backup/altibase/data05.dbf ]
Database File Path            [ /backup/altibase/data06.dbf ]
Database File Path            [ /backup/altibase/data07.dbf ]
Database File Path            [ /backup/altibase/data08.dbf ]
Database File Path            [ /backup/altibase/data09.dbf ]
Database File Path            [ /backup/altibase/data10.dbf ]

$ rm -fr /backup/altibase/* $ALTIBASE_HOME/dbs/* $ALTIBASE_HOME/logs/*
$ server
Usage: server { start | stop | kill | status | create db_charset national_charset | restart }
$ server create MS949 UTF8
또는
$ is –sysdba
iSQL> startup process
iSQL> create database syncdb initsize=10M noarchivelog character set MS949 national character set UTF8;

$ server create MS949 UTF8
-----------------------------------------------------------------
     Altibase Client Query utility.
     Release Version 6.1.1.3.4
     Copyright 2000, ALTIBASE Corporation or its subsidiaries.
     All Rights Reserved.
-----------------------------------------------------------------
ISQL_CONNECTION = UNIX, SERVER = localhost, PORT_NO = 22300
[ERR-910FB : Connected to idle instance]
Connecting to the DB server... Connected.
TRANSITION TO PHASE : PROCESS
Command executed successfully.
DB Info (Page Size     = 32768)
        (Page Count    = 257)
        (Total DB Size = 8421376)
        (DB File Size  = 1073741824)
        Creating MMDB FILES     [SUCCESS]
        Creating Catalog Tables [SUCCESS]
        Creating DRDB FILES     [SUCCESS]
  [SM] Rebuilding Indices [Total Count:0]  [SUCCESS]
DB Writing Completed. All Done.
Create success.
# 완료후 DB는 down 상태


# is 정보
$ cat $ALTIBASE_HOME/bin/is
#!/bin/sh
trap "" TSTP
${ALTIBASE_HOME}/bin/isql -s localhost -u sys -p manager $*


# 서비스 시작
$ server start
또는
$ is -sysdba
-----------------------------------------------------------------
     Altibase Client Query utility.
     Release Version 6.1.1.3.4
     Copyright 2000, ALTIBASE Corporation or its subsidiaries.
     All Rights Reserved.
-----------------------------------------------------------------
ISQL_CONNECTION = UNIX, SERVER = localhost, PORT_NO = 22300
[ERR-910FB : Connected to idle instance]
iSQL(sysdba)>
iSQL(sysdba)> startup
Connecting to the DB server... Connected.
TRANSITION TO PHASE : PROCESS
TRANSITION TO PHASE : CONTROL
TRANSITION TO PHASE : META
  [SM] Recovery Phase - 1 : Preparing Database
                          : Dynamic Memory Version => Parallel Loading
  [SM] Recovery Phase - 2 : Loading Database
  [SM] Recovery Phase - 3 : Skipping Recovery & Starting Threads...
                            Refining Disk Table
  [SM] Refine Memory Table : ......................................................................................................... [SUCCESS]
  [SM] Rebuilding Indices [Total Count:104] ........................................................................................................ [SUCCESS]
TRANSITION TO PHASE : SERVICE
  [CM] Listener started : TCP on port 22300 [IPV4]
  [CM] Listener started : UNIX
  [CM] Listener started : IPC
  [RP] Initialization : [PASS]
--- STARTUP Process SUCCESS ---  
Command executed successfully.
iSQL(sysdba)>
3.235.78.122


  LIST

제목 작성자 작성일 조회
Admin  dbf 위치 확인 / 삭제 / create database [$ server create MS949 UTF8 ] / 서비스 시작    최길호 2020/10/08 262
Troubleshoot  [FAILURE] Unable to invoke the open() function on [/home/altibase/altibase-HDB-server-6.1.1-2/logs/logfile100]    최길호 2020/10/07 343
Admin  주소 iloader in [ csv data import ]    최길호 2020/10/07 271
Admin  altibase replication test    최길호 2016/11/17 1847
Backup & Recovery  hot backup script [ alter database backup database to '/backup/'; ]    최길호 2016/10/02 1181
Admin  -- 모든 테이블    최길호 2016/10/02 1092
Admin  [ERR-110A4 : Backup in progress. Please wait until the current backup is completed.]    최길호 2016/10/02 746
Admin  Sybase IQ 15.2 evaluation software    최길호 2013/08/21 2875
Admin  alter database rename datafile    최길호 2013/07/27 4150
Backup & Recovery  aexport lv:9   최길호 2013/07/22 1346
Admin  alter tablespace ts_disk1 alter datafile '/altibase/6.1/dbs/tbs_disk1_200.dbf' autoextend on next 200m maxsize unlimited;    최길호 2013/04/13 2784
Troubleshoot  [FAILURE] The data file '/altibase/6.1/dbs/SYS_TBS_MEM_DIC-0-0' has an invalid header. lv:9   최길호 2013/04/11 1383
Troubleshoot  oracle to altibase data type 호환     최길호 2013/04/05 2892
Admin  getdata.sql [ 오라클, 알티베이스 마이그레이션 내용 ] lv:9   최길호 2013/04/05 1299
Admin  http://support.altibase.com/kr/manual [ NLS_DATE_FORMAT = altibase.properties:DEFAULT_DATE_FORMAT ]    최길호 2013/04/04 13605
Admin  altibase 교육 자료 lv:4   최길호 2013/04/03 1496

    목록보기 1
       

Copyright 1999-2022 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
최근 게시물
06/29
[ORACLE]
DDE: Problem Key 'ORA 600 [133....
by 최길호
06/25
[ORACLE]
Replication may not be valid i....
by 최길호
06/22
[운영체제]
CentOS7 홈페이지 Migration 메모.
by 최길호