|
|
|
Не используется индекс по dblink
|
|||
|---|---|---|---|
|
#18+
Имеется запрос Код: plsql 1. 2. 3. 4. 5. Т.е. выбираем данные из table1 и пытаемся найти те, которых нет в table2 по индексу на поле field3 Но по факту table2 фуллсканится, почему? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.03.2017, 16:49 |
|
||
|
Не используется индекс по dblink
|
|||
|---|---|---|---|
|
#18+
Петров Андрей, CARDINALITY + USE_NL (или event 10053 - там всё будет) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.03.2017, 17:07 |
|
||
|
Не используется индекс по dblink
|
|||
|---|---|---|---|
|
#18+
Петров Андрей, Используйте хинт DRIVING_SITE Oracle® Database SQL Language Reference 12c Release 2 (12.2) E49448-12The DRIVING_SITE hint instructs the optimizer to execute the query at a different site than that selected by the database. This hint is useful if you are using distributed query optimization. For example: Код: plsql 1. 2. 3. 4. If this query is executed without the hint, then rows from departments are sent to the local site, and the join is executed there. With the hint, the rows from employees are sent to the remote site, and the query is executed there and the result set is returned to the local site. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.04.2017, 01:50 |
|
||
|
|

start [/forum/topic.php?fid=52&fpage=169&tid=1886176]: |
0ms |
get settings: |
8ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
58ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 203ms |
| total: | 343ms |

| 0 / 0 |
