X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 06574D1CE3E for ; Wed, 11 Feb 2004 14:16:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 28343-02 for ; Wed, 11 Feb 2004 10:16:14 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 967BDD1B4D2 for ; Wed, 11 Feb 2004 10:16:10 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i1BEGA1Y008021 for ; Wed, 11 Feb 2004 14:16:10 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i1BECWMf006710 for pgsql-admin@postgresql.org; Wed, 11 Feb 2004 14:12:32 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: constraints and performance Date: Wed, 11 Feb 2004 09:06:46 -0500 Organization: cbbrowne Computing Inc Lines: 20 Message-ID: References: <402A2C3D.7010009@virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org X-message-flag: Outlook is rather hackable, isn't it? X-Home-Page: http://www.cbbrowne.com/info/ X-Affero: http://svcs.affero.net/rm.php?r=cbbrowne User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:e9y8vJqP1tbULQCvGhvoSqEJYYs= To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/177 X-Sequence-Number: 12351 A long time ago, in a galaxy far, far away, jkanter@virginia.edu (Jodi Kanter) wrote: > Do constraints effect performance significantly? They would be expected to provide a significant enhancement to performance over: a) Firing triggers, b) Firing rules, and c) Forcing the application to validate the data, and then adding in "data validation" reports to report on the cases where a buggy application violated the constraints. So yes, they should be considerably faster than any of their alternatives. -- wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','ntlug.org'). http://cbbrowne.com/info/lsf.html "The only constructive theory connecting neuroscience and psychology will arise from the study of software." -- Alan Perlis [To the endless aggravation of both disciplines. Ed.]