Discover how to check how many processes running in oracle, include the articles, news, trends, analysis and practical advice about how to check how many processes running in oracle on alibabacloud.com
Label:Overview of Oracle's main processesData write Process (DBWR): Responsible for writing changed data from the database buffer cache to the data fileLog write Process (LGWR): Writes changes in the redo log buffer to the online redo log fileSystem Monitoring (Smon): Check database consistency If necessary also initiates recovery of the database when the database is openedProcess monitoring (Pmon): Responsible for cleaning up resources when an
Query the SQL information of oracle processes that occupy the CPU 1: first, use the TOP command to pass the SPID number pid username thr pri nice size res state time cpu COMMAND3575 oracle 1 12 0 0 K 0 K run 748.6 H 24.98% oracle3571 oracle 1 22 0 0 0 K 0 K sleep 706.2 H 22.84% ora
Check the Statement of the Oracle transaction and the statement of the oracle transaction.
SQL> SELECT KTUXEUSN, KTUXESLT, KTUXESQN, /* Transaction ID */ 2 KTUXESTA Status, KTUXECFL Flags ,KTUXESIZ 3 FROM x$ktuxe 4 WHERE ktuxesta!='INACTIVE'; KTUXEUSN KTUXESLT KTUXESQN STATUS FLAGS KTUXESIZ---------- ---------- ---
Check the maximum number of connections allowed by the oracle database and the current number of connections.
Step 1: On the cmd command line, enter sqlplus
Step 2: Enter the user name and password as prompted
1. view the processes and sessions Parameters
SQL> show parameter processes
NAME TYPE VALUE
Db_writer_process
Oracle views the maximum number of connections allowed and the number of current connections among other information the relationship between the maximum number of concurrent connections in oracle: sessions1.1 * processes5 currently summarized statements, useful in viewing data connections, after writing the program, you can test the code and view the release of the database connection. This helps you analy
Query initialization parameters A lot of ways, such as show PARAMETER, or query V$parameter, here a brief summary.
This article describes the Create Pfile method to check initialization parameters.
There are a number of methods that are used to query initialization parameters in a database. In fact, there is a more obvious way, is the way to create Pfile:
Sql> Show Parameter SPFile
NAME TYPE VALUE
------------------------------------ -----------
[1] 1. select name, log_mode from v $ database; NAME LOG_MODE ------------------ ------------------------ query noarchivelog 2. use the archive log list Command Database log mode No Archive Mode Automatic archival Disabled Archive destination/data/oracle/product/10.2.0/db_1/dbs/arch Oldest online log sequence 739 Current log sequence 741 what is Oracle archive mode? Ora
One simple health check for oracle with SQL There are some sqls which is used for check the oracle database's health condition.
[sql] ------numbers of process [sql] select count(*) process_num from v$process; [sql] select SESSIONS_MAX,SESSIONS_CURRENT,SESSIONS_HIGHWATER from v$license; --parameters: show parameter
A large number of zombie processes have been eliminated in the previous article, but this approach can only be palliative and not permanent.
In addition to the large number of Racgmain check processes seen in the operating system, some Racgimon sessions are visible in the database:
Sql> SELECT SID, USERNAME, program, EVENT, seconds_in_wait time
2 from V$sessio
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.