Re: [HACKERS] logical decoding of two-phase transactions

Поиск
Список
Период
Сортировка
Искать
От
Ajin Cherian
Тема
Re: [HACKERS] logical decoding of two-phase transactions
Дата
Msg-id
CAFPTHDYPCLUqn32aE7zcxpevyMLhT_qhqHAPvddZqxPMP-6kAQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] logical decoding of two-phase transactions Nikhil Sontakke <nikhils@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Andres Freund <andres@anarazel.de>
Re: [HACKERS] logical decoding of two-phase transactions Nikhil Sontakke <nikhils@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Arseny Sher <a.sher@postgrespro.ru>
Re: [HACKERS] logical decoding of two-phase transactions Andres Freund <andres@anarazel.de>
Re: [HACKERS] logical decoding of two-phase transactions Arseny Sher <a.sher@postgrespro.ru>
Re: [HACKERS] logical decoding of two-phase transactions Nikhil Sontakke <nikhils@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Arseny Sher <a.sher@postgrespro.ru>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
RE: [HACKERS] logical decoding of two-phase transactions "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
RE: [HACKERS] logical decoding of two-phase transactions "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
RE: [HACKERS] logical decoding of two-phase transactions "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Modified pgbench's "tpcb-like" builtin query as below to do two-phase
commits and then ran a 4 cascade replication setup.

        "BEGIN;\n"
        "UPDATE pgbench_accounts SET abalance = abalance + :delta
WHERE aid = :aid;\n"
        "SELECT abalance FROM pgbench_accounts WHERE aid = :aid;\n"
        "UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE
tid = :tid;\n"
        "UPDATE pgbench_branches SET bbalance = bbalance + :delta
WHERE bid = :bid;\n"
        "INSERT INTO pgbench_history (tid, bid, aid, delta, mtime)
VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);\n"
        "PREPARE TRANSACTION ':aid:';\n"
        "COMMIT PREPARED ':aid:';\n"

The tests ran fine and all 4 cascaded servers replicated the changes
correctly. All the subscriptions were configured with two_phase
enabled.

regards,
Ajin Cherian
Fujitsu Australia


В списке pgsql-hackers по дате отправления
От: houzj.fnst@fujitsu.com
Дата:
От: Andres Freund
Дата:
FAQ