Received: from intec003.intecsystems ([194.200.14.121]) by hub.org (8.10.1/8.10.1) with ESMTP id e5EEHuZ73767 for ; Wed, 14 Jun 2000 10:17:56 -0400 (EDT) Received: by INTEC003 with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Jun 2000 15:16:37 +0100 Message-ID: <2D50E16224C8D311B183009027452B476AFCC8@INTEC003> From: Michael Ansley To: =?iso-8859-1?Q?=27Lo=EFc_TREGOU=CBT=27?= , pgsql-admin@postgresql.org Subject: RE: view performance Date: Wed, 14 Jun 2000 15:16:34 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFD60B.26793448" X-Archive-Number: 200006/87 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BFD60B.26793448 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If your tables are indexed on date, among other things, the performance should be as good as it is now. MikeA >> -----Original Message----- >> From: Lo=EFc TREGOU=CBT [mailto:loic@ext.cri74.org] >> Sent: 14 June 2000 13:26 >> To: pgsql-admin@postgresql.org >> Subject: [ADMIN] view performance >>=20=20=20 >>=20=20=20 >> Hello , >>=20=20=20 >> I use a database to store log files . I have 2 Million=20 >> rows by year >> . >> I want the maximum of performance when i access them from=20 >> my web site so >> i've started to make one table by year : >> log2000 : contain all the log information of the year 2000 >> log 1999 : .. >>=20=20=20 >> I think now it's a bad idea because when i want to select=20 >> on two table i >> have : >> column x is ambiguous ! >>=20=20=20 >> But if i use only one table , it will be a huge table i will lose >> performance . Isn't it ? >>=20=20=20 >> If i use view , i will not increase the performance=20 >> because it's just a >> view and not a table properly . Isn't it ? >>=20=20=20 >> Please help me , thanks >>=20=20=20 >>=20=20=20 >> loic@ext.cri74.org >>=20=20=20 ------_=_NextPart_001_01BFD60B.26793448 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [ADMIN] view performance

If your tables are indexed on date, among other things, t= he performance should be as good as it is now.

MikeA


>>   -----Original Message-----
>>   From: Lo=EFc TREGOU=CBT [mailto:loic@ext.cri74.org]
>>   Sent: 14 June 2000 13:26
>>   To: pgsql-admin@postgresql.org
>>   Subject: [ADMIN] view performance
>>  
>>  
>>   Hello ,
>>  
>>       I use a dat= abase to store log files . I have 2 Million
>>   rows by year
>>   .
>>   I want the maximum of performance w= hen i access them from
>>   my web site so
>>   i've started to make one table by y= ear :
>>   log2000 : contain all the log infor= mation of the year 2000
>>   log 1999 : ..
>>  
>>   I think now it's a bad idea because= when i want to select
>>   on two table i
>>   have :
>>   column x is ambiguous !
>>  
>>   But if i use only one table , it wi= ll be a huge table i will lose
>>   performance . Isn't it ?
>>  
>>   If i use view , i will not increase= the performance
>>   because it's just a
>>   view and not a table properly . Isn= 't it ?
>>  
>>        =        Please help me   , thanks
>>  
>>  
>>   loic@ext.cri74.org
>>  

------_=_NextPart_001_01BFD60B.26793448--