일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- oracle datapump
- oracle supplemental
- oracle pdb
- Oracle Database
- mssql database 삭제
- oracle awr
- oracle install
- ora-00439: feature not enabled: partitioning
- oracle
- SSMS
- oracle account_status expired
- oracle role 삭제
- sql user 생성
- oracle dba_profile password_life_time
- oracle 파티션 datapump
- Oracle RAC
- oracle system lock
- MSSQL
- supplemental log 활성화
- ora-28002: the password will expire within 7 days
- SQL Server
- oracle 테스트 데이터
- oracleasm
- oracle SCN
- create role
- 오라클
- partition_options=merge
- ora-39083 ora-00439
- oracle tde
- ORA-00020
Archives
- Today
- Total
신문지한장
[SQL튜닝] 옵티마이저 힌트 사용 방법
1. 힌트 주는 방법 (1)select /*+ INDEX(A 고객_PK) */ 고객명, 연락처, 주소, 가입일시 from 고객 A where 고객ID = '000008' 2. 힌트 주는 방법(2)select --+ INDEX(A 고객_PK) 고객명, 연락처, 주소, 가입일시 from 고객 A where 고객ID = '000008'- 2번째 방법은 코딩하는 과정에서 줄바꿈 오류가 발생할 수 있음 3. 주의사항우선, 힌트 안에 인자를 나열할 땐 ',' (콤마)를 사용할 수 있지만, 힌트와 힌트 사이에 사용하면 안됨/*+ INDEX(A A_X01) INDEX(B, B_03) */ -> 모두 유효/*+ INDEX(C), FULL(D) */ -> 첫 번째 힌트만 유효 테..
Oracle/sql&script
2024. 8. 6. 17:06