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 

SQL query verry slow on network drive

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Jan
Guest





PostPosted: Wed Oct 11, 2006 1:47 pm    Post subject: SQL query verry slow on network drive Reply with quote



Hello,

I have a problem with paradox tables on a network drive and I cannot
change to another database system.
When I run a normal SQL query ( a table with about 300 records) like
"Select * from testtable" on a
local drive, it's run verry fast. When I execute this query on a 100
mbit network connection it takes more than 3 seconds for this query.

I use BCB 5 pro.

Any idea ?

Thanks,
Jan
Back to top
Jayme Jeffman
Guest





PostPosted: Tue Oct 17, 2006 5:28 pm    Post subject: Re: SQL query verry slow on network drive Reply with quote



Hello,

No matter your network has a very good speed, it is always more slowly
than the computer memory bus. So it is a good advice do not use a SQL
select command like "SELECT * FROM table" without a "WHERE" clause
to limit the number of records fetched. It is uncommon the need of all
records from a table.

The more records you fetch, the more traffic you will have on the network!

Components from others vendors, like the ones you may check at
www.crlab.com,
have a property which allow to limit the number of fetched rows, to prevent
this waiting time to show some data on the screen.

HTH

Jayme.

"Jan" <jan (AT) jlcsoft (DOT) com> escreveu na mensagem
news:452cafb0 (AT) newsgroups (DOT) borland.com...
Quote:

Hello,

I have a problem with paradox tables on a network drive and I cannot
change to another database system.
When I run a normal SQL query ( a table with about 300 records) like
"Select * from testtable" on a
local drive, it's run verry fast. When I execute this query on a 100
mbit network connection it takes more than 3 seconds for this query.

I use BCB 5 pro.

Any idea ?

Thanks,
Jan

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) 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.