RE: ENQUEUE RESOURCES and DML LOCKS

2001-08-30 Thread Reardon, Bruce (CALBBAY)

Ethan,

And for a simple script I find handy to look at v$resource_limit:

-- resource_usage.sql
--
-- 25-Aug-2000 Bruce Reardon
--
-- Show the resource usage, including calculated percentage values
--

set pagesize 1000
set linesize 150

column current_utilization heading "Current|Utilisation" format 
column max_utilization heading "Max|Utilisation" format 
column initial_allocation heading "Initial|Allocation" format A10
column limit_value heading "Limit|Value" format A10
column cur_pcnt FORMAT 999.99
column max_pcnt FORMAT 999.99

 select
resource_name ,
current_utilization ,
max_utilization ,
initial_allocation ,
limit_value ,
TO_NUMBER ( decode( limit_value , ' 0' , '100' ,
  ' UNLIMITED' , '0' ,
  TO_CHAR(current_utilization / limit_value *
100) ) ) cur_pcnt ,
TO_NUMBER ( decode( limit_value , ' 0' , '100' ,
  ' UNLIMITED' , '0' ,
  TO_CHAR(max_utilization / limit_value * 100) )
) max_pcnt 
 from
v$resource_limit
 order by
max_pcnt ;


-Original Message-
Sent: Thursday, 16 August 2001 6:48 

Thanks, I have access to it, will look it up. - E

>-Original Message-
>From: K Gopalakrishnan [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 15, 2001 1:29 PM
>
>Hi, !
>
>Oracle 8i Internal Services (Steve Adams) has  a nice discussion abt
>this topic.Sorry, RIght now I don't have the book with me.
>
>
>
>--- "Post, Ethan" <[EMAIL PROTECTED]> wrote:
>> What would I see if these are set too low and where would I find it?
>>  
>> - Ethan
>> - http://www.geocities.com/epost1  
>
>Best Regards,
>K Gopalakrishnan,
>Bangalore, INDIA.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reardon, Bruce (CALBBAY)
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



Re: ENQUEUE RESOURCES and DML LOCKS

2001-08-15 Thread Riyaj_Shamsudeen

v$resource_limit. Look at the max_utilitization and initial_allocation columns..

Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
i2 technologies   www.i2.com






"Post, Ethan" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
08/15/01 02:51 PM
Please respond to ORACLE-L

        
        To:        Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
        cc:        
        Subject:        ENQUEUE RESOURCES and DML LOCKS


What would I see if these are set too low and where would I find it?
 
- Ethan
- http://www.geocities.com/epost1  

--
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.

==
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Post, Ethan
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).




RE: ENQUEUE RESOURCES and DML LOCKS

2001-08-15 Thread Post, Ethan

Thanks, I have access to it, will look it up. - E

>-Original Message-
>From: K Gopalakrishnan [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 15, 2001 1:29 PM
>To: Multiple recipients of list ORACLE-L
>Subject: Re: ENQUEUE RESOURCES and DML LOCKS
>
>
>Hi, !
>
>Oracle 8i Internal Services (Steve Adams) has  a nice discussion abt
>this topic.Sorry, RIght now I don't have the book with me.
>
>
>
>--- "Post, Ethan" <[EMAIL PROTECTED]> wrote:
>> What would I see if these are set too low and where would I find it?
>>  
>> - Ethan
>> - http://www.geocities.com/epost1 <http://www.geocities.com/epost1> 
>> 
>> 
>
>=
>Have a nice day !!
>
>Best Regards,
>K Gopalakrishnan,
>Bangalore, INDIA.
>
>__
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! 
>Messenger
>http://phonecard.yahoo.com/
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>-- 
>Author: K Gopalakrishnan
>  INET: [EMAIL PROTECTED]
>
>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: [EMAIL PROTECTED] (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).
>

--
This e-mail is intended for the use of the addressee(s) only and may contain 
privileged, confidential, or proprietary information that is exempt from disclosure 
under law.  If you have received this message in error, please inform us promptly by 
reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.

==
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Post, Ethan
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



RE: ENQUEUE RESOURCES and DML LOCKS

2001-08-15 Thread Henry Poras

You can set dml_locks in your init.ora. I believe the only drawback to
increasing this is loss of a small bit of memory. I think each dml_lock slot
takes about 100 bytes (it's written up in Steve Adams' book). If I remember
correctly, enqueue_resources can also be set in the init.ora, but if you
don't set it, its value will be recalculated using the new dml_locks. Not
sure about this though.

Henry

-Original Message-
Sent: Wednesday, August 15, 2001 3:52 PM
To: Multiple recipients of list ORACLE-L


What would I see if these are set too low and where would I find it?
 
- Ethan
- http://www.geocities.com/epost1  


--
This e-mail is intended for the use of the addressee(s) only and may contain
privileged, confidential, or proprietary information that is exempt from
disclosure under law.  If you have received this message in error, please
inform us promptly by reply e-mail, then delete the e-mail and destroy any
printed copy.   Thank you.


==
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Post, Ethan
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Henry Poras
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



Re: ENQUEUE RESOURCES and DML LOCKS

2001-08-15 Thread K Gopalakrishnan

Hi, !

Oracle 8i Internal Services (Steve Adams) has  a nice discussion abt
this topic.Sorry, RIght now I don't have the book with me.



--- "Post, Ethan" <[EMAIL PROTECTED]> wrote:
> What would I see if these are set too low and where would I find it?
>  
> - Ethan
> - http://www.geocities.com/epost1  
> 
> 

=
Have a nice day !!

Best Regards,
K Gopalakrishnan,
Bangalore, INDIA.

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: K Gopalakrishnan
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).