In 1.5, the bottleneck is the ui instantiation. Even though 8.0 was a
massive improvement in instantiation speed it is still probably the
issue in 2.0.

As you noticed, getting the data back is quite fast, so why not load up
a local data store, and then use paging techniques to display the data?
Matt Chotin has a treatment of the large data set issue on his blog.

Also, depending on your use case, consider using a list with a custom
renderer, particularly if you don't need the DataGrid's column
resizing/sorting functionality.

This issue also shows up using a repeater: Rendering 100 complex items
is unbearably slow, while doing 5, with page-up, page-down is blazing.

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of David Harris
Sent: Monday, May 15, 2006 6:07 PM
To: [email protected]
Subject: [flexcoders] Number of records in a Datagrid

Hi,

Does anyone have an idea of how many records in a datagrid are to many?

I have a situation when the Flex2 SWF loads, the it hits the DB and
retrives records.
If I am retriving 100 records it takes about 2 seconds.
If I am retriving 15000 records it takes more than 3 mins, even though
the CFC is completing the call to the DB and returning the records in
2 secs.
I am running all this locally on my system, so network speed issues
are not a consideration.

Anyone else had issues with large queries?

Cheers,

David



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to