| From: | ZEUGSWETTER Andreas IZ5 <Andreas(dot)Zeugswetter(at)telecom(dot)at> |
|---|---|
| To: | PostgreSQL Hackers Mailinglist <pgsql-hackers(at)postgreSQL(dot)org> |
| Cc: | "'E(dot)Mergl(at)bawue(dot)de'" <E(dot)Mergl(at)bawue(dot)de> |
| Subject: | Re: [HACKERS] strange behavior of UPDATE |
| Date: | 1999-05-26 07:25:59 |
| Message-ID: | 219F68D65015D011A8E000006F8590C60267B378@sdexcsrv1.f000.d0188.sd.spardat.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> - update bench set k500k = k500k + 1 where k100 = 30
> with indeces unknown
> without indeces 36 seconds
can you run an: explain update bench set k500k = k500k + 1 where k100 = 30;
> Still the poor update routines do not explain the
> strange behavior, that the postmaster runs for
> hours using at most 10% CPU, and all the time
> heavy disk activity is observed.
I suspect it is doing a seq scan. Thus explaining the heavy disk activity.
I have previously sent in a patch which will fix this if someone applies it.
Andreas
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ZEUGSWETTER Andreas IZ5 | 1999-05-26 07:28:07 | AW: [HACKERS] create index updates nrows statistics |
| Previous Message | Vadim Mikheev | 1999-05-26 06:34:15 | Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction |