From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com> |
Cc: | "pg-general (E-mail)" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: priority on a process |
Date: | 2003-05-16 20:02:19 |
Message-ID: | 29296.1053115339@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com> writes:
> I have a process running and it seems that it is not
> using very much of the available resources on the server
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> postgres 11467 3.4 0.3 8204 3176 ? D 07:58 12:02 postgres:
> charles testdb [local] UPDATE
It's waiting for disk I/O --- that's what the D means.
> Q2: why will some jobs hog system resouces and others,
> like this one, won't do much of anything?
You have too narrow a view of what system resources are ;-). I feel
sure that this query is banging the heck out of your disk. When the
disk is the bottleneck, worrying about improving CPU usage is pointless.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | ahoward | 2003-05-16 20:08:35 | Re: 7.3.2, pam, on Linux 2.4.18-18.7.x i686 |
Previous Message | DeJuan Jackson | 2003-05-16 19:58:02 | Re: Rule on tabel |