ORACLE-ORCLCDB@SYS> select banner_full from v$version;
BANNER_FULL ------------------------------------------------------------------------ Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0
|
compute sum label 'Total' of "Num Of Parameters" on report break on report WITH cte_params AS ( SELECT a.ksppinm FROM x$ksppi a JOIN x$ksppcv b ON a.indx = b.indx
) SELECT * FROM ( SELECT '1. Single underscore parameters' AS "CATEGORY" , COUNT(1) AS "Num Of Parameters" FROM cte_params WHERE REGEXP_LIKE(ksppinm, '^([_][^_]){1}.*') UNION SELECT '2. Double underscore parameters' , COUNT(1) FROM cte_params WHERE REGEXP_LIKE(ksppinm, '^[_]{2}.*') UNION SELECT '3. Non hidden parameters' , COUNT(1) FROM cte_params WHERE REGEXP_LIKE(ksppinm, '^[^_].*') ) ORDER by category;
|
カウントした結果配は以下のとおり。やはりhidden parameter、かなり増えてますよね。
CATEGORY Num Of Parameters ------------------------------- ----------------- 1. Single underscore parameters 4934 2. Double underscore parameters 30 3. Non hidden parameters 448 ----------------- Total 5412
経過: 00:00:00.06
|
コメント