cursor_space_for_time 表示de意思
2010-11-30 19:15
519 查看
根据Oracle Metalink文档 Note:565424.1,CURSOR_SPACE_FOR_TIME 参数已经被Oracle放弃。
最先放弃的版本是:10.2.0.5 and 11.1.0.7
在早期的版本中,用户可以通过设置这个参数为True,使得Oracle使用更多的Shared SQL Area去保存SQL,从而提高反复执行SQL解析的速度。
然而随着Oracle Mutexes Pin机制的引入,用户已经几乎不再会从这个参数中受益,加上在某些特定的环境下,这个参数可能会导致严重Bug,随意最终,这个参数被废弃。
在文档中,这个参数的说明大致如下:
CURSOR_SPACE_FOR_TIME lets you use more space for cursors in order to save time. It affects both the shared SQL area and the client's private SQL area.
Values True means take the benifits of this parameter,With True setting Shared SQL areas are kept pinned in the shared pool. As a result, shared SQL areas are not aged out of the pool as long as an open cursor references them. Because each active cursor's SQL area is present in memory, execution is faster. However, the shared SQL areas never leave memory while they are in use. Therefore, you should set this parameter to TRUE only when the shared pool is large enough to hold all open cursors simultaneously.
In addition, a setting of TRUE retains the private SQL area allocated for each cursor between executions instead of discarding it after cursor execution, saving cursor allocation and initialization time
最先放弃的版本是:10.2.0.5 and 11.1.0.7
在早期的版本中,用户可以通过设置这个参数为True,使得Oracle使用更多的Shared SQL Area去保存SQL,从而提高反复执行SQL解析的速度。
然而随着Oracle Mutexes Pin机制的引入,用户已经几乎不再会从这个参数中受益,加上在某些特定的环境下,这个参数可能会导致严重Bug,随意最终,这个参数被废弃。
在文档中,这个参数的说明大致如下:
CURSOR_SPACE_FOR_TIME lets you use more space for cursors in order to save time. It affects both the shared SQL area and the client's private SQL area.
Values True means take the benifits of this parameter,With True setting Shared SQL areas are kept pinned in the shared pool. As a result, shared SQL areas are not aged out of the pool as long as an open cursor references them. Because each active cursor's SQL area is present in memory, execution is faster. However, the shared SQL areas never leave memory while they are in use. Therefore, you should set this parameter to TRUE only when the shared pool is large enough to hold all open cursors simultaneously.
In addition, a setting of TRUE retains the private SQL area allocated for each cursor between executions instead of discarding it after cursor execution, saving cursor allocation and initialization time
相关文章推荐
- session_cached_cursors,cursor_space_for_time,gets,pin
- CURSOR_SPACE_FOR_TIME
- 其中 (%{WORD:x_forword}|-) |表示或的意思
- 其中 (%{WORD:x_forword}|-) |表示或的意思
- Using CURSOR_SPACE_FOR_TIME
- Notes of “Fast Bilateral-Space Stereo for Synthetic Defocus”
- 论文阅读之:Deep Meta Learning for Real-Time Visual Tracking based on Target-Specific Feature Space
- Real time dashboard for redis
- ERROR 1067 (42000): Invalid default value for 'add_time'
- TSPITR:Tablespace Point-in-Time Recovery实例
- 动作识别之STIP(Space-Time Interest Point)(五)
- Error:Execution failed for task ':myapp:dexDebug'. com.android.ide.common.process.ProcessException:
- Tecnico Prevencion de riesgos profesionales: ya sabes!!! La unica manera de comenzar a trabajar en el entorno de la prevencion de riesgos es estudiando y formandote FP en nuestras aulas de formacion.
- 11g Release 2 enhanced Tablespace Point In Time Recovery
- 论文笔记《A CNN Regression Approach for Real-Time 2D/3D Registration 》
- 多尺度R-CNN论文笔记(4): PVANET: Deep but Lightweight Neural Networks for Real-time Object Detection
- sql server 中延迟时间的方法 waitfor delay / time
- Method of address space layout randomization for windows operating systems
- srand(time(NULL))是什么意思?
- VIO当中的预计分 《On-manifold preintegration for real-time visual-inertial Odometry》