dbTalk Databases Forums  

Big databases vs small databases

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Big databases vs small databases in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sugrue, Sean
 
Posts: n/a

Default Big databases vs small databases - 02-17-2004 , 03:46 PM






Stupid question. Does it take longer to add records to a large database as oppose to a smaller one?
Intuitively I would think so, but I just don't know reason. Has anyone performed any tests to find out
if its a linear relationship or does it go up exponentially?







Reply With Quote
  #2  
Old   
Wim
 
Posts: n/a

Default Re: Big databases vs small databases - 02-18-2004 , 01:55 AM






Hi Sean,

It depends on how your table is build. If it is a table without indexes
and constraints, it doesn't matter how big your DB is. It also depends on
how you insert them: an insert takes longer than a copy and if you use
insert it takes longer if you have autocommit enabled.
I have tables that I fill with the copy command. Those tables contain more
than 160 million records and it still goes quite fast.

I hope that I'm right, because these are only thoughts. I didn't perform
any tests. The specialists may correct me if I'm wrong :-)
If I'm right, it was my pleasure to help you :-)

Cheers!

Wim

On Tue, 17 Feb 2004, Sugrue, Sean wrote:

Quote:
Stupid question. Does it take longer to add records to a large database as oppose to a smaller one?
Intuitively I would think so, but I just don't know reason. Has anyone performed any tests to find out
if its a linear relationship or does it go up exponentially?






---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.