pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedupdate performance
4+ messages / 3 participants
[nested] [flat]
* update performance
@ 2004-02-11 14:08 stefan bogdan <sbogdan@rsb.ro>
0 siblings, 2 replies; 4+ messages in thread
From: stefan bogdan @ 2004-02-11 14:08 UTC (permalink / raw)
To: pgsql-performance
hello
i have postgres 7.3.2.,linux redhat 9.0
a database,and 20 tables
a lot of fields are char(x)
when i have to make update for all the fields except index
postgres works verry hard
what should i've changed in configuration to make it work faster
thanks
bogdan
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: update performance
@ 2004-02-11 15:53 Richard Huxton <dev@archonet.com>
parent: stefan bogdan <sbogdan@rsb.ro>
1 sibling, 0 replies; 4+ messages in thread
From: Richard Huxton @ 2004-02-11 15:53 UTC (permalink / raw)
To: stefan bogdan <sbogdan@rsb.ro>; pgsql-performance
On Wednesday 11 February 2004 14:08, stefan bogdan wrote:
> hello
> i have postgres 7.3.2.,linux redhat 9.0
> a database,and 20 tables
> a lot of fields are char(x)
> when i have to make update for all the fields except index
> postgres works verry hard
> what should i've changed in configuration to make it work faster
Stefan - we need more information to help you. We'll want to know:
1. The query being run
2. EXPLAIN ANALYSE ... results for that query
3. The size of the tables involved.
4. That the tables have been VACCUM ANALYSE'd
PS - you should upgrade to 7.3.4 (or is it 7.3.5 now?)
--
Richard Huxton
Archonet Ltd
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: update performance
@ 2004-02-11 16:10 scott.marlowe <scott.marlowe@ihs.com>
parent: stefan bogdan <sbogdan@rsb.ro>
1 sibling, 1 reply; 4+ messages in thread
From: scott.marlowe @ 2004-02-11 16:10 UTC (permalink / raw)
To: stefan bogdan <sbogdan@rsb.ro>; +Cc: pgsql-performance
On Wed, 11 Feb 2004, stefan bogdan wrote:
> hello
> i have postgres 7.3.2.,linux redhat 9.0
> a database,and 20 tables
> a lot of fields are char(x)
> when i have to make update for all the fields except index
> postgres works verry hard
> what should i've changed in configuration to make it work faster
1: Upgrate to 7.3.5, (or 7.4.1 if you're feeling adventurous)
2: Read this:
http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: update performance
@ 2004-02-11 16:36 scott.marlowe <scott.marlowe@ihs.com>
parent: scott.marlowe <scott.marlowe@ihs.com>
0 siblings, 0 replies; 4+ messages in thread
From: scott.marlowe @ 2004-02-11 16:36 UTC (permalink / raw)
To: stefan bogdan <sbogdan@rsb.ro>; +Cc: pgsql-performance
On Wed, 11 Feb 2004, scott.marlowe wrote:
> On Wed, 11 Feb 2004, stefan bogdan wrote:
>
> > hello
> > i have postgres 7.3.2.,linux redhat 9.0
> > a database,and 20 tables
> > a lot of fields are char(x)
> > when i have to make update for all the fields except index
> > postgres works verry hard
> > what should i've changed in configuration to make it work faster
>
> 1: Upgrate to 7.3.5, (or 7.4.1 if you're feeling adventurous)
> 2: Read this:
> http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html
As a followup, do you have mismatched foreign keys or big ugly
constraints? Sometimes those can slow things down too.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2004-02-11 16:36 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-11 14:08 update performance stefan bogdan <sbogdan@rsb.ro>
2004-02-11 15:53 ` Richard Huxton <dev@archonet.com>
2004-02-11 16:10 ` scott.marlowe <scott.marlowe@ihs.com>
2004-02-11 16:36 ` scott.marlowe <scott.marlowe@ihs.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