are there any methods to disable updating index before inserting large number tuples? - Mailing list pgsql-general

From sunpeng
Subject are there any methods to disable updating index before inserting large number tuples?
Date
Msg-id CAOYKhLrpS0zZJcP_J_a8A-oSZnC5BX0krS42UzJoc+pgGkSSzQ@mail.gmail.com
Whole thread Raw
Responses Re: are there any methods to disable updating index before inserting large number tuples?  (Andrew Sullivan <ajs@crankycanuck.ca>)
List pgsql-general
hi, friends,
  Now each hour I want to insert about 20 millions tuples into table A,  which has a  btree index.
  How to disable index update before inserting those 20 millions tuples, and then enable it after those tuples having being inserted? Just as the followings:
  >disable index update
  >insert into A ....//here will insert 20 millions tuples
  > enable index update

  The purpose is to improve the performance.
  Thanks!
peng

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Is this safe to perform on PostgreSQL 8.3.7 -> Resize a column in a PostgreSQL table without changing data
Next
From: Andrew Sullivan
Date:
Subject: Re: are there any methods to disable updating index before inserting large number tuples?