Re: Load experimentation
От
Greg Smith
Тема
Re: Load experimentation
Дата
Msg-id
4B1D6CB1.3090909@2ndquadrant.com
Ответ на
Re: Load experimentation (Ben Brehmer)
Список
Дерево обсуждения
Load experimentation Ben Brehmer <benbrehmer@gmail.com>
Re: Load experimentation "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load experimentation Ben Brehmer <benbrehmer@gmail.com>
Re: Load experimentation Thom Brown <thombrown@gmail.com>
Re: Load experimentation Ben Brehmer <benbrehmer@gmail.com>
Re: Load experimentation Alan Hodgson <ahodgson@simkin.ca>
Re: Load experimentation Craig James <craig_james@emolecules.com>
Re: Load experimentation Greg Smith <greg@2ndquadrant.com>
Re: Load experimentation Ben Brehmer <benbrehmer@gmail.com>
Re: Load experimentation Greg Smith <greg@2ndquadrant.com>
Re: Load experimentation Scott Marlowe <scott.marlowe@gmail.com>
Re: Load experimentation Scott Marlowe <scott.marlowe@gmail.com>
Re: Load experimentation Dimitri Fontaine <dfontaine@hi-media.com>
Re: Load experimentation Scott Marlowe <scott.marlowe@gmail.com>
Re: Load experimentation Dimitri Fontaine <dfontaine@hi-media.com>
Re: Load experimentation Scott Carey <scott@richrelevance.com>
Re: Load experimentation Scott Carey <scott@richrelevance.com>
Re: Load experimentation Craig James <craig_james@emolecules.com>
Re: Load experimentation Andy Colson <andy@squeakycode.net>
Re: Load experimentation Ben Brehmer <benbrehmer@gmail.com>
Re: Load experimentation Scott Mead <scott.lists@enterprisedb.com>
Ben Brehmer wrote:
By "Loading data" I am implying: "psql -U postgres -d somedatabase -f sql_file.sql". The sql_file.sql contains table creates and insert statements. There are no indexes present nor created during the load.Your basic options here are to batch the INSERTs into bigger chunks, and/or to split your data file up so that it can be loaded by more than one process at a time. There's some comments and links to more guidance here at http://wiki.postgresql.org/wiki/Bulk_Loading_and_Restores
COPY command: Unfortunately I'm stuck with INSERTS due to the nature this data was generated (Hadoop/MapReduce).
-- Greg Smith 2ndQuadrant Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.com
В списке pgsql-performance по дате отправления