Received: from aravis.cur-archamps.fr (aravis.cur-archamps.fr [195.202.0.99]) by hub.org (8.10.1/8.10.1) with ESMTP id e5ECQKT19339 for ; Wed, 14 Jun 2000 08:26:20 -0400 (EDT) Received: from pc01.cri.cur-archamps.fr (pc01.cri.cur-archamps.fr [10.10.10.2]) by aravis.cur-archamps.fr (8.9.3/8.9.3) with ESMTP id OAA15531 for ; Wed, 14 Jun 2000 14:26:12 +0200 Received: from ext.cri74.org (localhost [127.0.0.1]) by pc01.cri.cur-archamps.fr (8.9.3/8.9.3) with ESMTP id OAA05113 for ; Wed, 14 Jun 2000 14:26:11 +0200 Message-ID: <394779E3.AA9FB80A@ext.cri74.org> Date: Wed, 14 Jun 2000 14:26:11 +0200 From: =?iso-8859-1?Q?Lo=EFc=20TREGOU=CBT?= X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: fr-FR, en MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: view performance Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200006/86 Hello , I use a database to store log files . I have 2 Million rows by year . I want the maximum of performance when i access them from 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 : .. 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 will 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