是“针对 ALL_SYNONYMS 选择在 10g 版本 10.2 上表现不佳 [ID377037.1]”吗? Oracle 11.2.0.1 已修复吗?
我在 Metalink 文章 [ID377037.1] 中指出该问题适用于 Oracle 10.2.0.1 至 10.2.0.4,但该问题没有解决方案。有谁知道这个问题在 Oracle 11.2.0.1 上是否已修复?
The metalink article [ID377037.1] I have states that the issue applies to Oracle 10.2.0.1 to 10.2.0.4 but there is no resolution to the issue. Does anyone know if this issue is fixed on Oracle 11.2.0.1?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
显然不是,9.2版本仍然更快。但差别并不大,如果您非常担心性能,那么看起来 DBA_SYNONYMS 几乎一样快。 (但是在授予对 DBA_ 视图的访问权限之前,您需要仔细考虑。)
这些数据字典对象的性能波动很大,这里的时间是非常粗略的估计:
Apparently not, the 9.2 version is still faster. But the difference isn't large, and if you're very worried about performance it looks like DBA_SYNONYMS is almost as fast. (But you'd want to think carefully before granting access to DBA_ views.)
The performance of these data dictionary objects fluctuate wildly, the times here are very rough estimates:
Metalink 文档 ID 1242844.1 表示 11.2.0.1 和 11.2.0.2 中的 ALL_SYNONYMS 性能不佳已在 11.2.0.3 中得到修复。该文档还提供了 DDL,以将 11.2.0.3 视图改造为早期版本。
Metalink Doc ID 1242844.1 says poor performance of ALL_SYNONYMS in 11.2.0.1 and 11.2.0.2 is fixed in 11.2.0.3. The document also provides the DDL to retrofit the 11.2.0.3 view to the earlier releases.
它在 11.2.0.3 中没有修复,我们正在运行 11.2.0.3.6 并遇到 ALL_SYNONYMS 问题。 Toad 在启动时查询 ALL_SYNONYMS,并且 Toad 用户抱怨升级后的连接时间。我发现如果将 RULE 提示添加到视图中,它会极大地提高性能。在我们的例子中,时间从 30 秒减少到 4 秒。
It's not fixed in 11.2.0.3, we are running 11.2.0.3.6 and getting problems with ALL_SYNONYMS. Toad queries ALL_SYNONYMS when it starts and the Toad users are complaining about connection time since the upgrade. I've found that if you add the RULE hint to the view it improves the performance massively. In our case down from 30secs to 4secs.