Oracle参数解析(shared_pool_size) 基本参数请看如下链接: 如无特殊说明数据库版本为11.2 shared_pool_size 该参数指定shared pool的大小 代码语言:javascript 代码运行次数:0 1.参数类型:整型 2.语法:SHARED_POOL_SIZE=integer[K|M|G] 3.默认值:见下面介绍 4.是否可修改:ALTERSYSTEM修改 5.取值范围:最小granu...
首先,需要确定Oracle数据库的版本,因为不同版本的数据库可能在配置和管理上有所不同。其次,需要查询当前 shared_pool_size 的设置值。可以使用以下SQL语句来查询: sql SHOW PARAMETER shared_pool_size; 3. 根据数据库需求和资源情况,决定新的 shared_pool_size 值 在决定新的 shared_pool_size 值时,需要考虑...
shared_pool_reserved_size 该参数用来指定保留的shared pool大小,默认大小为Byte 参数类型:整型 语法: SHARED_POOL_RESERVED_SIZE = integer [K | M | G] 默认值: shared_pool_size的5% 修改需要重启数据库 取值范围:最小:5000 shared_pool 大小的一半 基本参数:否 shared_pool_size shared_pool_size 指定值...
1、共享池只是SGA中六个中的一个,共享池的大小由SGA自动分配 2、当用showparametersshared_pool_size;查看的时候,发现其值为0,如下所示: 3、当时查看到这些值,感觉不太可能,怎么可能为0呢,后来发现,这些值是无效的,由于 shared_pool_size是受SGA自动管理的,用上面的命令查出来的不真实。 4、用下面的命令查看...
where shared_pool_size_factor = 1) c); 2.设置上个SQL语句中查到的PARSE_TIME_FACTOR首次等于1的记录所在行的ESTD_SP_SIZE的值为shared pool。 qlplus / as sysdba; 来看共享池的大小,在命令行sql命令行查看。 show parameter shared_pool_size ...
shared pool的大小由初始化参数shared_pool_size决定。Oracle 10g以后可以不用设定该参数,而只需要指定sga_target,从而由Oracle自动决定shared pool的大小尺寸。 在一个很高的层次上来看,shared pool可以分为库缓存(library cache)和数据字典缓存(dictionary cache)。Library cache存放了最近执行的SQL语句、存储过程、函数...
例子 26-56 手工设置共享池的大小 SQL> alter system set shared_pool_size=200M scope =both; 系统已更改。 修改后,我们查询修改结果,验证修改是否成功,如下例所示。例子 26-57 查询共享池大小是否修改成功 SQL> show parameter shared_pool_size; NAME TYPE VALUE shared_pool_size big integer 200M 推荐...
其实一般来讲我们只需设置sga-target的大小就可以了, oracle会自动管理shared pool的size. 但是当服务器内存不能增加的时候, 也就是说sga-target被指定的情况下,怎么手动设置shared pool的size 其实oracle有个系统动态视图 v$shared_pool_advice 叫共享池建议.. ...
A shared SQL area is always in the shared pool. Oracle allocates memory from the shared pool when a SQL statement is parsed; the size of this memory depends on the complexity of the statement. If a SQL statement requires a new shared SQL area and the entire shared pool has already been...
一)shared pool大的坏处 有人说数据库所在的服务器物理内存很大 可以把sharedpool设的很大 理论上讲一个数据库所要执行的sql语句是无限的 这样就需要一个无限的shared_pool去存储sql语句和它的执行计划 而我们使用的内存总是有限的 从这方面讲其值设的再大也会出现4031错误 ...