문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
dbms:oracle:concept:dblink [2010/02/24 00:26] starlits 새로 만듦 |
dbms:oracle:concept:dblink [2010/02/24 00:47] (현재) starlits |
||
---|---|---|---|
줄 5: | 줄 5: | ||
- 그 제한을 알고 제대로 활용해보자. | - 그 제한을 알고 제대로 활용해보자. | ||
- | ===== Oracle에서 remote database query 하는 중요 포인트 ===== | + | ===== Oracle에서 remote database query 하는 중요 포인트 |
- | - Aggregate functions like MAX(), COUNT() are NOT passed across the net but rather are performed on the local node. | + | - Aggregate functions like MAX(), COUNT() are NOT passed across the net but rather are performed on the local node. \\ : **MAX(), |
- | - Expressions in the SELECT list are decomposed into columns and evaluated when the data is retrieved. | + | - Expressions in the SELECT list are decomposed into columns and evaluated when the data is retrieved. |
- | - Only a relevant subset of columns are fetched across the net. | + | - Only a relevant subset of columns are fetched across the net. \\ : ** 컬럼의 서브셋만이 패치(fetch)될 수 있다.** |
- | - An expression in a WHERE clause is passed across to the remote database if it compares the remote column to a literal (eg ename = ' | + | - An expression in a WHERE clause is passed across to the remote database if it compares the remote column to a literal (eg ename = ' |
- Expressions in a WHERE clause are passed to the remote database if all columns are in the expression are located in the same remote table the remote database (eg emp.sal * 0.20 > emp.bonus) | - Expressions in a WHERE clause are passed to the remote database if all columns are in the expression are located in the same remote table the remote database (eg emp.sal * 0.20 > emp.bonus) | ||
- Datatype conversion functions like TO_CHAR() in a WHERE clause are subject to the conditions in #4 and #5. | - Datatype conversion functions like TO_CHAR() in a WHERE clause are subject to the conditions in #4 and #5. | ||
- The optimizer only has knowledge of local indexes when making decisions about how to execute a query. | - The optimizer only has knowledge of local indexes when making decisions about how to execute a query. | ||
- Remote indexes can be still be used to resolve the decomposed query sent to the remote database. | - Remote indexes can be still be used to resolve the decomposed query sent to the remote database. | ||
- | - GROUP BY is not sent to the remote database. | + | - GROUP BY is not sent to the remote database. |
- | - ORDER BY is not sent to the remote database. | + | - ORDER BY is not sent to the remote database. |