一 进程管理
疑问:通过后台进程停止的程序,会释放资源吗?
v$session 用户进程
SID
SERIAL#
PROGRAM
v$process 服务器后台进程
二 undo表空间
undo的三个初始化参数:
undo_management auto undo段自动扩展
undo_retention 900 undo段保留时间
undo_tablespace 表空间
表空间的使用:
依次使用 freed 空数据块,expired 超过保留时间的块,自增长块,inactive 无活动块,报错
但实际通过语句:select distinct status from dba_undo_extents;
搜索出的结果是active,expired,unexpired 三种状态
free状态的块需要在 dba_free_space表中查询