X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 51D9C9FB227 for ; Tue, 11 Jul 2006 14:08:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 87896-10 for ; Tue, 11 Jul 2006 14:07:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp104.plus.mail.re2.yahoo.com (smtp104.plus.mail.re2.yahoo.com [206.190.53.29]) by postgresql.org (Postfix) with SMTP id 49C579FB221 for ; Tue, 11 Jul 2006 14:07:52 -0300 (ADT) Received: (qmail 33219 invoked from network); 11 Jul 2006 17:07:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=Yahoo.com; h=Received:Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=CHlrzFI98F9d7+V3EKGHc5dh/WsppCeuPwzkxxV7Wg3gRegHdh8Dc+5lImr+b3RKa27OuVn+EifRKnNVt62K/nzb4oBLVm7/2dEStiNM5UgmwF3ASRExPF2YYGAiCcN/AcuKxeTOlOvM5Q12q//GUTnsCmj6SLtgt5tft1lsNIk= ; Received: from unknown (HELO jupiter.black-lion.info) (janwieck@69.137.20.18 with login) by smtp104.plus.mail.re2.yahoo.com with SMTP; 11 Jul 2006 17:07:50 -0000 Received: from [172.21.8.23] (ismtp.afilias.com [216.217.55.254]) (authenticated bits=0) by jupiter.black-lion.info (8.12.10/8.12.9) with ESMTP id k6BH7mFh020978; Tue, 11 Jul 2006 13:07:49 -0400 (EDT) (envelope-from JanWieck@Yahoo.com) Message-ID: <44B3DADF.2040609@Yahoo.com> Date: Tue, 11 Jul 2006 13:07:43 -0400 From: Jan Wieck User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Marlowe CC: Alex Turner , Jason McManus , pgsql general Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL References: <1151680333.13129.55.camel@state.g2switchworks.com> <44B2E595.9060209@Yahoo.com> <33c6269f0607101900s3ba3ad21ncb1dd1df4cf52315@mail.gmail.com> <44B3C79B.5080006@Yahoo.com> <1152633439.6540.65.camel@state.g2switchworks.com> In-Reply-To: <1152633439.6540.65.camel@state.g2switchworks.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/398 X-Sequence-Number: 98022 On 7/11/2006 11:57 AM, Scott Marlowe wrote: > On Tue, 2006-07-11 at 10:45, Jan Wieck wrote: >> On 7/10/2006 10:00 PM, Alex Turner wrote: >> >> > http://dev.mysql.com/doc/refman/5.1/en/replication-row-based.html >> > >> > 5.1 >> >> Ah, thanks. So I guess 5.1.5 and 5.1.8 must be considered major feature >> minor/bugfix releases. I still don't understand how people can use >> software in production that has literally zero bugfix upgrade path >> without the risk of incompatibility due to new features. I consider >> every IT manager, who makes that choice, simply overpaid. > > Dear god! That page made my eyes bleed. > > Individual users can choose the method of replication for their > sessions? > > There's a mixed method that switches back and forth? It is totally unclear from that page what would make the server decide when to pick one or the other method. It seems to me that this is mainly an optimization for many single inserts in order to get a smaller binlog. Note that according to this page http://dev.mysql.com/doc/internals/en/replication-prepared-statements.html the master currently substitutes the parameters as literals into the query for prepared statements. What also is totally unclear, maybe someone with more MySQL experience can answer this question, is if the binary format actually does solve the problems discussed. Namely timestamps and also autoincrement. What exactly happens if an insert doesn't provide a value for an autoinc or timestamp column? Is the server chosen value placed into the binlog when using row format or not? Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #