Search Postgresql Archives

Re: Replication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Russ Brown wrote:
> Apologies for going slighly off topic, but isn't this basically how
> MySQL does replication?

The PostgreSQL WAL log stores information on the level of "write these 
bytes to disk", the MySQL replication log stores information on the 
level of "user called this statement".  So in MySQL, inserting the 
value of now() into a table might give different results if a slave 
runs in a different time zone.  So it's sort of the same from the 
outside, but the internals are different and yield different 
possibilities and restrictions.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux