eCasper
2010-03-18 11:03:06 UTC
Hi Everyone!
I'm facing an awful performance issue.
I create a READWRITE cursor (say fTmpDumCursor) over 100,000 records &
Indexed in the init event of the form.
Also I've a grid on the form and it's populated by a physical table (say
fDumTable) which contains 51000 records and optimistic row buffering is on.
When I set a filter for the above table (fDumTable), grid takes about 10
seconds to get refreshed.
But when I get rid of creating the cursor (fTmpDumCursor), the grid takes
only about 2 seconds to get refreshed.
Please consider that same expression has been used for filtering the table
and the fTmpDumCursor is nowhere else has been used though it's created.
Also this happens only when the form is loaded and the filter is applied for
as the first time only.
Can anyone give me a better explanation for what is exacting happening here?
Thanks in Advance.
I'm facing an awful performance issue.
I create a READWRITE cursor (say fTmpDumCursor) over 100,000 records &
Indexed in the init event of the form.
Also I've a grid on the form and it's populated by a physical table (say
fDumTable) which contains 51000 records and optimistic row buffering is on.
When I set a filter for the above table (fDumTable), grid takes about 10
seconds to get refreshed.
But when I get rid of creating the cursor (fTmpDumCursor), the grid takes
only about 2 seconds to get refreshed.
Please consider that same expression has been used for filtering the table
and the fTmpDumCursor is nowhere else has been used though it's created.
Also this happens only when the form is loaded and the filter is applied for
as the first time only.
Can anyone give me a better explanation for what is exacting happening here?
Thanks in Advance.