Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6524128
  • 博文数量: 1005
  • 博客积分: 8199
  • 博客等级: 中将
  • 技术积分: 13071
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 20:19
个人简介

脚踏实地、勇往直前!

文章分类

全部博文(1005)

文章存档

2020年(2)

2019年(93)

2018年(208)

2017年(81)

2016年(49)

2015年(50)

2014年(170)

2013年(52)

2012年(177)

2011年(93)

2010年(30)

分类: Oracle

2011-06-21 13:30:20

1.DRIVING_SITE
The 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.
 
SELECT /*+ DRIVING_SITE(departments) */ *
FROM employees, departments@rsite
WHERE employees.department_id = departments.department_id;

In the above example, optimizer will use the tables of "rsite" and query will be executed at "rsite" database.
阅读(2364) | 评论(0) | 转发(0) |
0

上一篇:undo相关

下一篇:redo相关

给主人留下些什么吧!~~