pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedview performance
3+ messages / 3 participants
[nested] [flat]
* view performance
@ 2000-06-14 12:26 Loïc TREGOUËT <loic@ext.cri74.org>
0 siblings, 0 replies; 3+ messages in thread
From: Loïc TREGOUËT @ 2000-06-14 12:26 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: view performance
@ 2000-06-14 14:16 Michael Ansley <Michael.Ansley@intecsystems.co.uk>
2000-06-15 15:03 ` RE: view performance Mario Amado Alves <maa@di.fct.unl.pt>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Ansley @ 2000-06-14 14:16 UTC (permalink / raw)
To: 'Loïc TREGOUËT' <loic@ext.cri74.org>; pgsql-admin
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ïc TREGOUËT [mailto:loic@ext.cri74.org]
>> Sent: 14 June 2000 13:26
>> To: pgsql-admin@postgresql.org
>> Subject: [ADMIN] view performance
>>
>>
>> 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
>>
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: view performance
2000-06-14 14:16 RE: view performance Michael Ansley <Michael.Ansley@intecsystems.co.uk>
@ 2000-06-15 15:03 ` Mario Amado Alves <maa@di.fct.unl.pt>
0 siblings, 0 replies; 3+ messages in thread
From: Mario Amado Alves @ 2000-06-15 15:03 UTC (permalink / raw)
To: Michael Ansley <Michael.Ansley@intecsystems.co.uk>; +Cc: =??Q?'Lo=EFc_TREGOU=CBT'?= <loic@ext.cri74.org>; pgsql-admin
> If your tables are indexed on date, among other things, the performance
> should be as good as it is now.
Nop. My experience with Postgres views has shown that the views must
themselves be indexed.
>
> >> -----Original Message-----
> >> From: Loïc TREGOUËT [mailto:loic@ext.cri74.org]
> >> Sent: 14 June 2000 13:26
> >> To: pgsql-admin@postgresql.org
> >> Subject: [ADMIN] view performance
> >>
> >>
> >> 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
> >>
>
| |,| | | |RuaFranciscoTaborda24RcD 2815-249CharnecaCaparica 351+939354002
|M|A|R|I|O|
|A|M|A|D|O|DepartmentoDeInformaticaFCT/UNL 2825-114 Caparica 351+212958536
|A|L|V|E|S| fax 212948541
| | | | | | maa@di.fct.unl.pt FCT 212948300
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-06-15 15:03 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-06-14 12:26 view performance Loïc TREGOUËT <loic@ext.cri74.org>
2000-06-14 14:16 RE: view performance Michael Ansley <Michael.Ansley@intecsystems.co.uk>
2000-06-15 15:03 ` Mario Amado Alves <maa@di.fct.unl.pt>
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