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 

How many records a ClientDataSet can get from a local file u

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Marcelo Colonna Rosman
Guest





PostPosted: Wed May 16, 2007 5:58 pm    Post subject: How many records a ClientDataSet can get from a local file u Reply with quote



Hi,

I am using a Master ClientDataset with a chain of nested datasets (Detail
clientdatasets).

The Master ClientDataset loads and saves the data from and to a local file
using MyBase.

Until now, I do not have the intention to use InterBase.

It will depend on the answer for the following question:

I know that the clientdataset loads all the records from the local file to
the memory.

Is there any limitation on the maximum number of records that a
clientdataset can retrieve or save to a local file ?

Is the available memory the unique limitation ?

Thank you for any answer.

Marcelo.
Back to top
Bill Todd
Guest





PostPosted: Wed May 16, 2007 7:20 pm    Post subject: Re: How many records a ClientDataSet can get from a local fi Reply with quote



Marcelo Colonna Rosman wrote:

Quote:
I know that the clientdataset loads all the records from the local
file to the memory.

Is there any limitation on the maximum number of records that a
clientdataset can retrieve or save to a local file ?

For the CDS the limit is available memory. For the file the limit is
available disk space.

Quote:

Is the available memory the unique limitation ?

I don't understand what you mean by "unique". Available memory is the
limitation assuming you are using D2006 or later.

--
Bill Todd (TeamB)
Back to top
Marcelo Colonna Rosman
Guest





PostPosted: Fri May 18, 2007 7:04 pm    Post subject: Re: How many records a ClientDataSet can get from a local fi Reply with quote



Bill,

Thak you for your answer.

By "unique" limitation I want to mean that:

1) The clientdataset does not have any limitation on the number or records
it can retrieve from the local file.

2) The maximum number of records that the clientdataset can retrieve from
the file depends only on the available memory. On other words, only the
available memory limits the maximum number of records the clientdataset can
access and manipulate.

Best regards,

Marcelo.

"Bill Todd" <no (AT) no (DOT) com> wrote in message
news:464b134a$1 (AT) newsgroups (DOT) borland.com...
Quote:
Marcelo Colonna Rosman wrote:

I know that the clientdataset loads all the records from the local
file to the memory.

Is there any limitation on the maximum number of records that a
clientdataset can retrieve or save to a local file ?

For the CDS the limit is available memory. For the file the limit is
available disk space.


Is the available memory the unique limitation ?

I don't understand what you mean by "unique". Available memory is the
limitation assuming you are using D2006 or later.

--
Bill Todd (TeamB)
Back to top
Bill Todd
Guest





PostPosted: Fri May 18, 2007 8:34 pm    Post subject: Re: How many records a ClientDataSet can get from a local fi Reply with quote

Marcelo Colonna Rosman wrote:

Quote:
The maximum number of records that the clientdataset can retrieve
from the file depends only on the available memory.

AFAIK that is correct.

--
Bill Todd (TeamB)
Back to top
Dmitry Arefiev
Guest





PostPosted: Fri May 18, 2007 8:40 pm    Post subject: Re: How many records a ClientDataSet can get from a local fi Reply with quote

Quote:
The maximum number of records that the clientdataset can retrieve
from the file depends only on the available memory.
AFAIK that is correct.

Abstractly speaking - yes, it is. But after 10,000 records (or less)
CDS is getting very slow one some of operations, like a inserting,
deleting, updating.

Regards,
Dmitry

--
Dmitry Arefiev - www.da-soft.com
AnyDAC - Oracle, MySQL, MSSQL, MSAccess, IBM DB2, Sybase
ASA, DbExpress, ODBC freeware data access engine
ThinDAC - multitier data access engine
Back to top
Marcelo Colonna Rosman
Guest





PostPosted: Fri May 18, 2007 10:12 pm    Post subject: Re: How many records a ClientDataSet can get from a local fi Reply with quote

Thank you for your answer.

Marcelo.

"Dmitry Arefiev" <darefiev@da-soft.com> wrote in message
news:464dc8ce (AT) newsgroups (DOT) borland.com...
Quote:
The maximum number of records that the clientdataset can retrieve
from the file depends only on the available memory.
AFAIK that is correct.

Abstractly speaking - yes, it is. But after 10,000 records (or less)
CDS is getting very slow one some of operations, like a inserting,
deleting, updating.

Regards,
Dmitry

--
Dmitry Arefiev - www.da-soft.com
AnyDAC - Oracle, MySQL, MSSQL, MSAccess, IBM DB2, Sybase
ASA, DbExpress, ODBC freeware data access engine
ThinDAC - multitier data access engine
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) 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.