简体   繁体   English

水晶报告性能问题

[英]crystal reports performance issue

I have report getting data from MySQL and Oracle.I developed the report and my report is running with poor performance. 我有报告从MySQL和Oracle获取数据,我开发了该报告,并且我的报告运行性能很差。 Somebody suggested me to use db links between MySQL and oracle to pull columns from oracle into MySQL. 有人建议我使用MySQL和oracle之间的数据库链接将列从oracle拉入MySQL。 What will happen if use db link.Will it improves performance Please sugggest 如果使用db link会发生什么情况,它将提高性能请建议

You should post some info to get help: number of rows and columns involved, structure of the query. 您应该发布一些信息以获取帮助:涉及的行数和列数,查询的结构。

Anyway some suggestions: 无论如何,一些建议:
- not to filter in the report, but filter passing parameters to the query, when possible -不过滤报表,而是尽可能过滤传递给查询的参数
- not to group in the report but group in the query when possible -不在报告中分组,但在可能的情况下在查询中分组
- use indexes in the DB to speed up queries -使用数据库中的索引来加速查询
- exclude fields not used in the report -排除报告中未使用的字段

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM