Re: COPY FROM command v8.1.4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mr(dot) Dan" <bitsandbytes88(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: COPY FROM command v8.1.4
Date: 2006-09-11 19:12:16
Message-ID: 5558.1158001936@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Mr. Dan" <bitsandbytes88(at)hotmail(dot)com> writes:
> We have a table with 12028587 records in it.
> We do a COPY TO file of the records for this table.
> We count the number of records in the file, it has 12028587 lines.
> We do a COPY FROM that file into a table with identical structure as the
> first table.
> We count the number of records in the second table and there are only
> 12028538 records.

Try dumping the second table with COPY TO and diff'ing the dump files
to get more detail about what's missing.

If you repeat the entire experiment, are the same records missing each
time? I'm wondering about flaky hardware as much as anything.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Liustech 2006-09-12 06:26:11 real and effective user ids must match
Previous Message Mr. Dan 2006-09-11 18:55:26 COPY FROM command v8.1.4