Solved

maximo open cursor

Posted on 2009-07-16
4
1,098 Views
Last Modified: 2013-12-19
folks

how do i determine the maximo open cursor setting on a database in oracle 10?
0
Comment
Question by:rutgermons
  • 2
4 Comments
 
LVL 40

Expert Comment

by:mrjoltcola
Comment Utility
From sqlplus / as sysdba

SQL> show parameter open_cursors

Or from any dba


SQL> select name, value from v$parameter where name like '%cursor%';
0
 
LVL 73

Expert Comment

by:sdstuber
Comment Utility
note on privileges...

SELECT_CATALOG_ROLE
or
select any dictionary
or
direct grant to v$parameter is sufficient.

you don't need DBA privileges to query the above info.
also note,  "show parameter" simlply issues a select against v$parameter for you and formats the results
so, if you don't have one or more of the above privileges, it won't work either.
0
 
LVL 47

Accepted Solution

by:
schwertner earned 500 total points
Comment Utility
select value from v$parameter where name='open_cursors';

To see the number of the opened cursors use:

select count(*) from v$open_cursor;

By users:

set trimspool on
set linesize 1000
break on report
comp sum of curs on report
select SUBSTR(User_Name,1,20) User_Name, SID, count(*) Curs from v$open_cursor group by User_Name,
SID order by User_Name, SID;
0
 
LVL 40

Expert Comment

by:mrjoltcola
Comment Utility
Hi rutgermons,

It is noted by sdstuber that you don't need DBA privs to see that view, however, it is unlikely that you can see that view if you are not a DBA, so you may have to ask your DBA for that info.

I don't condone connecting / as sysdba for every little option, but meant only to provide 2 options in the answer, and I have a bit of a habit of using / as sysdba since often asker's will take suggestions of system/manager literally when "manager" is not their password.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to take different types of Oracle backups using RMAN.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now