Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One table causing a crystal report to run extremely slow, but only in BOE

Status
Not open for further replies.

crogers111

Technical User
Jan 23, 2004
158
US
BOE XI
CR XI
SQL 2005 OLE DB (ADo)

I have tested various scenarios and it appears that the problem is specific to a certain table & BOE.

- Report runs in 5 seconds in CR from my desktop
- Report runs in 5+ seconds in a VB custom app.
- Report took 12 hrs to run in BOE
- Table originates in separate DB on same server. Originally had DBA create a synonym to this table, but still slow
- Table was copied to the same DB as other tables and report was set to use copied table, linked to one other table with a LOJ...still slow (12hr)
- Removed table and report runs in seconds in BOE
- DBA adjusted a Varchar field that was set at MAX size to 20 characters...still slow
- Many other reports using other tables in the same DB and across other DBs on this server run fine.
- Tried a different report that runs in seconds on my PC and it still took 15+ mins to run in BOE.

Table is small with only about 20 columns and <100 rows of data so it makes me think there is something with its designor the connection to it that BOE doesn't like, but neither me or the DBA can find anything...

Any thoughts or ideas are apprecieated.
 
Thanks for the tip, I didnt' get a chance to try it but will keep it in mind next time.
I reworked the report to use a command and the report runs and is delivered in a few seconds.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top