Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Parse overhead on Disabled constraints

Re: Parse overhead on Disabled constraints

From: Davide Bellesi <davide.bellesi_at_visto.com>
Date: Thu, 07 Sep 2000 02:26:18 -0700
Message-Id: <10612.116381@fatcity.com>


Hi, instead of talking about the performace overhead caused by enabled co= nstraints i want to give you a simple example describing a worst scenario=  :

Suppose to have a table A with a foreign Key on the field a1 pointing to = the field b1 of table B

Suppose to delete N record from the table B If the field a1 wasn't indexed you would wait for N full table scans on A

Hope this helps
Davide

-----Original Message-----
From: MVallath_at_cs.com
Sent: Wed, 06 Sep 2000 21:20:28 -0800 To: ORACLE-L_at_fatcity.com
Subject: Parse overhead on Disabled constraints

What is the performance overhead (if any) on disabled constraints? My=20 assumption is that Oracle will have to validate if a constraint is availa= ble=20
and what the status is (ENABLED OR DISABLED). There should be a performa= nce=20
impact, with having=20
constraints in ENABLED state

         Vs=20
        having constraints in DISABLED state=20
         Vs=20
        No constraints or constraints dropped.

Any ideas or stats on this subject.

Thanks

Murali Vallath

--=20
Author:=20
  INET: MVallath_at_cs.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
_________________________________________________________________________=
__
Visit http://www.visto.com/info, your free web-based communications cente= Received on Thu Sep 07 2000 - 04:26:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US