ITPub博客

首页 > 数据库 > Oracle > x$ksppi 和x$ksppcv 详细解释

x$ksppi 和x$ksppcv 详细解释

Oracle 作者:xypincle 时间:2017-04-06 09:29:46 0 删除 编辑

  1. $ksppi 和x$ksppcv 基本包含了所有的数据库参数


  2. SQL> desc x$ksppi
  3. 名称 是否为空? 类型
  4. ----------------------------------------- -------- ----------------------------

  5. ADDR RAW(4)
  6. INDX NUMBER
  7. INST_ID NUMBER
  8. KSPPINM VARCHAR2(64)
  9. KSPPITY NUMBER
  10. KSPPDESC VARCHAR2(64)
  11. KSPPIFLG NUMBER

  12. SQL>

  13. SQL> desc x$ksppcv
  14. 名称 是否为空? 类型
  15. ----------------------------------------- -------- ----------------------------

  16. ADDR RAW(4)
  17. INDX NUMBER
  18. INST_ID NUMBER
  19. KSPPSTVL VARCHAR2(512)
  20. KSPPSTDF VARCHAR2(9)
  21. KSPPSTVF NUMBER
  22. KSPPSTCMNT VARCHAR2(255)

  23. SQL> desc x$ksppi
  24. 名称 是否为空? 类型
  25. ------------ -------- ---------------
  26. ADDR RAW(4) --内存地址
  27. INDX NUMBER --序号,从0开始
  28. INST_ID NUMBER --instance number
  29. KSPPINM VARCHAR2(64) --参数名称
  30. KSPPITY NUMBER --参数类型 1,'boolean' 2,'string', 3,'number',4,'file
  31. KSPPDESC VARCHAR2(64) --描述
  32. KSPPIFLG NUMBER --标志字段(用来说明是isses_modifiable or issys_modifiable
  33. SQL> desc x$ksppcv
  34. 名称 是否为空? 类型
  35. ------------- -------- -------------
  36. ADDR RAW(4) --内存地址
  37. INDX NUMBER --序号,从0开始
  38. INST_ID NUMBER --instance number
  39. KSPPSTVL VARCHAR2(512) --当前值
  40. KSPPSTDF VARCHAR2(9) --缺省值
  41. KSPPSTVF NUMBER --标志字段,用来说明('Modified' or 'System Modified' or is_adjusted)
  42. KSPPSTCMNT VARCHAR2(255) --comment
  43. 具体参见如下语句你就可以更清楚了
  44. select
  45. nam.indx+1 numb,
  46. nam.ksppinm name,
  47. val.ksppstvl value,
  48. nam.ksppity type,
  49. val.ksppstdf is_default,
  50. decode(bitand(nam.ksppiflg/256,1),
  51. 1,'True',
  52. 'False'
  53. ) is_session_modifiable,
  54. decode(bitand(nam.ksppiflg/65536,3),
  55. 1,'Immediate',
  56. 2,'Deferred' ,
  57. 3,'Immediate',
  58. 'False'
  59. ) is_system_modifiable,
  60. decode(bitand(val.ksppstvf,7),
  61. 1,'Modified',
  62. 4,'System Modified',
  63. 'False'
  64. ) is_modified,
  65. decode(bitand(val.ksppstvf,2),
  66. 2,'True',
  67. 'False'
  68. ) is_adjusted,
  69. nam.ksppdesc description
  70. from
  71. x$ksppi nam,
  72. x$ksppsv val
  73. where
  74. nam.indx = val.indx
  75. ;

  76. ---
  77. 原文地址:http://www.itpub.net/forum.php?mod=viewthread&tid=980084
  78.  
  79. 还有以下:
  80. [K]ernel Layer
  81. [2]-Phase Commit
  82. [G]lobal [T]ransaction [E]ntry
  83. X$K2GTE - Current 2PC tx
  84. X$K2GTE2 - Current 2PC tx
  85. [C]ache Layer
  86. [B]uffer Management
  87. Buffer [H]ash
  88. X$BH - Hash Table
  89. Buffer LRU Statistics
  90. X$KCBCBH - [C]urrent [B]uffers (buckets) - lru_statistics
  91. X$KCBRBH - [R]ecent [B]uffers (buckets) - lru_extended
  92. Buffer [WAIT]s
  93. X$KCBWAIT - Waits by block class
  94. X$KCBFWAIT - Waits by File
  95. [W]orking Sets - 7.3 or higher
  96. X$KCBWDS - Set [D]escriptors
  97. [C]ontrol File Management
  98. [C]ontrol [F]ile List - 7.0.16 or higher
  99. X$KCCCF - Control File Names & status
  100. [D]atabase [I]nformation
  101. X$KCCDI - Database Information
  102. Data [F]iles
  103. X$KCCFE - File [E]ntries ( from control file )
  104. X$KCCFN - [F]ile [N]ames
  105. [L]og Files
  106. X$KCCLE - Log File [E]ntries
  107. - Log [H]istory ( archive entries )
  108. Thread Information
  109. X$KCCRT - [R]edo [T]hread Information
  110. [F]ile Management
  111. X$KCFIO - File [IO] Statistics
  112. [L]ock Manager Component ( LCK )
  113. [H]ash and Bucket Tables - 7.0.15 to 7.1.1, and 7.2.0 or higher
  114. X$KCLFH - File [H]ash Table
  115. X$KCLFI - File Bucket Table
  116. X$LE - Lock [E]lements
  117. X$LE_STAT - Lock Conversion [STAT]istics
  118. X$KCLFX - Lock Element [F]ree list statistics - 7.3 or higher
  119. X$KCLLS - Per LCK free list statistics - 7.3 or higher
  120. X$KCLQN - [N]ame (hash) table statistics - 7.3 or higher
  121. [R]edo Component
  122. [M]edia recovery - kcra.h - 7.3 or higher
  123. X$KCRMF - [F]ile context
  124. X$KCRMT - [T]hread context
  125. X$KCRMX - Recovery Conte[X]t
  126. [F]ile read
  127. X$KCRFX - File Read Conte[X]t - 7.3 or higher
  128. Reco[V]ery Component
  129. [F]ile [H]eaders
  130. X$KCVFH - All file headers
  131. X$KCVFHMRR - Files with [M]edia [R]ecovery [R]equired
  132. X$KCVFHONL - [ONL]ine File headers
  133. [K]ompatibility Management - 7.1.1 or higher
  134. X$KCKCE - [C]ompatibility Segment [E]ntries
  135. X$KCKTY - Compatibility [TY]pes
  136. X$KCKFM - Compatibility [F]or[M]ats ( index into X$KCKCE )
  137. [D]ata Layer
  138. Sequence [N]umber Component
  139. X$KDNCE - Sequence [C]ache [E]ntries - 7.2 or lower
  140. [S]equence Enqueues - common area for enqueue objects
  141. X$KDNSSC - [C]ache Enqueue Objects - 7.2 or lower
  142. X$KDNSSF - [F]lush Enqueue Objects - 7.2 or lower
  143. X$KDNST - Cache [ST]atistics - 7.2 or lower
  144. Inde[X] Block Component
  145. X$KDXHS - Index [H]i[S]togram
  146. X$KDXST - Index [ST]atistics
  147. [G]eneric Layer
  148. [H]eap Manager
  149. X$KGHLU - State (summary) of [L]R[U] heap(s) - defined in ksmh.h
  150. [I]nstantiation Manager
  151. [C]ursor [C]ache
  152. X$KGICC - Session statistics - defined in kqlf.h
  153. X$KGICS - System wide statistics - defined in kqlf.h
  154. [L]ibrary Cache Manager ( defined and mapped from kqlf )
  155. Bind Variables
  156. X$KKSBV - Library Object [B]ind [V]ariables
  157. Object Cache
  158. X$KGLOB - All [OB]jects
  159. X$KGLTABLE - Filter for [TABLE]s
  160. X$KGLBODY - Filter for [BODY] ( packages )
  161. X$KGLTRIGGER - Filter for [TRIGGER]s
  162. X$KGLINDEX - Filter for [INDEX]es
  163. X$KGLCLUSTER - Filter for [CLUSTER]s
  164. X$KGLCURSOR - Filter for [CURSOR]s
  165. Cache Dependency
  166. X$KGLDP - Object [D]e[P]endency table
  167. X$KGLRD - [R]ead only [D]ependency table - 7.3 or higher
  168. Object Locks
  169. X$KGLLK - Object [L]oc[K]s
  170. Object Names
  171. X$KGLNA - Object [NA]mes (sql text)
  172. X$KGLNA1 - Object [NA]mes (sql text) with newlines - 7.2.0 or higher
  173. Object Pins
  174. X$KGLPN - Object [P]i[N]s
  175. Cache Statistics
  176. X$KGLST - Library cache [ST]atistics
  177. Translation Table
  178. X$KGLTR - Address [TR]anslation
  179. Access Table
  180. X$KGLXS - Object Access Table
  181. Authorization Table - 7.1.5 or higher
  182. X$KGLAU - Object Authorization table
  183. Latch Cleanup - 7.0.15 or higher
  184. X$KGLLC - [L]atch [C]leanup for Cache/Pin Latches
  185. [K]ompile Layer
  186. [S]hared Objects
  187. X$KKSAI - Cursor [A]llocation [I]nformation - 7.3.2 or higher
  188. [L]oader
  189. [L]ibrary
  190. X$KLLCNT - [C]o[NT]rol Statistics
  191. X$KLLTAB - [TAB]le Statistics
  192. [M]ulti-Threaded Layer
  193. [C]ircuit component
  194. X$KMCQS - Current [Q]ueue [S]tate
  195. X$KMCVC - [V]irtual [C]ircuit state
  196. [M]onitor Server/dispatcher
  197. [D]ispatcher
  198. X$KMMDI - [D]ispatcher [I]nfo (status)
  199. X$KMMDP - [D]ispatcher Config ( [P]rotocol info )
  200. [S]erver
  201. X$KMMSI - [S]erver [I]nfo ( status )
  202. X$KMMSG - [SG]a info ( global statistics)
  203. X$KMMRD - [R]equest timing [D]istributions
  204. s[Q]l Version and Option Layer
  205. Kernel [V]ersions
  206. X$VERSION - Library versions
  207. Kernel [O]ptions - 7.1.3 or higher
  208. X$OPTION - Server Options
  209. [Q]uery Layer
  210. [D]ictionary Cache Management
  211. X$KQDPG - [PG]a row cache cursor statistics
  212. [F]ixed Tables/views Management
  213. X$KQFCO - Table [CO]lumn definitions
  214. X$KQFDT - [D]erived [T]ables
  215. X$KQFSZ - Kernel Data structure type [S]i[Z]es
  216. X$KQFTA - Fixed [TA]bles
  217. X$KQFVI - Fixed [VI]ews
  218. X$KQFVT - [V]iew [T]ext definition - 7.2.0 or higher
  219. [R]ow Cache Management
  220. X$KQRST - Cache [ST]atistics
  221. X$KQRPD - [P]arent Cache [D]efinition - 7.1.5 or higher
  222. X$KQRSD - [S]ubordinate Cache [D]efinition - 7.1.5 or higher
  223. [S]ervice Layer
  224. [B]ackground Management
  225. [D]etached Process
  226. X$KSBDD - Detached Process [D]efinition (info)
  227. X$KSBDP - Detached [P]rocess Descriptor (name)
  228. X$MESSAGES - Background Message table
  229. [I]nstance [M]anagement - 7.3 or higher
  230. X$KSIMAT - Instance [AT]tributes
  231. X$KSIMAV - [A]ttribute [V]alues for all instances
  232. X$KSIMSI - [S]erial and [I]nstance numbers
  233. [L]ock Management
  234. [E]vent Waits
  235. X$KSLED - Event [D]escriptors
  236. X$KSLEI - [I]nstance wide statistics since startup
  237. X$KSLES - Current [S]ession statistics
  238. [L]atches
  239. X$KSLLD - Latch [D]escriptor (name)
  240. X$KSLLT - Latch statistics [ + Child latches @ 7.3 or higher ]
  241. X$KSLLW - Latch context ( [W]here ) descriptors - 7.3 or higher
  242. X$KSLPO - Latch [PO]st statistics - 7.3 or higher
  243. X$KSLWSC- No[W]ait and [S]leep [C]ount stats by Context -7.3 or higher
  244. [M]emory Management
  245. [C]ontext areas
  246. X$KSMCX - E[X]tended statistics on usage - 7.3.1 or lower
  247. Heap Areas
  248. X$KSMSP - SGA Hea[P]
  249. X$KSMPP - [P]GA Hea[P] - 7.3.2 and above
  250. X$KSMUP - [U]GA Hea[P] - 7.3.2 and above
  251. X$KSMHP - Any [H]ea[P] - 7.3.2 and above
  252. X$KSMSPR- [S]hared [P]ool [R]eserved List - 7.1.5 or higher
  253. [L]east recently used shared pool chunks
  254. X$KSMLRU - LR[U] flushes from the shared pool
  255. [S]GA Objects
  256. X$KSMSD - Size [D]efinition for Fixed/Variable summary
  257. X$KSMSS - Statistics (lengths) of SGA objects
  258. SGA [MEM]ory
  259. X$KSMMEM - map of the entire SGA - 7.2.0 or higher
  260. X$KSMFSV - Addresses of [F]ixed [S]GA [V]ariables - 7.2.1 or higher
  261. [P]arameter Component
  262. X$KSPPI - [P]arameter [I]nfo ( Names )
  263. X$KSPPCV - [C]urrent Session [V]alues - 7.3.2 or above
  264. X$KSPPSV - [S]ystem [V]alues - 7.3.2 or above
  265. En[Q]ueue Management
  266. X$KSQDN - Global [D]atabase [N]ame
  267. X$KSQEQ - [E]n[Q]ueue Object
  268. X$KSQRS - Enqueue [R]e[S]ource
  269. X$KSQST - Enqueue [S]tatistics by [T]ype
  270. [U]ser Management
  271. [C]ost
  272. X$KSUCF - Cost [F]unction (resource limit)
  273. [L]icence
  274. X$KSULL - Licence [L]imits
  275. [L]anguage Manager
  276. X$NLS_PARAMETERS - NLS parameters
  277. X$KSULV - NLS [V]alid Values - 7.1.2 or higher
  278. [MY] [ST]atistics
  279. X$KSUMYSTA - [MY] [ST]atisics (current session)
  280. [P]rocess Info
  281. X$KSUPL - Process (resource) [L]imits
  282. X$KSUPRLAT - [LAT]ch Holder
  283. X$KSUPR - Process object
  284. [R]esource
  285. X$KSURU - Resource [U]sage
  286. [S]tatistics
  287. X$KSUSD - [D]escriptors (statistic names)
  288. X$KSUSGSTA - [G]lobal [ST]atistics
  289. [SE]ssions
  290. X$KSUSECST - Session status for events
  291. X$KSUSESTA - Session [STA]tistics
  292. X$KSUSECON - [CON]nection Authentication - 7.2.1 or higher
  293. X$KSUSE - [SE]ssion Info
  294. X$KSUSIO - [S]ystem [IO] statistics per session
  295. [T]imer
  296. X$KSUTM - Ti[M]e in 1/100th seconds
  297. Instance [X]
  298. X$KSUXSINST - [INST]ance state
  299. [T]race management
  300. X$TRACE - Current traced events
  301. X$TRACES - All possible traces
  302. X$KSTEX - Code [EX]ecution - 7.2.1 or higher
  303. E[X]ecution Management
  304. Device/Node [A]ffinity - 7.3.2 and above
  305. X$KSXAFA - Current File/Node Affinity
  306. [T]ransaction Layer
  307. Table [A]ccess [D]efinition
  308. X$KTADM - D[M]L lock
  309. [C]ontrol Component
  310. X$KTCXB - Transaction O[B]ject
  311. [S]or[T] Segments - 7.3 or higher
  312. X$KTSTSSD - [S]ort [S]egment [D]escriptor - per tablespace statistics
  313. [T]ablespace
  314. X$KTTVS - [V]alid [S]aveundo
  315. [U]ndo
  316. X$KTURD - Inuse [D]escriptors
  317. X$KTUXE - Transaction [E]ntry (table) - 7.3.2 or above
  318. Performance Layer [V] - 7.0.16 or higher
  319. [I]nformation tables
  320. X$KVII - [I]nitialisation Instance parameters
  321. X$KVIS - [S]izes of structure elements
  322. X$KVIT - [T]ransitory Instance parameters
  323. Security Layer [Z]
  324. [D]ictionary Component
  325. X$KZDOS - [OS] roles
  326. [S]ecurity State
  327. X$KZSPR - Enabled [PR]ivileges
  328. X$KZSRO - Enabled [RO]les
  329. [R]emote Logins - 7.1.1 or higher
  330. X$KZSRT - [R]emote Password File [T]able entries
  331. E[X]ecution Layer
  332. Parallel Query (Execute [F]ast) - 7.1.1 or higher
  333. [P]rocess and Queue Manager
  334. Statistics - 7.1.3 or higher
  335. X$KXFPYS - S[YS]tem Statistics
  336. X$KXFPDP - [D]etached [P]rocess (slave) statistics
  337. X$KXFQSROW - Table [Q]ueue Statistics - 7.3.2 or higher
  338. [C]oordinator Component
  339. X$KXFPCST - Query [ST]atistics
  340. X$KXFPCMS - [M]essage [S]tatistics
  341. X$KXFPCDS - [D]equeue [S]tatistics
  342. [S]lave Component
  343. X$KXFPSST - Query [ST]atistics
  344. X$KXFPSMS - [M]essage [S]tatistics
  345. X$KXFPCDS - [D]equeue [S]tatistics
  346. [S]hared Cursor
  347. X$KXSBD - [B]ind [D]ata - 7.3.2 and above
  348. X$KXSCC - SQL [C]ursor [C]ache Data - 7.3.2 and above
  349. [N]etwork Layer - 7.0.15 or higher
  350. Network [CO]nnections
  351. X$UGANCO - Current [N]etwork [CO]nnections

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28878983/viewspace-2136687/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-05-11

  • 博文量
    208
  • 访问量
    212338