Unix Technical Forum

Splitting tables or databases? That's the problem

This is a discussion on Splitting tables or databases? That's the problem within the Pgsql General forums, part of the PostgreSQL category; --> On a 128MB RAM, 450 MHz pentium 3 server with linux gentoo and postgresql 7.4.6 on an office lan ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 08:51 PM
v.demartino2@virgilio.it
 
Posts: n/a
Default Splitting tables or databases? That's the problem

On a 128MB RAM, 450 MHz pentium 3 server with linux gentoo and postgresql
7.4.6 on an office lan we can manage satisfactorily a db containing few
tables with a cumbersome amount of data (each table is around 650 thousand
records with 98 columns) relating to the year 2002.
We use M$-Access and ODBC to access those data.
Now similar data and amounts of records for the year 2003 need to be added.
Then queries to contrast 2003 data vs. 2002 ones will be needed.

In view of the poor hardware at our disposal, is it better from the standpoint
of efficiency to:

1) Create a new database for 2003 with the same structure of that for 2002;
2) Appending new 2003 data to 2002 data in the same tables;
3) Creating in the original database new, separate tables to contain data
for 2003.

Thanks
Vittorio


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 08:51 PM
Greg Patnude
 
Posts: n/a
Default Re: Splitting tables or databases? That's the problem

Get a better computer to run it on.... in teh long-term -- that will be your
best investment....



<v.demartino2@virgilio.it> wrote in message
news:420008E50004F793@ims3e.cp.tin.it...
> On a 128MB RAM, 450 MHz pentium 3 server with linux gentoo and postgresql
> 7.4.6 on an office lan we can manage satisfactorily a db containing few
> tables with a cumbersome amount of data (each table is around 650 thousand
> records with 98 columns) relating to the year 2002.
> We use M$-Access and ODBC to access those data.
> Now similar data and amounts of records for the year 2003 need to be
> added.
> Then queries to contrast 2003 data vs. 2002 ones will be needed.
>
> In view of the poor hardware at our disposal, is it better from the
> standpoint
> of efficiency to:
>
> 1) Create a new database for 2003 with the same structure of that for
> 2002;
> 2) Appending new 2003 data to 2002 data in the same tables;
> 3) Creating in the original database new, separate tables to contain data
> for 2003.
>
> Thanks
> Vittorio
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com