"Ciprian Dorin Craciun" <ciprian.craciun@xxxxxxxxx> writes: > On Fri, Nov 21, 2008 at 6:06 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: >> Not sure if it applies to your real use-case, but if you can try doing >> the COPY from a local file instead of across the network link, it >> might go faster. Also, as already noted, drop the redundant index. > It won't be that difficult to use a local file (now I'm using the > same computer), but will it really make a difference? Yes. I'm not sure how much, but there is nontrivial protocol overhead. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general