首页
技术基础
备份恢复
SQL优化
诊断案例
BLOG
留言板
服务
生活
网摘
阅读
下载
墨天轮
English
eygle.com - 留言簿 - 发表留言 - Powered by eYgLe.Com
返回留言簿
删 除 留 言
管理密码:
请输入管理密码, 只有版主才能删除留言.
编 辑 留 言
管理密码:
请输入管理密码, 只有版主才能编辑留言.
昵称:
性别:
帅哥
美女
不告诉你
Email:
来自:
QQ:
主页:
信息图标: ( 随机 )
BB 代码:
字体
宋体
黑体
隶书
楷体
幼圆
Arial
颜色
天蓝
品蓝
蓝色
深蓝
橙色
橙红
深红
红色
砖红
暗红
绿色
灰绿
海绿
粉红
果红
桃红
紫色
紫蓝
棕木
沙褐
土黄
深褐
土绿
灰色
大小
1号
2号
3号
4号
5号
留言给(谁?):
内容:
盖老师,你好! 我在学习Oracle Concept资料的第8章《内存结构》时有一段话不是很明白,原文如下(第183页): A private SQL area continues to exist until the corresponding cursor is closed or the statement handle is freed. Although Oracle frees the runtime area after the statement completes, the persistent area remains waiting. Application developers close all open cursors that will not be used again to free the persistent area and to minimize the amount of memory required for users of the application. 我对上面这段话有几点不明: 1. curosr,run-time are,persistent area 的关系,是不是每执行一个SQL语句都会在PGA中首先run-time area,然后再是persistent area ? 2. 其次就是cursor的准确概念,如果是run-tiime area和persistent area 可以理解为实际的内存区域,那么cursor是不是一个逻辑上的概念,类似于内存指针? 3.run-time area和persistent area 存储的数据到底是什么?concept手册中对此的解析只提到persistent area包含了binding信息,但没有提到run-time的数据 4.文中提到persistent area 不会被自动关闭,必须显式关闭。为什么要这样?oracle这样做不是会留下存储空间隐患吗?除此之外会不会我们不关闭curor而导致记录被“锁”住的危险? 谢谢!望指点!
Copyright © 2003~2012
eygle.com
All Rights Reserved.
Powered by:
www.eygle.com