Re: Constraint Error effect on PostgreSQL

From: Richard Huxton <dev(at)archonet(dot)com>
To: "Christian Paul B(dot) Cosinas" <cpc(at)cybees(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Constraint Error effect on PostgreSQL
Date: 2006-03-13 17:39:26
Message-ID: 4415AE4E.9000402@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Christian Paul B. Cosinas wrote:
>
> Then I have a program that insert 1(one) million times like this:
> Insert into unique_items(item_id) values('Item001)
>
> Ofcourse we all know that it will fail because there is already a record in
> the database.
>
> Would there be any bad effect on the database or none?

No long-term effects. Obviously it takes time to run one million queries
even if they are all inserts that fail.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message PFC 2006-03-13 20:51:42 Re: Permission to Select
Previous Message Michael Fuhr 2006-03-13 16:12:07 Re: connectby documentation