COPY and domains - Mailing list pgsql-general

From Tambet Matiisen
Subject COPY and domains
Date
Msg-id 81132473206F3A46A72BD6116E1A06AE1B15BA@black.aprote.com
Whole thread Raw
List pgsql-general
I noticed that COPY is getting very slow, when importing to table, which
makes use of domains as column datatypes. It seems like foreign key
validation is especially slow. It takes ages to import table with 25000
rows, which has foreign key reference to another table with 25000 rows.
I tried the same tables without domains and it was much faster.

PostgreSQL 7.3.2 on i386-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.3.

  Tambet

pgsql-general by date:

Previous
From: Steffen Macke
Date:
Subject: Correct Allocation of UNICODE string in C
Next
From: Oscar Estevez Lopez
Date:
Subject: extract and time zones