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 :: Tibero

 회원가입

Tibero 5 , SP1, patch, downgrad 메모
최길호 [LIST]   2021-02-10 19:15:09, 조회 : 1,635


Tibero 5 라이선스 SP1 사용 가능.

# version 확인
tbsvr -v
select * from vt_version ;
select * from v$version ;

COL owner FORMAT a20
SET PAGES 500
SELECT owner, object_type, status, count(*)
FROM dba_objects
GROUP BY owner, object_type, status
ORDER BY owner, object_type, status;
-- 테이블 저장
create table dba_objects_asis as
SELECT owner,object_name, object_type, status
FROM dba_objects
ORDER BY owner,object_name, object_type, status;

-- INVALID
SET LINESIZE 120
COL object_name FORMAT A30
COL owner FORMAT a20
SELECT owner, object_name, object_type, status
FROM dba_objects WHERE status='INVALID';

SET LINESIZE 120
COL file_name FORMAT A100
SELECT file_name FROM dba_data_files;

SET LINESIZE 120
COL owner FORMAT a10
COL library_name FORMAT a30
COL file_spec FORMAT a50
COL status FORMAT a10
COL name FORMAT a30
COL source FORMAT a50
SELECT owner, library_name, file_spec, status FROM DBA_LIBRARIES;
SELECT owner, name, source FROM DBA_JAVA_CLASSES;

SQL> drop table _DP_TEMP_SGMT ;
$TB_HOME/scripts/system.sh
- sys password(default) : tibero
- syscat password(default) : syscat
- Create default system users & roles?(Y/N): n
- Create system tables related to profile?(Y/N): n
- Register dbms_stats job to Job Scheduler?(Y/N): n
- Create apm tables?(Y/N): n

5
drop table _DP_TEMP_SGMT;
create table _dp_temp_sgmt (
    sgmt_id         number not null,
    ts_id           number not null,
    shdrdba         number not null,
    creater_id      number not null );

5 SP1
drop table _DP_TEMP_SGMT;
create table _DP_TEMP_SGMT (
SGMT_ID  number not null,
TS_ID    number not null,
SHDRDBA  number not null,
LOCK_ID1 number not null,
LOCK_ID2 number not null );

grep TBR-17001 $TB_HOME/instance/$TB_SID/log/system_init.log
grep TBR-70004 $TB_HOME/instance/$TB_SID/log/system_init.log

alter system recompile all;
alter user tibero identified by tibero;
conn tibero/tibero
-- utlrp 같이 invalid 모두 compile
@tibero5/scripts/revalidate_viewnsyn.sql

SET LINESIZE 120
COL object_name FORMAT A30
COL owner FORMAT a20
SELECT owner, object_name, object_type, status
FROM dba_objects WHERE status='INVALID';
-- Tibero 5 SP1 결과 [ 정상 ]
OWNER                OBJECT_NAME                    OBJECT_TYPE          STATUS
-------------------- ------------------------------ -------------------- -------
SYS                  WM_CONCAT                      FUNCTION             INVALID
PUBLIC               WM_CONCAT                      SYNONYM              INVALID


grep -i WM_CONCAT tibero5/scripts/pkg/*
@tibero5/scripts/pkg/uda_wm_concat.sql
TBR-17004: Permission denied.  [ sys 계정은 안됨, tibero 가능 ]

drop FUNCTION sys.WM_CONCAT;
drop PUBLIC SYNONYM WM_CONCAT;
conn tibero/tibero
@tibero5/scripts/pkg/uda_wm_concat.sql

추가
-- SP1 => 5.0 down-grade 한경우 object 제거
set pages 200
select 'drop '||object_type||' '||owner||'.'||object_name||';' from
dba_objects WHERE status='INVALID' order by owner,object_type;

TBR-2048: Data source was not found.
tbdsn.tbr 정보가 없어서 발생
cat >> $TB_HOME/client/config/tbdsn.tbr
tibero=(
    (INSTANCE=(HOST=localhost)
              (PORT=8629)
              (DB_NAME=tibero)
    )
)


3.235.78.122


  LIST

제목 작성자 작성일 조회
Troubleshoot  ERROR: bind error (port=8200) [Address already in use]    최길호 2022/02/18 85
Admin  Tibero 5 , SP1, patch, downgrad 메모    최길호 2021/02/10 1635
Admin  tibero jdbc driver version 확인    최길호 2021/02/01 327
Admin  rename db name / TB_SID    최길호 2021/02/01 279
Troubleshoot  T-UP / SELECT COUNT(*) FROM ALL_TYPES WHERE TYPE_NAME = 'XMLTYPE'    최길호 2021/02/01 4941
Backup and Recovery  alter database backup controlfile to trace / CREATE CONTROLFILE / alter system set _CF_DD_CHECK=N    최길호 2021/01/29 263
Troubleshoot  interal dd update failed!! [ patch 필요 ]    최길호 2020/12/20 40903
Backup and Recovery  TBR-1024 : Database needs media recovery    최길호 2020/12/20 2304
Troubleshoot  * Cannot get semaphore:errno=28    최길호 2019/03/06 3927
Backup and Recovery  tbexport TBR-90401: JDBC-90401:Connection refused by the server. - Connection refused    최길호 2019/02/15 3311
Troubleshoot  TBR-8033: Specified schema object was not found.    최길호 2018/07/11 107173
Admin  tibero6 수동 설치    최길호 2018/07/11 25032
Backup and Recovery  TBR-1004: Unable to read file TBR-7004: This DDL statement is not permitted    최길호 2017/11/26 2622
Admin  Tibero SQL Trace [ SQL_TRACE / DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION / SET AUTOTRACE ON / v$sql_plan ]    최길호 2017/09/06 15926
Admin  Tibero 모니터링 가이드 - TechNet    최길호 2017/09/05 16104
Troubleshoot  java.sql.SQLSyntaxErrorException: ORA-00924: missing BY keyword    최길호 2016/08/25 3206
Troubleshoot  Oracle dblink Tibero UTF8 DB 한글처리    최길호 2015/09/08 10570

    목록보기   다음페이지 1 [2]
       

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 최길호