国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > 綜合 > 正文

來自AskTom的關于Soft Parse的解釋

2024-07-21 02:07:13
字體:
來源:轉載
供稿:網友

there are two types of parses (well, actually "three" these days).

they are

o hard parse -- the query has never been seen before, isn't in the shared pool. 
we must parse it, hash it, look in the shared pool for it, don't find it,
security check it, optimize it, etc (lots of work).

o soft parse -- the query has been seen before, is in the shared poo.  we have
to parse it, hash it, look in the shared pool for it and find it (less work then
a hard parse but work none the less)

o a kinder, softer soft parse -- you are using session_cached_cursors (search
this site for that word for info).  we take your query, look in the sessions
cursor cache -- find the cursor and reuse it.  very very little work.

so, after "startup", you go into sqlplus and do this:

sql> alter session set session_cached_cursors=0; -- just making sure this is off
sql> select * from emp;  -- hard parse
sql> select * from emp; -- soft parse
sql> select * from emp; -- soft parse
sql> alter session set session_cached_cursors=100; -- enable this feature
sql> select * from emp;  -- soft parse
sql> select * from emp; -- kinder, gentler, soft parse

link:

http://asktom.oracle.com/pls/ask/f?p=4950:8:::::f4950_p8_displayid:801662252143



 
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 五指山市| 霞浦县| 罗山县| 云和县| 特克斯县| 拉孜县| 浦东新区| 图片| 正定县| 新乐市| 盐边县| 林州市| 孟村| 马龙县| 岳阳县| 福贡县| 弥勒县| 大荔县| 贺兰县| 铜川市| 高唐县| 拉萨市| 郑州市| 甘德县| 闵行区| 大悟县| 紫云| 牙克石市| 洱源县| 安泽县| 噶尔县| 大埔区| 东兴市| 芜湖县| 高雄县| 淮安市| 凉山| 达州市| 吉安市| 佛学| 同江市|