BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use TKbmMemtable in memory tables

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Lluis Olle
Guest





PostPosted: Tue Dec 16, 2003 10:01 pm    Post subject: Use TKbmMemtable in memory tables Reply with quote



Hi

I highly suggest you to give a try using Kid Madsen kbmMemTable Free
component for Batch processing complex SQL querys, splittng those in several
easy to follow and logical steps.

Basically, whit this "in memory Table" component, you can do a
..LoadFromDataset from TADODataset(s) into KbmMemtable(s), define apropiate
indexes into those memory tables, and play using highly efficient indexed
accesing, ranges, ... and so on, what is your old Btrieve application is
doing just now. 150.000 records is not too much ... I usually work with more
than that in my everyday batch jobs.

Use server fastforwardonly cursors in the TADODatasets, because you only
want those for feeding the in memory tables.

I'm absolutely confident that you can reduce the processing time, not from
the "hours" is taking now, but to less that a half it uses with Btrieve (and
that's my experience), as Btrieve is not specially efficient.

Regards


Back to top
Lluis Olle
Guest





PostPosted: Tue Dec 16, 2003 10:03 pm    Post subject: Re: Sorry, was in response of TADODataset VERY SLOW wih MS S Reply with quote



Sorry

My previous message was in response to another thread, titled . "TADODataset
VERY slow with MS SQL ..."


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.