Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thousands of trips to a table
Message
From
09/05/2005 10:56:16
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Thousands of trips to a table
Miscellaneous
Thread ID:
01012173
Message ID:
01012173
Views:
64
Hello,

I have a database that uses a table to keep the keys of items selected to build a structure (through a treeview). Some of these structure can contain up to 5000 items.

My problem is that I need to export these structures to external systems ... not only the keys but also related infos (name, description, etc...). So in order to export I need to fetch the items table 5000 times to get these infos. This is taking a long time (even if item key is the primary on the item table).

I tried putting the table table Items in a recordset (in memory) and use the Filter method ... but it was even slower.

I'm thinking about denormalization of the table to export and put the related infos there but before that I was wondering if there was other solutions.

Is there another way to do this so I will reduce my export time ?
Ben Rail
Business Solutions
LOGI.design
Reply
Map
View

Click here to load this message in the networking platform