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

사용자

ID:
PW:

INDEX
01.게시판
게시판 [71]
02.File Book
File 자료실 [95]
Site Link [17]
개인폴더 [201]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [43]
DB2 [79]
ORACLE [2973]
PSQL [133]
기타정보 [155]
운영체제 [600]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

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

 회원가입

ORA-13203: failed to read USER_SDO_GEOM_METADATA view
최길호 [LIST]   2022-06-14 17:18:09, 조회 : 262

-- ORA-13249: SRID 5186 does not exist in MDSYS.CS_SRS table에러 관련
http://iotn.co.kr/power/zboard.php?id=9_1_bbs&no=3078
-- create user MDSYS / INSERT INTO MDSYS.CS_SRS 지리정보체계(GIS)
http://iotn.co.kr/power/zboard.php?id=9_1_bbs&no=3145
--ORA-13203: failed to read USER_SDO_GEOM_METADATA view
http://iotn.co.kr/power/zboard.php?id=9_1_bbs&no=3079

DROP TABLE GIS PURGE;
CREATE TABLE GIS (ID NUMBER, SPATIAL SDO_GEOMETRY);
CREATE INDEX GISIDX ON GIS (SPATIAL ) INDEXTYPE IS MDSYS.SPATIAL_INDEX;

ORA-39083: Object type INDEX failed to create with error:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10

What Privileges to Grant to a User to Create Spatial Index in a Different Schema (문서 ID 394924.1)

DROP TABLE GIS PURGE;
CREATE TABLE GIS (ID NUMBER, SPATIAL SDO_GEOMETRY);
INSERT INTO GIS VALUES(1,SDO_GEOMETRY(2001, 5186, SDO_POINT_TYPE(184452.183, 297062.689, NULL), NULL, NULL));
COMMIT;
CREATE INDEX GISIDX ON GIS (SPATIAL ) INDEXTYPE IS MDSYS.SPATIAL_INDEX;

SQL> CREATE INDEX GISIDX ON GIS (SPATIAL ) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10

SQL> alter INDEX GISIDX rebuild;
ORA-29858: error occurred in the execution of ODCIINDEXALTER routine
ORA-29400: data cartridge error
ORA-01403: no data found
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 313

-- exp 파일 열어 보면 INDEX METADATA 다음에
-- INSERT INTO USER_SDO_GEOM_METADATA values ...  확인해서 넣주면 되겠다.
-- 백업시 테이블 백업후 USER_SDO_GEOM_METADATA 에서 테이블,컬럼에 대한 데이터도 백업 하는거 보면 수동으로
-- USER_SDO_GEOM_METADATA 넣줘야 인덱스가 만들어 진다.

-- 예시
INSERT INTO USER_SDO_GEOM_METADATA values ('GIS','SPATIAL',
mdsys.SDO_dim_array(
MDSYS.SDO_DIM_ELEMENT('X','0','193324.945','.00000005'),
MDSYS.SDO_DIM_ELEMENT('X','0','321122.043','.00000005')),'5186') ;

-- 에러는 나도 인덱스는 있으니 rebuild 하면 된다.
select 'alter index '||owner||'.'||index_name||' rebuild;' from dba_indexes where DOMIDX_OPSTATUS='FAILED';


44.192.254.173


  LIST

제목 작성자 작성일 조회
Admin  [ 공지 ] 😃 서비스 시간 08:00 ~ 23:00 / 안되면 나중에 다시 방문 해주세요~.😅    최길호 2008/11/26 113
Admin  [ 필요 하신게 있으시면 쪽지 또는 gilho.kr@gmail.com 메일 주세요~ ]    최길호 2006/07/14 134
Admin  auto compile [ dba_objects LAST_DDL_TIME DDL 실행 ]    최길호 2023/09/27 2
Troubleshoot  verify_queryable_inventory returned ORA-20001 / ORA-20013: DBMS_QOPATCH ran mostly in non install area    최길호 2023/09/25 4
Admin  trg_ddl_log / trigger ddl log /    최길호 2023/09/22 6
Troubleshoot  datapatch -verbose verify_queryable_inventory returned ORA-06502 / select dbms_sqlpatch.verify_queryable_inventory from dual;    최길호 2023/09/22 8
Troubleshoot  ORA-46258: Cleanup not initialized for the audit trail    최길호 2023/09/20 4
Admin  Linux 6 , Oracle 19 Error [ ./sqlplus: /lib64/libc.so.6: version `GLIBC_2.17' `GLIBC_2.14' ]    최길호 2023/09/15 2
Troubleshoot  oci-24550 [3762504530] [Unhandled exception: Code=e0434352 Flags=1]    최길호 2023/09/14 3
Script  dbstart dbstop dbstatus dbrestart HA script    최길호 2023/08/21 20
Install and Config  libnls12.a(lxhlang.o): undefined reference to symbol '__tls_get_addr@@GLIBC_2.3'    최길호 2023/08/01 10
Admin  ORA-39173: Encrypted data has been stored unencrypted in dump file set. [ dba_encrypted_columns 관련 테이블 백업 안됨 ]    최길호 2023/07/26 12
Admin  19c patch EE to SE install [ ./runInstaller -silent -responseFile `pwd`/db_install.rsp ]    최길호 2023/07/18 15
Admin  alter table MODIFY ENCRYPT ARIA256 ARIA-256 [ AES to ARIA ] 컬럼 암호    최길호 2023/07/14 17
Admin  23c    최길호 2023/07/12 11
Admin  ORA-39046: Metadata remap REMAP_NAME has already been specified.    최길호 2023/06/26 10
Install and Config  alter system set asm_diskstring RAC    최길호 2023/06/09 23

    목록보기   다음페이지 1 [2][3][4][5][6][7][8][9][10]..[149]   [다음 10개]
       

Copyright 1999-2023 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2021/06/30
윈도우 서버에서 sqlplus .... ORA-...
by 최길호
2021/06/30
ORA-28500: connection from O...
by 최길호
2019/05/02
pkg 확인 SELECT * FROM AL...
by 최길호
최근 게시물
09/27
[ORACLE]
auto compile [ dba_objects LAS....
by 최길호
09/25
[ORACLE]
verify_queryable_inventory ret....
by 최길호
09/11
[운영체제]
ntfy.sh / 푸시 알림 보내기.
by 최길호