90

Similar documents
13주-14주proc.PDF

10.ppt

Microsoft Word - PLSQL.doc

3 S Q L A n t i p a t t e r n s Trees/intro/parent.sql CREATE TABLE Comments ( comment_id SERIAL PRIMARY KEY, parent_id BIGINT UNSIGNED, comment TEXT

歯sql_tuning2

(......).hwp

ESQL/C

SQL Tuning Business Development DB

歯PLSQL10.PDF

(Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

<C1A4C3A5BFACB1B D3420C1A4BDC5C1FAC8AFC0DAC0C720C6EDB0DFC7D8BCD220B9D720C0CEBDC4B0B3BCB1C0BB20C0A7C7D120B4EBBBF3BAB020C0CEB1C720B1B3C0B020C7C1B7CEB1D7B7A520B0B3B9DF20BAB8B0EDBCAD28C7A5C1F6C0AF292E687770>

목차 BUG 문법에맞지않는질의문수행시, 에러메시지에질의문의일부만보여주는문제를수정합니다... 3 BUG ROUND, TRUNC 함수에서 DATE 포맷 IW 를추가지원합니다... 5 BUG ROLLUP/CUBE 절을포함하는질의는 SUBQUE

Jerry Held


Microsoft Word - [Unioneinc] 특정컬럼의 통계정보 갱신_ _ldh.doc

ALTIBASE HDB Patch Notes

DB 성능고도화핵심원리 비투엔컨설팅 수석컨설턴트 조시형

Commit_Wait / Commit_Logging 두파라미터를통해 Log File Sync 대기시간을감소시킬수있다는것은놀라움과의아함을동시에느낄수있다. 단지파라미터의수정을통해당연히대기해야하는시간을감축한다는것은분명성능을개선해야하는입장에서는놀라운일이될것이다. 반면, 그에따

중국보고1권(요약OK) 1~22

º¸µµ¿Â

배치프로그램에서튜닝대상 SQL 추출하기 엑셈컨설팅본부 /DB 컨설팅팀박성호 배치프로그램의성능문제를진단하기위해트레이스를사용할수없고, 개별 SQL 에대한성 능점검은비효율적인경우에어떻게배치프로그램의성능문제를제대로파악하고개선안을도 출할것인가? 복잡한로직을가지고있는프로그램 (

K7VT2_QIG_v3

목차 BUG DEQUEUE 의 WAIT TIME 이 1 초미만인경우, 설정한시간만큼대기하지않는문제가있습니다... 3 BUG [qp-select-pvo] group by 표현식에있는컬럼을참조하는집합연산이존재하지않으면결괏값오류가발생할수있습니다... 4

1. 들어가며 많은기업들이정보시스템의근간으로데이터베이스를사용하고있고또많은사람들이데이터베이스의성능에대해불만을토로한다. 데이터베이스의성능문제와관련해많은원인과해결책이있지만이문제와관련해자주언급되는개념이있다. Hard Parsing 이그것이다. Hard Parsing 은성능에좋

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

5장 SQL 언어 Part II

Relational Model

歯엑셀모델링

노무관리업무 담당자 워크숍 속표지

@OneToOne(cascade = = "addr_id") private Addr addr; public Emp(String ename, Addr addr) { this.ename = ename; this.a

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

201502IC1AP-1 DB 구축 2015 학년도 2 학기 프로젝트특강보고서 프로젝트명 : DB 구축 ( DB ) 2015 년 11 월 20 일 지도교수 : 황치곤교수님 학과 : 정보통신공학과 1팀제출자 : 역할성명학번 조장 조재석 조원 송찬호 2

대량의 DML 작업에대한성능개선방안 엑셈컨설팅본부 /DB 컨설팅팀박준연 개요 대량의데이터를변경해야하는작업은그자체만으로도큰부담으로다가온다. 하지만변경작업자체에만국한되는것이아니라변경되기전데이터와변경이후데이터를각각저장관리해야하는메커니즘이라면성능을개선해야하는입장에서는더욱큰부담

구축환경 OS : Windows 7 그외 OS 의경우교재 p26-40 참조 Windows 의다른버전은조금다르게나타날수있음 Browser : Google Chrome 다른브라우저를사용해도별차이없으나추후수업의모든과정은크롬사용 한

쿠폰형_상품소개서

Microsoft PowerPoint SQL 추가 기능

성인용-칼라-단면-수정1030

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

untitled

SQL Server 에서 SQL 튜닝시알아야할힌트와사용 방법 엑셈컨설팅본부 /DB 컨설팅팀박성호 Optimizer 가 SQL 을해석할때항상최적의실행계획을생성하지는못한다. 복잡한 SQL 일수록최적의실행계획을생성하기위해고려해야할대상 (Table, Index 가많은경우 )

1393È£ 1¸é

Session Title

4 CD Construct Special Model VI 2 nd Order Model VI 2 Note: Hands-on 1, 2 RC 1 RLC mass-spring-damper 2 2 ζ ω n (rad/sec) 2 ( ζ < 1), 1 (ζ = 1), ( ) 1

웹진용

SIGPLwinterschool2012

결과보고서

문서 템플릿

Microsoft Word - 03_SQL_CURSOR.doc

<303220C1BEC7D528C1DFB1B9B1B3BCF6BED5B1EEC1F6292E687770>

고객.PDF

슬라이드 1

<3136C1FD31C8A35FC3D6BCBAC8A3BFDC5F706466BAAFC8AFBFE4C3BB2E687770>

¿ÀǼҽº°¡À̵å1 -new

1. 데이터베이스프로그래밍의개념 2. PL-SQL 3. 데이터베이스연동자바프로그래밍 4. 데이터베이스연동웹프로그래밍

Microsoft PowerPoint - 10Àå.ppt

sms_SQL.hwp

DBMS & SQL Server Installation Database Laboratory

다음 사항을 꼭 확인하세요! 도움말 안내 - 본 도움말에는 iodd2511 조작방법 및 활용법이 적혀 있습니다. - 본 제품 사용 전에 안전을 위한 주의사항 을 반드시 숙지하십시오. - 문제가 발생하면 문제해결 을 참조하십시오. 중요한 Data 는 항상 백업 하십시오.

0.1-6

8 장데이터베이스 8.1 기본개념 - 데이터베이스 : 데이터를조직적으로구조화한집합 (cf. 엑셀파일 ) - 테이블 : 데이터의기록형식 (cf. 엑셀시트의첫줄 ) - 필드 : 같은종류의데이터 (cf. 엑셀시트의각칸 ) - 레코드 : 데이터내용 (cf. 엑셀시트의한줄 )

PowerPoint 프레젠테이션

Altibase Stored Procedure Manual

06_À̼º»ó_0929

그리고.. 엑셀에하나둘완료된쿼리가늘어날때마다... 희열을느낀다... 이글을보는당신은어떻게할것인가? A 군의판단이잘못된것인가? 잘못된판단이아니다최선의판단이다... 11g 전까지는... 11g New Feature 인 Pending Statistics 를 SPA 와함께사용

untitled

untitled

TITLE

Microsoft PowerPoint - A-max.ppt [호환 모드]

슬라이드 1

(2005) ,,.,..,,..,.,,,,,

232 도시행정학보 제25집 제4호 I. 서 론 1. 연구의 배경 및 목적 사회가 다원화될수록 다양성과 복합성의 요소는 증가하게 된다. 도시의 발달은 사회의 다원 화와 밀접하게 관련되어 있기 때문에 현대화된 도시는 경제, 사회, 정치 등이 복합적으로 연 계되어 있어 특

Observational Determinism for Concurrent Program Security

ALTIBASE HDB Patch Notes


37-9.pdf

Stage 2 First Phonics

Spring Boot/JDBC JdbcTemplate/CRUD 예제

5/12¼Ò½ÄÁö

Bind Peeking 한계에따른 Adaptive Cursor Sharing 등장 엑셈컨설팅본부 /DB 컨설팅팀김철환 Bind Peeking 의한계 SQL 이최초실행되면 3 단계의과정을거치게되는데 Parsing 단계를거쳐 Execute 하고 Fetch 의과정을통해데이터

PowerPoint 프레젠테이션

ETL_project_best_practice1.ppt

1960년대 영국하위문화 패션에 관한 연구

<352EC7E3C5C2BFB55FB1B3C5EBB5A5C0CCC5CD5FC0DABFACB0FAC7D0B4EBC7D02E687770>

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

Altibase Stored Procedure Manual

CD-6208_K

Microsoft PowerPoint - PLSQL.ppt

KakaoGame Integrated Guidelines _Open

Microsoft PowerPoint - PLSQL.ppt

Windows 네트워크 사용 설명서


이용석 박환용 - 베이비부머의 특성에 따른 주택유형 선택 변화 연구.hwp

위험과보험전체


»ç¿ëÀÚ¸Þ´º¾ó

DW 개요.PDF

[ 목차 ] 5.1 데이터베이스프로그래밍개념 5.2 T-SQL T-SQL 문법 5.3 JAVA 프로그래밍 2

PowerPoint 프레젠테이션

EBS직탐컴퓨터일반-06-OK

NoSQL

Transcription:

89 3 차원공간질의를위한효율적인위상학적데이터모델의검증 Validation of Efficient Topological Data Model for 3D Spatial Queries Seokho Lee Jiyeong Lee 요약 키워드 Abstract Keywords

90

91

92

93

94

95

96 -- 3D Brep adjacency_ordering DECLARE VSID VARCHAR2(10); VTYPE VARCHAR2(16); RANSID VARCHAR2(10) :='s' TO_CHAR(ROUND(DBMS_RANDOM.VALUE (1001, 1046),0)); CURSOR C1 IS SELECT RID, TYPE FROM BREP_3D_ROOMTYPE WHERE SID IN (SELECT DISTINCT SID FROM BREP_3D_SOLID WHERE FACES IN (SELECT FACES FROM BREP_3D_SOLID WHERE SID IN (RANSID)) AND SID <> ALL (RANSID)); CURSOR C2 IS SELECT RID, TYPE FROM BREP_3D_ROOMTYPE WHERE SID IN (SELECT DISTINCT SID FROM BREP_3D_SOLID WHERE FACES IN (SELECT FACES FROM BREP_3D_SOLID WHERE SID IN (SELECT ID FROM BREP_ORDER_1)) AND SID <> ALL (SELECT ID FROM BREP_ORDER_1 ) AND SID <> ALL (SELECT ID FROM BREP_ORDER_0 )); CURSOR C6 IS SELECT RID, TYPE FROM BREP_3D_ROOMTYPE WHERE SID IN (SELECT DISTINCT SID FROM BREP_3D_SOLID WHERE FACES IN (SELECT FACES FROM BREP_3D_SOLID WHERE SID IN (SELECT ID FROM BREP_ORDER_5)) AND SID <> ALL (SELECT ID FROM BREP_ORDER_5) AND SID <> ALL (SELECT ID FROM BREP_ORDER_4 )); BEGIN FOR y IN 1..300 FOR x IN 1..6 IF (x=1) THEN OPEN C1; FETCH C1 INTO VSID, VTYPE; EXIT WHEN C1%notfound; INSERT INTO BREP_ORDER_1 (ID, BREP_ORDER, TYPE) VALUES (VSID, x, VTYPE); CLOSE C1; INSERT INTO BREP_ORDER_0 (ID, BREP_ORDER) VALUES (RANSID, 0); ELSIF (x=2) THEN OPEN C2; FETCH C2 INTO VSID, VTYPE; EXIT WHEN C2%notfound; INSERT INTO BREP_ORDER_2 (ID, BREP_ORDER, TYPE) VALUES (VSID, x, VTYPE); CLOSE C2; END; / -- 3D NET adjacency_ordering DECLARE VSID VARCHAR2(10); VTYPE VARCHAR2(16); RANSID VARCHAR2(5) :='s' TO_CHAR(ROUND(DBMS_RANDOM.VALUE (1001, 1046),0)); CURSOR C1 IS SELECT SID, TYPE FROM NET_3D_ROOMTYPE WHERE SID IN (SELECT BEG FROM NET_3D_ADJACENCY2 WHERE END = RANSID); CURSOR C2 IS SELECT SID, TYPE FROM NET_3D_ROOMTYPE WHERE SID IN (SELECT BEG FROM NET_3D_ADJACENCY2 WHERE END IN (SELECT ID FROM NET_ORDER_1)) AND SID<>ALL(SELECT ID FROM NET_ORDER_1) AND SID<>ALL(SELECT ID FROM NET_ORDER_0); CURSOR C6 IS SELECT SID, TYPE FROM NET_3D_ROOMTYPE WHERE SID IN (SELECT BEG FROM NET_3D_ADJACENCY2 WHERE END IN (SELECT ID FROM NET_ORDER_5)) AND SID<>ALL(SELECT ID FROM NET_ORDER_5) AND SID<>ALL(SELECT ID FROM NET_ORDER_4); BEGIN FOR y IN 1..1 FOR x IN 1..6 IF (x=1) THEN OPEN C1; FETCH C1 INTO VSID, VTYPE; EXIT WHEN C1%notfound; INSERT INTO NET_ORDER_1 (ID, NET_ORDER, TYPE) VALUES (VSID, x, VTYPE); CLOSE C1; INSERT INTO NET_ORDER_0 (ID, NET_ORDER) VALUES (RANFID, 0); ELSIF (x=2) THEN OPEN C2; FETCH C2 INTO VSID, VTYPE; EXIT WHEN C2%notfound; INSERT INTO NET_ORDER_2 (ID, NET_ORDER, TYPE) VALUES (VSID, x, VTYPE); CLOSE C2; END; /

97 -- 3D Brep connectivity_ordering DECLARE VSID VARCHAR2(5); RANSID VARCHAR2(10) :='s' TO_CHAR(ROUND(DBMS_RANDOM.VALUE (1001, 1046),0)); CURSOR C1 IS SELECT DISTINCT SID FROM BREP_3D_SOLID WHERE FACES IN (SELECT FID FROM BREP_3D_DOOR, BREP_3D_SOLID HERE BREP_3D_DOOR.FID = BREP_3D_SOLID.FACES AND SID = RANSID AND DOOR = 'y') AND SID <> RANSID; CURSOR C2 IS SELECT DISTINCT SID FROM BREP_3D_SOLID WHERE FACES IN (SELECT FID FROM BREP_3D_DOOR, BREP_3D_SOLID WHERE BREP_3D_ DOOR.FID = BREP_3D_SOLID.FACES AND SID IN (SELECT ID FROM BREP_ORDER_1) AND DOOR = 'y') AND SID <> ALL(SELECT ID FROM BREP_ORDER_1) AND SID <> all(select ID FROM BREP_ORDER_0); CURSOR C10 IS SELECT DISTINCT SID FROM BREP_3D_SOLID WHERE FACES IN (SELECT FID FROM BREP_3D_DOOR, BREP_3D_SOLID WHERE BREP_3D_DOOR.FID = BREP_3D_SOLID.FACES AND SID IN (SELECT ID FROM BREP_ORDER_9) AND DOOR = 'y') AND SID <> ALL(SELECT ID FROM BREP_ORDER_9) AND SID <> all(select ID FROM BREP_ORDER_8); BEGIN FOR y IN 1..1 loop FOR x IN 1..10 IF (x=1) THEN OPEN C1; FETCH C1 INTO VSID; EXIT WHEN C1%notfound; INSERT INTO BREP_ORDER_1 (ID, BREP_ORDER) VALUES (VSID, x); CLOSE C1; INSERT INTO BREP_ORDER_0 (ID, BREP_ORDER) VALUES ('s1011', 0); ELSIF (x=2) THEN OPEN C2; FETCH C2 INTO VSID; EXIT WHEN C2%notfound; INSERT INTO BREP_ORDER_2 (ID, BREP_ORDER) VALUES (VSID, x); CLOSE C2; END; /

98 -- 3D NET connectivity_ordering DECLARE VSID VARCHAR2(10); VTYPE VARCHAR2(16); RANSID VARCHAR2(10) :='s' TO_CHAR(ROUND(DBMS_RANDOM.VALUE (1001, 1046),0)); CURSOR C1 IS SELECT SID, TYPE FROM NET_3D_ROOMTYPE WHERE SID IN (SELECT BEG FROM NET_3D_CONNECTIVITY2 WHERE END = RANSID); CURSOR C2 IS SELECT SID, TYPE FROM NET_3D_ROOMTYPE WHERE SID IN (SELECT BEG FROM NET_3D_CONNECTIVITY2 WHERE END IN (SELECT ID FROM NET_ORDER_1)) AND SID<>ALL(SELECT ID FROM NET_ORDER_1) AND SID<>ALL(SELECT ID FROM NET_ORDER_0); CURSOR C10 IS SELECT SID, TYPE FROM NET_3D_ROOMTYPE WHERE SID IN (SELECT BEG FROM NET_3D_CONNECTIVITY2 WHERE END IN (SELECT ID FROM NET_ORDER_9)) AND SID<>ALL(SELECT ID FROM NET_ORDER_9) AND SID<>ALL(SELECT ID FROM NET_ORDER_8); BEGIN FOR y IN 1..1 FOR x IN 1..10 IF (x=1) THEN OPEN C1; FETCH C1 INTO VSID, VTYPE; EXIT WHEN C1%notfound; INSERT INTO NET_ORDER_1 (ID, NET_ORDER, TYPE) VALUES (VSID, x, VTYPE); CLOSE C1; INSERT INTO NET_ORDER_0 (ID, NET_ORDER) VALUES (RANSID, 0); ELSIF (x=2) THEN OPEN C2; FETCH C2 INTO VSID, VTYPE; EXIT WHEN C2%notfound; INSERT INTO NET_ORDER_2 (ID, NET_ORDER, TYPE) VALUES (VSID, x, VTYPE); CLOSE C2; END; /

99

100

101