From: Loïc TREGOUËT <loic@ext.cri74.org>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: view performance
Date: Wed, 14 Jun 2000 14:26:11 +0200
Message-ID: <394779E3.AA9FB80A@ext.cri74.org> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: loic@ext.cri74.org
Subject: Re: view performance
In-Reply-To: <394779E3.AA9FB80A@ext.cri74.org>
References: <394779E3.AA9FB80A@ext.cri74.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox