Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization
Дата
Msg-id
alpine.DEB.2.20.1709011627400.15423@lancre
Ответ на
Список
Дерево обсуждения
[HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Tatsuo Ishii <ishii@sraoss.co.jp>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench: Skipping the creating primary keys afterinitialization Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization Masahiko Sawada <sawada.mshk@gmail.com>

>> I'm wondering whether this truncation should be yet another available
>> command? Hmmm... maybe not.
>
> Currently TRUNCATE pgbench_accounts command is executed within a
> transaction started immediately before it. If we move it out of the
> transaction, the table data will be truncated even if the copying data
> failed. Maybe we can do TRUNCATE pgbench_accounts, pgbench_history
> instead. Thought?

Keep the truncate in the transaction, and truncate both (or all?) tables 
together.

-- 
Fabien.


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Alvaro Herrera
Дата:
FAQ