| From: | Matthew Wakeling <mnw21(at)cam(dot)ac(dot)uk> |
|---|---|
| To: | keshav upadhyaya <ukeshav2009(at)gmail(dot)com> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: [PERFORM] Regarding facing lot of time Consumed by Socket.Poll() |
| Date: | 2009-10-15 14:09:11 |
| Message-ID: | alpine.DEB.2.00.0910151505520.19472@aragorn.flymine.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice pgsql-performance |
On Thu, 15 Oct 2009, keshav upadhyaya wrote:
> [Wall Time] System.Net.Sockets.Socket.Poll(Int32, SelectMode)
RTFM. Socket.Poll *waits* for a socket. Obviously it's going to spend
quite a bit of time.
Note that it is "wall time", not "CPU time".
You would be better investigating whatever is at the other end of the
socket, which I presume is Postgres. Look at what the queries actually
are, and try EXPLAIN ANALYSE on a few.
Matthew
--
It is better to keep your mouth closed and let people think you are a fool
than to open it and remove all doubt. -- Mark Twain
| From | Date | Subject | |
|---|---|---|---|
| Next Message | keshav upadhyaya | 2009-10-15 14:40:00 | Re: [PERFORM] Regarding facing lot of time Consumed by Socket.Poll() |
| Previous Message | keshav upadhyaya | 2009-10-15 14:02:52 | Regarding facing lot of time Consumed by Socket.Poll() |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | keshav upadhyaya | 2009-10-15 14:40:00 | Re: [PERFORM] Regarding facing lot of time Consumed by Socket.Poll() |
| Previous Message | keshav upadhyaya | 2009-10-15 14:02:52 | Regarding facing lot of time Consumed by Socket.Poll() |