Re: vacuum and 24/7 uptime

Started by Tim Barnardover 24 years ago18 messagesgeneral
Jump to latest
#1Tim Barnard
tbarnard@povn.com

Any thoughts as to when 7.2 is targeted for release?

Tim

----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
To: "Mark" <mark@ldssingles.com>
Cc: <pgsql-general@postgresql.org>
Sent: Wednesday, July 11, 2001 3:06 PM
Subject: Re: [GENERAL] vacuum and 24/7 uptime

Is Postgresql ready for 24/7 uptime? Our tests have shown that vacuumdb
requires downtime, and if one does this nightly as suggested, well, one

has

downtime, 40+ minutes in our case.

My company wants to replace MS SQL Server with PostgreSQL, but we can't
afford downtime to do database maintenance. Is it possible that we are

doing

something wrong?

What are the plans for future versions of pgsql? Will vacuum be

optomized or

Show quoted text

otherwise enhanced to execute more quickly and/or not lock tables?

We hope to eliminate that downtime in 7.2.

--
Bruce Momjian                        |  http://candle.pha.pa.us
pgman@candle.pha.pa.us               |  (610) 853-3000
+  If your life is a hard drive,     |  830 Blythe Avenue
+  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

#2Ryan Mahoney
ryan@paymentalliance.net
In reply to: Tim Barnard (#1)

Hi Mark, This is being worked on now. I believe the 7.2 release will have
enable you to run a vacuum with no downtime.

-r

At 03:39 PM 7/11/01 -0600, Mark wrote:

Show quoted text

Is Postgresql ready for 24/7 uptime? Our tests have shown that vacuumdb
requires downtime, and if one does this nightly as suggested, well, one has
downtime, 40+ minutes in our case.

My company wants to replace MS SQL Server with PostgreSQL, but we can't
afford downtime to do database maintenance. Is it possible that we are doing
something wrong?

What are the plans for future versions of pgsql? Will vacuum be optomized or
otherwise enhanced to execute more quickly and/or not lock tables?

Thanks,

Mark

PS
I posted more details to the hackers list.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/01

#3Martín Marqués
martin@bugs.unl.edu.ar
In reply to: Ryan Mahoney (#2)

On Mi� 11 Jul 2001 13:46, Ryan Mahoney wrote:

Hi Mark, This is being worked on now. I believe the 7.2 release will have
enable you to run a vacuum with no downtime.

AFAIK, if UNDO is implemented, no vacuum will be needed to free space.

It would be great if UNDO would clean indexes.

Saludos.... :-)

--
Cualquiera administra un NT.
Ese es el problema, que cualquiera administre.
-----------------------------------------------------------------
Martin Marques | mmarques@unl.edu.ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

#4Bruce Momjian
bruce@momjian.us
In reply to: Tim Barnard (#1)

Any thoughts as to when 7.2 is targeted for release?

The fall, 2001.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#5Alexey Borzov
borz_off@rdw.ru
In reply to: Bruce Momjian (#4)
Pg7.2 (was: vacuum and 24/7 uptime)

Greetings, Bruce!

At 12.07.2001, 03:49, you wrote:

Any thoughts as to when 7.2 is targeted for release?

BM> The fall, 2001.

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

--
Yours, Alexey V. Borzov, Webmaster of RDW.ru

#6Bruno Wolff III
bruno@wolff.to
In reply to: Alexey Borzov (#5)
Re: Pg7.2 (was: vacuum and 24/7 uptime)

On Thu, Jul 12, 2001 at 11:04:11AM +0400,
Alexey Borzov <borz_off@rdw.ru> wrote:

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

http://www.postgresql.org/docs/todo.html

#7Noname
wsheldah@lexmark.com
In reply to: Bruno Wolff III (#6)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

The list looks fantastic. I'm now looking forward to this release. Sounds like
it's planned for just 6-9 months after the 7.1 release, or thereabouts? Good
agressive schedule.

I would like to request one more feature of course: support for ALTER TABLE
tablename MODIFY columnname [create clause] would make my life much easier.
When designing a new database from scratch, I often find myself having to change
column types during the very early stages of development.

That would also help users who need to convert their MONEY columns to
money-formatted decimal coluns once this release comes out and they upgrade.

Again, thanks for all the hard work.

Wes Sheldahl

Bruno Wolff III <bruno%wolff.to@interlock.lexmark.com> on 07/12/2001 09:24:31 AM

To: Alexey Borzov <borz_off%rdw.ru@interlock.lexmark.com>
cc: Bruce Momjian <pgman%candle.pha.pa.us@interlock.lexmark.com>, Tim Barnard
<tbarnard%povn.com@interlock.lexmark.com>,
pgsql-general%postgresql.org@interlock.lexmark.com (bcc: Wesley
Sheldahl/Lex/Lexmark)
Subject: [GENERAL] Re: Pg7.2 (was: vacuum and 24/7 uptime)

On Thu, Jul 12, 2001 at 11:04:11AM +0400,
Alexey Borzov <borz_off@rdw.ru> wrote:

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

http://www.postgresql.org/docs/todo.html

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

#8Bruce Momjian
bruce@momjian.us
In reply to: Alexey Borzov (#5)
Re: Pg7.2 (was: vacuum and 24/7 uptime)

Greetings, Bruce!

At 12.07.2001, 03:49, you wrote:

Any thoughts as to when 7.2 is targeted for release?

BM> The fall, 2001.

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

Light-weight vacuum with light locking and statistics of queries.

All items marked with a dash on the TODO list will be in there.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#9Peter Eisentraut
peter_e@gmx.net
In reply to: Bruno Wolff III (#6)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

Bruno Wolff III writes:

On Thu, Jul 12, 2001 at 11:04:11AM +0400,
Alexey Borzov <borz_off@rdw.ru> wrote:

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

http://www.postgresql.org/docs/todo.html

Those are not the features planned for this release.

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#10Peter Eisentraut
peter_e@gmx.net
In reply to: Alexey Borzov (#5)
Re: Pg7.2 (was: vacuum and 24/7 uptime)

Alexey Borzov writes:

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

National language support, if I can get some people to do the translating.
(Hint, hint.)

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#11Ben-Nes Michael
miki@canaan.co.il
In reply to: Peter Eisentraut (#10)
Re: Pg7.2 (was: vacuum and 24/7 uptime)

Peter Eisentraut wrote:

Alexey Borzov writes:

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

National language support, if I can get some people to do the translating.
(Hint, hint.)

Ill be happy to help with hebrew.

Show quoted text
#12Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#9)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

Bruno Wolff III writes:

On Thu, Jul 12, 2001 at 11:04:11AM +0400,
Alexey Borzov <borz_off@rdw.ru> wrote:

Will you be even kinder and enlighten us, mere users, on the features
planned for this release? ;

http://www.postgresql.org/docs/todo.html

Those are not the features planned for this release.

Yes, only the ones marked with dashes are done for 7.2 so far.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#13Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#12)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

On Thu, Jul 12, 2001 at 08:24:31AM -0500, Bruno Wolff III wrote:

Will you be even kinder and enlighten us, mere users, on the
features planned for this release? ;

http://www.postgresql.org/docs/todo.html

I notice the "urgent" item for point-in-time recovery doesn't have
the '-' indicating a 7.2 item.

When is that planned?

I hope for 7.2.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#14Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#13)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

Bruce Momjian <pgman@candle.pha.pa.us> writes:

I notice the "urgent" item for point-in-time recovery doesn't have
the '-' indicating a 7.2 item.

When is that planned?

I hope for 7.2.

What grounds do you have for hoping that? If there's anyone working
on it, they're sure keeping a mighty low profile.

Given that we're hoping to go beta in another six weeks or so, anything
that's not got a commitment from someone now is unlikely to be finished
for 7.2. I don't believe that anything as large as PIT recovery is
going to magically appear out of the woodwork.

regards, tom lane

#15Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#14)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

Bruce Momjian <pgman@candle.pha.pa.us> writes:

I notice the "urgent" item for point-in-time recovery doesn't have
the '-' indicating a 7.2 item.

When is that planned?

I hope for 7.2.

What grounds do you have for hoping that? If there's anyone working
on it, they're sure keeping a mighty low profile.

Given that we're hoping to go beta in another six weeks or so, anything
that's not got a commitment from someone now is unlikely to be finished
for 7.2. I don't believe that anything as large as PIT recovery is
going to magically appear out of the woodwork.

Someone told me they would do it. I will not disclose their name
because I don't think I have the right to do that.

I haven't heard from them in a while. Let's just assume the feature
will not be in 7.2 then.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#16Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#15)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

Bruce Momjian <pgman@candle.pha.pa.us> writes:

... I don't believe that anything as large as PIT recovery is
going to magically appear out of the woodwork.

Someone told me they would do it. I will not disclose their name
because I don't think I have the right to do that.

And if "hacker X" delivers a patch that large a week or so before beta,
with no prior discussion of features or implementation techniques on
the mailing lists, we'd accept it? Hacker X needs to be told that
that's not how this project is run.

regards, tom lane

#17Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#16)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

Bruce Momjian <pgman@candle.pha.pa.us> writes:

... I don't believe that anything as large as PIT recovery is
going to magically appear out of the woodwork.

Someone told me they would do it. I will not disclose their name
because I don't think I have the right to do that.

And if "hacker X" delivers a patch that large a week or so before beta,
with no prior discussion of features or implementation techniques on
the mailing lists, we'd accept it? Hacker X needs to be told that
that's not how this project is run.

I hope "hacker X" is listening. :-)

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#18Micah Yoder
yodermk@home.com
In reply to: Noname (#7)
Re: Re: Pg7.2 (was: vacuum and 24/7 uptime)

I would like to request one more feature of course: support for ALTER
TABLE tablename MODIFY columnname [create clause] would make my life much

and ALTER TABLE DROP COLUMN! I see it's on the list, just not apparently for
7.2. Oh well I guess you can only do so much. Postgres really is great!
When ALL the features on that list are implemented, it will really kick some
serious MS arse! Am wondering how long that will take...

--
Like to travel? http://TravTalk.org
Micah Yoder Internet Development http://yoderdev.com