The complete answer is probably "it depends", but this does not help much...:-)

I would try out the simple approach first (i.e one 50 million row table), but read up about :

i) partial indexes and maybe
ii) clustering
iii) think about presorting the data before loading to place "likely to be accessed" rows "close" together in the table (if possible).
iv) get to know the analyze, explain, explain analyze commands....

Best wishes


Michael Ryan S. Puncia wrote:

Hi Guys,

      My question is .. which is better design

   1. Single Table with 50 million records or
   2. Multiple Table using inheritance to the parents table

I will use this only for query purpose ..

Thanks ..

---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to