pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedVaccum and 24/7/365 database
6+ messages / 6 participants
[nested] [flat]
* Vaccum and 24/7/365 database
@ 2002-01-09 09:38 Jean-Christophe ARNU <arnu@paratronic.fr>
0 siblings, 0 replies; 6+ messages in thread
From: Jean-Christophe ARNU @ 2002-01-09 09:38 UTC (permalink / raw)
To: pgsql-admin
Hi all,
we use postgresql 7.2 for a data logging/supervisor application running
24 hours a day, 7 days a week and 365 (and 6 hours) a year. Data are
inserted/deleted/updated each 1,5 minutes and for performance reason we
have to vacuum each day some tables. The problem is that vacuum stops
inserts, updates and deletes for the table it performs (well in fact, I
understood this). This way of working for the database does not fit our
needs of 24/7/365 availability. So my question is : is there a way to
get all the things work together (good performances & availability)?
Thanks a lot.
--
Jean-Christophe ARNU
s/w developer
Paratronic France
^ permalink raw reply [nested|flat] 6+ messages in thread
* Vaccum and 24/7/365 database
@ 2002-01-09 10:15 Jean-Christophe ARNU <jc.arnu@free.fr>
2002-01-09 15:40 ` Re: Vaccum and 24/7/365 database Tom Lane <tgl@sss.pgh.pa.us>
2002-01-09 16:16 ` Re: Vaccum and 24/7/365 database Stephan Szabo <sszabo@megazone23.bigpanda.com>
2002-01-09 16:19 ` Re: Vaccum and 24/7/365 database Peter Eisentraut <peter_e@gmx.net>
2002-01-10 00:52 ` Re: Vaccum and 24/7/365 database Naomi Walker <nwalker@eldocomp.com>
0 siblings, 4 replies; 6+ messages in thread
From: Jean-Christophe ARNU @ 2002-01-09 10:15 UTC (permalink / raw)
To: pgsql-admin
Hi all,
we use postgresql 7.2 for a data logging/supervisor application running
24 hours a day, 7 days a week and 365 (and 6 hours) a year. Data are
inserted/deleted/updated each 1,5 minutes and for performance reason we
have to vacuum each day some tables. The problem is that vacuum stops
inserts, updates and deletes for the table it performs (well in fact, I
understood this). This way of working for the database does not fit our
needs of 24/7/365 availability. So my question is : is there a way to
get all the things work together (good performances & availability)?
Thanks a lot.
--
Jean-Christophe ARNU
s/w developer
Paratronic France
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Vaccum and 24/7/365 database
2002-01-09 10:15 Vaccum and 24/7/365 database Jean-Christophe ARNU <jc.arnu@free.fr>
@ 2002-01-09 15:40 ` Tom Lane <tgl@sss.pgh.pa.us>
3 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2002-01-09 15:40 UTC (permalink / raw)
To: Jean-Christophe ARNU <jc.arnu@free.fr>; +Cc: pgsql-admin
Jean-Christophe ARNU <jc.arnu@free.fr> writes:
> we use postgresql 7.2 for a data logging/supervisor application running
> 24 hours a day, 7 days a week and 365 (and 6 hours) a year.
?? 7.2 is not out yet. Did you mean 7.1.2? Or are you running a beta
release of 7.2?
> Data are
> inserted/deleted/updated each 1,5 minutes and for performance reason we
> have to vacuum each day some tables. The problem is that vacuum stops
> inserts, updates and deletes for the table it performs (well in fact, I
> understood this). This way of working for the database does not fit our
> needs of 24/7/365 availability. So my question is : is there a way to
> get all the things work together (good performances & availability)?
7.2 can run vacuum in parallel with regular queries.
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Vaccum and 24/7/365 database
2002-01-09 10:15 Vaccum and 24/7/365 database Jean-Christophe ARNU <jc.arnu@free.fr>
@ 2002-01-09 16:16 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
3 siblings, 0 replies; 6+ messages in thread
From: Stephan Szabo @ 2002-01-09 16:16 UTC (permalink / raw)
To: Jean-Christophe ARNU <jc.arnu@free.fr>; +Cc: pgsql-admin
On 9 Jan 2002, Jean-Christophe ARNU wrote:
> Hi all,
> we use postgresql 7.2 for a data logging/supervisor application running
> 24 hours a day, 7 days a week and 365 (and 6 hours) a year. Data are
> inserted/deleted/updated each 1,5 minutes and for performance reason we
> have to vacuum each day some tables. The problem is that vacuum stops
> inserts, updates and deletes for the table it performs (well in fact, I
> understood this). This way of working for the database does not fit our
> needs of 24/7/365 availability. So my question is : is there a way to
> get all the things work together (good performances & availability)?
AFAIK, if you're using a recent 7.2, the default VACUUM shouldn't prevent
inserts/updates/deletes from the table while the vacuum is occuring.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Vaccum and 24/7/365 database
2002-01-09 10:15 Vaccum and 24/7/365 database Jean-Christophe ARNU <jc.arnu@free.fr>
@ 2002-01-09 16:19 ` Peter Eisentraut <peter_e@gmx.net>
3 siblings, 0 replies; 6+ messages in thread
From: Peter Eisentraut @ 2002-01-09 16:19 UTC (permalink / raw)
To: Jean-Christophe ARNU <jc.arnu@free.fr>; +Cc: pgsql-admin
Jean-Christophe ARNU writes:
> we use postgresql 7.2 for a data logging/supervisor application running
> 24 hours a day, 7 days a week and 365 (and 6 hours) a year. Data are
> inserted/deleted/updated each 1,5 minutes and for performance reason we
> have to vacuum each day some tables. The problem is that vacuum stops
> inserts, updates and deletes for the table it performs
As of 7.2, this is no longer true. I recommend you read section 8.2 of
the Administrator's Guide.
--
Peter Eisentraut peter_e@gmx.net
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Vaccum and 24/7/365 database
2002-01-09 10:15 Vaccum and 24/7/365 database Jean-Christophe ARNU <jc.arnu@free.fr>
@ 2002-01-10 00:52 ` Naomi Walker <nwalker@eldocomp.com>
3 siblings, 0 replies; 6+ messages in thread
From: Naomi Walker @ 2002-01-10 00:52 UTC (permalink / raw)
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>; Jean-Christophe ARNU <jc.arnu@free.fr>; +Cc: pgsql-admin
>
>AFAIK, if you're using a recent 7.2, the default VACUUM shouldn't prevent
>inserts/updates/deletes from the table while the vacuum is occuring.
Could someone please point me at a document explaining how to migrate from
7.1 to 7.2?
--
Naomi Walker
Chief Information Officer
Eldorado Computing, Inc.
602-604-3100 ext 242
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2002-01-10 00:52 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-09 09:38 Vaccum and 24/7/365 database Jean-Christophe ARNU <arnu@paratronic.fr>
2002-01-09 10:15 Vaccum and 24/7/365 database Jean-Christophe ARNU <jc.arnu@free.fr>
2002-01-09 15:40 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-01-09 16:16 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2002-01-09 16:19 ` Peter Eisentraut <peter_e@gmx.net>
2002-01-10 00:52 ` Naomi Walker <nwalker@eldocomp.com>
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