Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
recordset loaded multiple time?
Migrateduser
Hi everyone,
I'm curious. I happen to have a report with three datacubes which is hopelessly slow when the dataset doesn't return any value (we're talking about a jump from 15 seconds when there's actual data to 3 minutes when there's nothing to display, I clocked it). The stored procedure takes a constant time of 15 seconds to execute, no matter the case, so the problem obviously doesn't lie there.
In frustration, I started poking around and eventually put a counter on the "BeforeOpen" event of the recordset... only to discover it's opened three times. So does this mean the query in the recordset is executed three times!? If I'm right, that's whoefully inefficient, wouldn't you think?
So in any case, does anyone have any idea why everything is so slow and also if the fact that the dataset is opened three times mean the data is actually fetched three times too?
Thanks in advance,
Osu
Find more posts tagged with
Comments
There are no comments yet