From: | Edmund Dengler <edmundd(at)eSentire(dot)com> |
---|---|
To: | Andrew Sullivan <andrew(at)libertyrms(dot)info> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Buglist |
Date: | 2003-08-21 20:42:24 |
Message-ID: | Pine.BSO.4.44.0308211637510.13334-100000@cyclops4.esentire.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
What I am pointing out is that this is all the same issue, and that
solutions to the "we can't do priorities because of locking issues" have
existed for many years. I/O is the same as processors, it is a resource
that needs managing. So the intelligence can be made to exist, it just
needs to be made.
Now onto other questions: can vacuuming be done without locks? Can it be
done in parts (ie, lock only a bit)? Can the I/O be better managed? Is
this a general model that would work well?
I have plenty of queries that I would love to run on a "as the system
allows" basis, or on a "keep a bit of spare cycles or I/O for the
important stuff", but which I cannot specify. So a vote from me for any
mechanism that allows priorities to be specified. If this is a desired
feature, then comes the hard part of what is feasible, what can be done in
a reasonable amount of time, and of doing it.
Regards!
Ed
On Thu, 21 Aug 2003, Andrew Sullivan wrote:
> On Thu, Aug 21, 2003 at 12:05:28PM -0400, Edmund Dengler wrote:
> > Well, if they are locked waiting on vacuum, then vacuum should upgrade
> > it's priority to the highest waiting process (priority inheritance).
> > This way, vacuum will be running at a priority level equivalent to who is
> > waiting on it.
>
> Right, but all that intelligence is something that isn't in there
> now. And anyway, the real issue is I/O, not processor.
>
> A
>
> --
> ----
> Andrew Sullivan 204-4141 Yonge Street
> Liberty RMS Toronto, Ontario Canada
> <andrew(at)libertyrms(dot)info> M2P 2A8
> +1 416 646 3304 x110
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Barwick | 2003-08-21 20:43:40 | Re: Need concrete "Why Postgres not MySQL" bullet |
Previous Message | Ian Barwick | 2003-08-21 20:28:52 | Re: [GENERAL] Need concrete "Why Postgres not MySQL" bullet list |
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Barwick | 2003-08-21 20:43:40 | Re: Need concrete "Why Postgres not MySQL" bullet |
Previous Message | Tom Lane | 2003-08-21 20:42:20 | Re: [SQL] "SELECT IN" Still Broken in 7.4b |