自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

查詢Oracle數(shù)據(jù)庫中的游標(biāo)數(shù)

數(shù)據(jù)庫 Oracle
想要知道Oracle數(shù)據(jù)庫中的游標(biāo)數(shù),應(yīng)該如何實(shí)現(xiàn)呢?下面就教您一個(gè)查詢Oracle數(shù)據(jù)庫中的游標(biāo)數(shù)的方法,供您參考學(xué)習(xí)。

除了查詢Oracle數(shù)據(jù)庫的數(shù)據(jù)之外,我們還可以查詢Oracle數(shù)據(jù)庫的游標(biāo)數(shù),下面就為您詳細(xì)介紹該方法,希望對(duì)您學(xué)習(xí)查詢Oracle數(shù)據(jù)庫方面能有所幫助。

select o.sid,osuser,machine,count(*) num_curs from v$open_cursor o,v$session s where user_name='cportal' and o.sid=s.sid group by o.sid,osuser,machine order by num_curs desc;

查詢cportal用戶的游標(biāo)數(shù)。去掉user_name為所以用戶的游標(biāo)數(shù)。

show parameter open_cursors;

獲得配置文件(init.ora)中為oracle配置的***游標(biāo)數(shù)。

select q.sql_text from v$open_cursor o,v$sql q where q.hash_value=o.hash_value and o.sid=217;

獲取為游標(biāo)執(zhí)行的 SQL。

select count(*) from v$open_cursor;

查詢Oracle數(shù)據(jù)庫當(dāng)前游標(biāo)總數(shù)。
 

 

 

 

【編輯推薦】

oracle多表查詢實(shí)例

ORACLE數(shù)據(jù)庫設(shè)置編碼

oracle日期格式化的實(shí)現(xiàn)

Oracle內(nèi)存結(jié)構(gòu)--SGA

帶您了解ORACLE resource角色

   

責(zé)任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2019-10-16 00:37:36

Oracle數(shù)據(jù)庫游標(biāo)數(shù)

2010-10-27 17:11:35

oracle查詢

2012-07-23 14:30:33

Oracle

2010-10-21 14:12:07

SQL Server游

2011-07-29 10:36:43

游標(biāo)Oracle數(shù)據(jù)庫

2009-07-02 00:00:00

OOPOracle

2009-09-04 09:54:59

數(shù)據(jù)庫名

2010-10-26 15:21:11

連接Oracle數(shù)據(jù)庫

2011-08-16 16:37:40

Oracle數(shù)據(jù)庫樹形查詢根節(jié)點(diǎn)

2011-03-01 16:30:55

Oracle

2010-04-07 17:45:22

Oracle位圖索引

2011-03-11 16:25:53

Oracle數(shù)據(jù)庫

2011-05-26 13:36:40

Oracle數(shù)據(jù)庫時(shí)間處理

2011-05-24 14:13:20

Oracle數(shù)據(jù)庫

2009-11-18 16:16:51

Oracle數(shù)據(jù)庫

2010-10-26 15:30:12

連接Oracle數(shù)據(jù)庫

2010-05-05 15:45:52

Oracle數(shù)據(jù)庫

2010-04-26 13:54:04

Oracle查看

2010-04-23 14:32:01

Oracle數(shù)據(jù)庫

2009-05-18 13:18:54

字符Oracle字符串
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)