Re: 7.4?

Started by Joe Tomcatabout 23 years ago70 messagesgeneral
Jump to latest
#1Joe Tomcat
tomcat@mobile.mp

On Mon, 2003-02-24 at 12:28, Robert Treat wrote:

On Mon, 2003-02-24 at 14:29, Ericson Smith wrote:

Could someone summarize what would be the 3 changes that would have the
most impact in 7.4?

Impact to who? :-)

1. Native Windows Support
2. Point In Time Recovery
3. Standard Replication Solution

#3 is a very big deal for business users. I am very glad to hear it is
in 7.4. Point in time recovery is also an important thing for biz
users.

#2Joe Tomcat
tomcat@mobile.mp
In reply to: Joe Tomcat (#1)

On Tue, 2003-02-25 at 23:53, Ed L. wrote:

On Tuesday February 25 2003 11:52, Tom Lane wrote:

Also, there are nontrivial licensing issues involved. The PG-R
design depends on an underlying "group communication" system, which
is a nontrivial bit of software that none of the core team wants to
rewrite. But none of the available GC systems are BSD-license open
source. We had had some hopes of getting Spread to offer BSD
terms, but that seems to have fallen through. So right now, PG-R
is on the outside looking in, as far as inclusion in the core
distribution goes :-(

Is anyone aware of particular reasons why the group is pushing on a
syncronous solution? I'm sure they have good reasons, but I would've
assumed an asyncronous solution would be far more applicable for
simple redundancy as opposed to syncronicity for high-performance
clusters, not too mention being far simpler implementations.

Some business needs absolutely must have synchronus replication. You're
right that most users want async so they can have clusters serving data
out, but there are some very good reasons for sync:

1. Financial transactions MUST have off-site sync replication.

2. If you have a cluster of servers, sync guarantees that all the data
are in a consistent state. Ease of administration and reliability may
be worth the slight performance penalty.

3. For servers on a fast LAN, sync may not make much of a difference on
performance.

I personally think that sync should be used in more cases than is
generally thought. We can get very reliable LANs and even WAN links,
and if I know that the data are always consistent, that makes my life
much much easier than having to worry about cases where they are not.

#3Joe Tomcat
tomcat@mobile.mp
In reply to: Joe Tomcat (#2)

On Wed, 2003-02-26 at 07:08, Tom Lane wrote:

Back when I was working for Great Bridge and got to spend a fair amount
of time at trade shows talking to potential customers, the thing we
heard over and over again was that people wanted multiple servers for
reliability/redundancy. That goal seems to me to be best served by a
symmetric multi-master configuration, which is difficult if not
impossible to do with async replication.

I'm glad to hear that PG is heading in that direction. Think of it this
way: the entire reason we use databases instead of a mess of text files
is because of the benefits we get in terms of data consistency. ACID
forms the foundation for a reliable service, whether it's financial
transactions or a chat room. It is difficult or impossible to maintain
ACID in an async situation, I believe.

Sync is actually much more useful because it lets a business have a
cluster of servers without having to worry about what state things are
in.

#4Dennis Gearon
gearond@cvc.net
In reply to: Joe Tomcat (#3)

If it ain't broke,
don't fix it!

2/24/2003 11:36:33 AM, Dmitry Tkach <dmitry@openratings.com> wrote:

Do you guys have any tentative estimates about when 7.4 is going to get released?
What is the timeframe? Also, what is going to be there that is not in 7.3?
I am currently on 7.2, and trying to find out whether it makes sense to upgrade to 7.3 now or to

wait for 7.4 and go right there...

Show quoted text

Thanks!

Dima

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

http://archives.postgresql.org

#5Bruno Wolff III
bruno@wolff.to
In reply to: Dennis Gearon (#4)

On Mon, Feb 24, 2003 at 14:36:33 -0500,
Dmitry Tkach <dmitry@openratings.com> wrote:

Do you guys have any tentative estimates about when 7.4 is going to get
released?
What is the timeframe? Also, what is going to be there that is not in 7.3?
I am currently on 7.2, and trying to find out whether it makes sense to
upgrade to 7.3 now or to wait for 7.4 and go right there...

My opinion is that you should go to 7.3 now.

7.4 seems to have a ways to go before it is even going to be in beta, so it
will be a minimum of several months before it is released.

The change from 7.3 to 7.4 will likely be easier than going from
7.2 to 7.3 (because schemas are a big change in 7.3).

#6Ericson Smith
eric@did-it.com
In reply to: Bruno Wolff III (#5)

Could someone summarize what would be the 3 changes that would have the
most impact in 7.4?

- Ericson Smith
eric@did-it.com

On Mon, 2003-02-24 at 14:05, Bruno Wolff III wrote:

On Mon, Feb 24, 2003 at 14:36:33 -0500,
Dmitry Tkach <dmitry@openratings.com> wrote:

Do you guys have any tentative estimates about when 7.4 is going to get
released?
What is the timeframe? Also, what is going to be there that is not in 7.3?
I am currently on 7.2, and trying to find out whether it makes sense to
upgrade to 7.3 now or to wait for 7.4 and go right there...

My opinion is that you should go to 7.3 now.

7.4 seems to have a ways to go before it is even going to be in beta, so it
will be a minimum of several months before it is released.

The change from 7.3 to 7.4 will likely be easier than going from
7.2 to 7.3 (because schemas are a big change in 7.3).

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

--
Ericson Smith <eric@did-it.com>

#7Dmitry Tkach
dmitry@openratings.com
In reply to: Dennis Gearon (#4)

Dennis Gearon wrote:

If it ain't broke,
don't fix it!

Yeah... I know. That's exactly where I am coming from :-)
I am sitting on about a 200G database here, and I know what a pain in
the neck it is going to be to migrate it (plus, I've got some "C"
functions, that, as I figured recently do not even compile with 7.3) :-(

But there is some stuff in 7.3 that I really miss - like function
returning tuples, prepared and saved query plans, vacuum (full)
behaviour etc...
Besides, Tom Lane has said some really scarry things about possible data
corruption/loss stuff in 7.2...

So, it sounds like I am going to have to go through this upgrade
nightmare... the only question is - when it is a good time to do it...

Dima

Show quoted text

2/24/2003 11:36:33 AM, Dmitry Tkach <dmitry@openratings.com> wrote:

Do you guys have any tentative estimates about when 7.4 is going to get released?
What is the timeframe? Also, what is going to be there that is not in 7.3?
I am currently on 7.2, and trying to find out whether it makes sense to upgrade to 7.3 now or to

wait for 7.4 and go right there...

Thanks!

Dima

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

http://archives.postgresql.org

#8Robert Treat
xzilla@users.sourceforge.net
In reply to: Ericson Smith (#6)

On Mon, 2003-02-24 at 14:29, Ericson Smith wrote:

Could someone summarize what would be the 3 changes that would have the
most impact in 7.4?

Impact to who? :-)

1. Native Windows Support
2. Point In Time Recovery
3. Standard Replication Solution

(Please note that while these are all currently planned for 7.4, and are
actively being developed, I can't guarantee they will all be there.)

Robert Treat

#9scott.marlowe
scott.marlowe@ihs.com
In reply to: Ericson Smith (#6)

On 24 Feb 2003, Ericson Smith wrote:

Could someone summarize what would be the 3 changes that would have the
most impact in 7.4?

I would say the biggest impact from 7.2 to 7.3 are:

- Schemas and their support
- Indexing issues related to using C locale or anything else
- The less greedy type matching changes result in some indexes being
ignored that were once used.
- Old sequences and other things won't inherit dependency. not a real
problem, just an fyi.

From 7.3 to 7.4 the biggest changes planned so far:
- windows native support <-- gartner gives it a 90% chance of making it
into the main disto... :-)
- fix for in() performance issue <-- already in CVS tip
- partitioning or tablespaces <-- who know? seriously, who?
- vacuum will be able to compact out unused space <-- Tom Lane
- possible newer settings for the default postgresql.conf could
increase load on some machines to a point they may need to be reconfigured
to come up.

Data wise I don't think there's gonna be a lot that will mess up a 7.3 to
7.4 conversion so far that's gone by.

#10Ericson Smith
eric@did-it.com
In reply to: scott.marlowe (#9)

From 7.3 to 7.4 the biggest changes planned so far:
- windows native support <-- gartner gives it a 90% chance of making it
into the main disto... :-)
- fix for in() performance issue <-- already in CVS tip
- partitioning or tablespaces <-- who know? seriously, who?
- vacuum will be able to compact out unused space <-- Tom Lane

Will we be able to run the new vacuum system without locking the tables?

Currently our database is at about 15gigs. Over the period of a month,
it grows to about 25gigs (10Gb wasted space). Every month we have a
cleanup routine which involves copying the most actively updated tables
to text, and importing the data again. We vacuum every night and analyze
4 times per day, but we're loath to do a VACUUM FULL because of the
table locking issues (locking some of the tables would break the
operation of some of our 24/7 systems), hence we prefer to stop the db
about once per month, eat the downtime as scheduled (about 1.5 hours),
and get back to business for the next 30 days again.

We're all behind Tom on this change :-)

- Ericson Smith
eric@did-it.com

--
Ericson Smith <eric@did-it.com>

#11scott.marlowe
scott.marlowe@ihs.com
In reply to: Ericson Smith (#10)

On 24 Feb 2003, Ericson Smith wrote:

From 7.3 to 7.4 the biggest changes planned so far:
- windows native support <-- gartner gives it a 90% chance of making it
into the main disto... :-)
- fix for in() performance issue <-- already in CVS tip
- partitioning or tablespaces <-- who know? seriously, who?
- vacuum will be able to compact out unused space <-- Tom Lane

Will we be able to run the new vacuum system without locking the tables?

Vacuum only locks the tables now for a second or so.

You might want to look at using regular vacuums more often. In my
testing, vacuum (non full) uses <2% of the CPU on a heavily loaded server.
Between the low load of vacuum and having higher fsm settings, you might
obviate the need to regular vacuum any more than once a day or week or
whatever.

#12Luc Martienau
luc287@NO_sympatico.ca_SPAM
In reply to: Dennis Gearon (#4)

Do you guys have any tentative estimates about when 7.4 is going to get

released?

What is the timeframe? Also, what is going to be there that is not in

7.3?

I am currently on 7.2, and trying to find out whether it makes sense to

upgrade to 7.3 now or to

wait for 7.4 and go right there...

Hello
Am I wrrong if I said that with 7.3.3 you can passed up to 32 parameters to
a function and only 16 with 7.2.?

Regards
Luc

Show quoted text

(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

#13Andrew Bartley
abartley@evolvosystems.com
In reply to: scott.marlowe (#11)
reindex

Hi all,

I am having trouble reindexing our DB.

We are running PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC gcc
(GCC) 3.2.1

backend> reindex database evolvo force
NOTICE: relation 1247 was reindexed
NOTICE: relation 1249 was reindexed
NOTICE: relation 1259 was reindexed
NOTICE: relation 1261 was reindexed
NOTICE: relation 1262 was reindexed
ERROR: cannot create pg_inherits_relid_seqno_index: File exists

Can someone help me.

Thanks

Andrew Bartley

#14Andrew Sullivan
andrew@libertyrms.info
In reply to: Ericson Smith (#10)

On Mon, Feb 24, 2003 at 03:53:14PM -0500, Ericson Smith wrote:

Will we be able to run the new vacuum system without locking the tables?

I believe the new vacuum stuff is just to help on btree indexes. The
current vacuum doesn't lock the tables, either.

Currently our database is at about 15gigs. Over the period of a month,
it grows to about 25gigs (10Gb wasted space). Every month we have a
cleanup routine which involves copying the most actively updated tables
to text, and importing the data again. We vacuum every night and analyze
4 times per day, but we're loath to do a VACUUM FULL because of the
table locking issues (locking some of the tables would break the

It sounds like either your free space map is not set correctly, or
you have ever-growing indexes. Reindexing would be enough for this
problem. There are still some 24/7-operation problems with having to
reindex.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110
#15Ericson Smith
eric@did-it.com
In reply to: Andrew Sullivan (#14)

On Tue, 2003-02-25 at 08:18, Andrew Sullivan wrote:

I believe the new vacuum stuff is just to help on btree indexes. The
current vacuum doesn't lock the tables, either.

I was actually thinking about a VACUUM FULL. Currently we have not
problems doing a regular VACUUM. That said, will the new vacuum free as
much space like the current vacuum full, without the handicap of table
locking?

It sounds like either your free space map is not set correctly, or
you have ever-growing indexes. Reindexing would be enough for this
problem. There are still some 24/7-operation problems with having to
reindex.

We will definitely try the reindex as suggested.

--
Ericson Smith <eric@did-it.com>

#16Andrew Sullivan
andrew@libertyrms.info
In reply to: Ericson Smith (#15)

On Tue, Feb 25, 2003 at 09:41:13AM -0500, Ericson Smith wrote:

I was actually thinking about a VACUUM FULL. Currently we have not

VACUUM FULL will always block. To make a rather nasty comparison,
it's like defragging your disk under Windows: you can't really access
a file which is being moved around.

problems doing a regular VACUUM. That said, will the new vacuum free as
much space like the current vacuum full, without the handicap of table
locking?

Yes and no. VACUUM FULL recovers space absolutely. So if you know
that the table has really shrunk, and shrunk permanently (or similar
cases, like 100% of the table was replaced), then you need VACUUM
FULL. Non-blocking VACUUM will make the freed space available to
Postgres, but not to the filesystem in general. In other words, the
regular VACUUM should mean that your table size stabilises, given
that your database is always more or less the same number of tuples;
but it will be slightly larger on disk than that number of tuples
strictly requires. (Is that clear? If not, maybe someone else can
make it clearer.)

A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110

#17Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrew Bartley (#13)
Re: reindex

"Andrew Bartley" <abartley@evolvosystems.com> writes:

We are running PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC gcc
(GCC) 3.2.1

backend> reindex database evolvo force
NOTICE: relation 1247 was reindexed
NOTICE: relation 1249 was reindexed
NOTICE: relation 1259 was reindexed
NOTICE: relation 1261 was reindexed
NOTICE: relation 1262 was reindexed
ERROR: cannot create pg_inherits_relid_seqno_index: File exists

If you've been running this database long enough to wrap around the OID
counter, then this failure is possible (though I wouldn't have thought
it probable). Try a few times and it'll probably succeed eventually.

regards, tom lane

#18Neil Conway
neilc@samurai.com
In reply to: Robert Treat (#8)

On Mon, 2003-02-24 at 15:28, Robert Treat wrote:

3. Standard Replication Solution

I'd be quite surprised to see this in 7.4. Not that I wouldn't love to
have someone contribute it -- I just wouldn't bet on it being in 7.4 if
the beta date is around the middle of April.

Cheers,

Neil
--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

#19Robert Treat
xzilla@users.sourceforge.net
In reply to: Joe Tomcat (#1)

On Sat, 2003-02-22 at 07:56, Joe Tomcat wrote:

On Mon, 2003-02-24 at 12:28, Robert Treat wrote:

On Mon, 2003-02-24 at 14:29, Ericson Smith wrote:

Could someone summarize what would be the 3 changes that would have the
most impact in 7.4?

Impact to who? :-)

1. Native Windows Support
2. Point In Time Recovery
3. Standard Replication Solution

#3 is a very big deal for business users. I am very glad to hear it is
in 7.4. Point in time recovery is also an important thing for biz
users.

For the record let me re-emphasize that none of these are guaranteed to
be in 7.4. They are all actively being worked on, and the current hopes
of the developers is that they will all be in, but it is quite possible
that one of these might not make it in (and most likely to not make
would be replication imho)

Robert Treat

#20Peter Eisentraut
peter_e@gmx.net
In reply to: Neil Conway (#18)

Neil Conway writes:

I'd be quite surprised to see this in 7.4. Not that I wouldn't love to
have someone contribute it -- I just wouldn't bet on it being in 7.4 if
the beta date is around the middle of April.

When someone says that beta is planned April-ish, that means beta will be
in June and the final release will be in September. Mark my words.

--
Peter Eisentraut peter_e@gmx.net

#21Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#20)
#22Ed L.
pgsql@bluepolka.net
In reply to: Robert Treat (#19)
#23Neil Conway
neilc@samurai.com
In reply to: Ed L. (#22)
#24Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#23)
#25Ed L.
pgsql@bluepolka.net
In reply to: Tom Lane (#24)
#26Ed L.
pgsql@bluepolka.net
In reply to: Tom Lane (#24)
#27Hervé Piedvache
herve@elma.fr
In reply to: Tom Lane (#24)
#28Roberto (SmartBit)
roberto@smartbit.inf.br
In reply to: scott.marlowe (#9)
#29Masse Jacques
jacques.masse@bordeaux.cemagref.fr
In reply to: Roberto (SmartBit) (#28)
#30Tom Lane
tgl@sss.pgh.pa.us
In reply to: Ed L. (#26)
#31Tom Lane
tgl@sss.pgh.pa.us
In reply to: Hervé Piedvache (#27)
#32Darko Prenosil
darko.prenosil@finteh.hr
In reply to: Roberto (SmartBit) (#28)
#33Ed L.
pgsql@bluepolka.net
In reply to: Hervé Piedvache (#27)
#34Ed L.
pgsql@bluepolka.net
In reply to: Tom Lane (#30)
#35Richard Welty
rwelty@averillpark.net
In reply to: Joe Tomcat (#3)
#36Shridhar Daithankar
shridhar_daithankar@persistent.co.in
In reply to: Ericson Smith (#10)
#37Andreas Rust
rust@webnova.de
In reply to: Shridhar Daithankar (#36)
#38Roberto (SmartBit)
roberto@smartbit.inf.br
In reply to: scott.marlowe (#9)
#39Andrew Sullivan
andrew@libertyrms.info
In reply to: Ed L. (#34)
#40Darko Prenosil
darko.prenosil@finteh.hr
In reply to: Roberto (SmartBit) (#38)
#41scott.marlowe
scott.marlowe@ihs.com
In reply to: Shridhar Daithankar (#36)
#42Ed L.
pgsql@bluepolka.net
In reply to: Andrew Sullivan (#39)
#43Richard Welty
rwelty@averillpark.net
In reply to: Ed L. (#42)
#44Andrew Sullivan
andrew@libertyrms.info
In reply to: Ed L. (#42)
#45Ed L.
pgsql@bluepolka.net
In reply to: Andrew Sullivan (#44)
#46Ed L.
pgsql@bluepolka.net
In reply to: Richard Welty (#43)
#47Andrew Sullivan
andrew@libertyrms.info
In reply to: Richard Welty (#43)
#48Andrew Sullivan
andrew@libertyrms.info
In reply to: Ed L. (#45)
#49Ed L.
pgsql@bluepolka.net
In reply to: Ed L. (#45)
#50Ed L.
pgsql@bluepolka.net
In reply to: Andrew Sullivan (#48)
#51Peter Childs
blue.dragon@blueyonder.co.uk
In reply to: Andrew Sullivan (#48)
#52Neil Conway
neilc@samurai.com
In reply to: Peter Childs (#51)
#53Ed L.
pgsql@bluepolka.net
In reply to: Peter Childs (#51)
#54Andrew Sullivan
andrew@libertyrms.info
In reply to: Peter Childs (#51)
#55Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#21)
#56Bruce Momjian
bruce@momjian.us
In reply to: Hervé Piedvache (#27)
#57Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#55)
#58Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#21)
#59Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#57)
#60Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#58)
#61Neil Conway
neilc@samurai.com
In reply to: Bruce Momjian (#59)
#62Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#60)
#63Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#62)
#64Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#63)
#65Patrick Macdonald
patrickm@redhat.com
In reply to: Bruce Momjian (#59)
#66Robert Treat
xzilla@users.sourceforge.net
In reply to: Bruce Momjian (#64)
#67Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#61)
#68Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#67)
#69Bruce Momjian
bruce@momjian.us
In reply to: Patrick Macdonald (#65)
#70Patrick Macdonald
patrickm@redhat.com
In reply to: Bruce Momjian (#69)