回复:请教oracle db问题

来源: lidongmei 2014-06-23 12:49:56 [] [博客] [旧帖] [给我悄悄话] 本文已被阅读: 次 (299 bytes)
回答: 请教oracle db问题simplylove2014-06-23 09:17:36

first step is index. You real need to think how to create index based on your query.
becareful of your transaction, try make it as small  as posible.
alter solution is dump data into temporary table, and working on temporary table. This way, usually you do not need cursor.

所有跟帖: 

已经有index了。我们虽然不是data warehouse数据,但数据量很大。再加additional index -simplylove- 给 simplylove 发送悄悄话 simplylove 的博客首页 (224 bytes) () 06/23/2014 postreply 19:16:51

我觉得只能用temp table了。问DBA也不做声 -simplylove- 给 simplylove 发送悄悄话 simplylove 的博客首页 (12 bytes) () 06/23/2014 postreply 19:22:21

回复:已经有index了。我们虽然不是data warehouse数据,但数据量很大。再加additional index -lidongmei- 给 lidongmei 发送悄悄话 lidongmei 的博客首页 (17866 bytes) () 06/24/2014 postreply 09:02:52

Well it is a real time system and the response time is critical. -simplylove- 给 simplylove 发送悄悄话 simplylove 的博客首页 (0 bytes) () 07/07/2014 postreply 20:25:25

Adding additional index will probably have negative impact on ou -simplylove- 给 simplylove 发送悄悄话 simplylove 的博客首页 (0 bytes) () 07/07/2014 postreply 20:26:52

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”