性能调优学习笔记(七)
Tuning the Oracle Shared Server学习目的1、用户管理和共享服务器环境的关系2、配置共享服务器环境,优化性能3、诊断和解决与共享服务器进程有关的性能[@more@]内容:一、关于共享服务器共享服务器用于多用户的SESSION共享一个服务器进程。请求->请求队列->服务器进程->返回队列而专用服务器模式,一个用户一个SESSION就占用一个服务器进程二、Monitoring Dispatchers1、相关视图– v$shared_server_monitor查看最大连接数,最大SESSION数(取决于数据库参数sessions),当前使用的SESSION数– v$dispatchera、查询各客户端的繁
性能调优学习笔记(六)
Sizing Other SGA Structures主要内容:.监控和设置回滚段.监控和设置JAVA POOL.控制JAVA SESSION的内存使用量[@more@]一、关于回滚段1、LGWR何时写东西.用户事务提交.每过3S.回滚缓存满1/3时.当DBWn将修改过的缓存内容写到磁盘上时, 并且与之相对应的回滚数据没有写到磁盘2、设置回滚段.调整LOG_BUFFER参数.默认值:Either 512K or 128K * the value of CPU_COUNT, whichever is greater.SQL> SELECT 'v$parameter' "View name", name, 2 to_number (value,'9999999') "Value" 3 FROM v$parameter 4 WHERE name =
性能调优学习笔记(五)
Dynamic Instance Resizing一、动态SGA特征二、动态SGA的分配单位三、粒度(Granule)[@more@]Dynamic Instance Resizing一、动态SGA特征1、实现了在不关闭数据库的情况下配置SGA2、大小受SGA_MAX_SIZE参数控制二、动态SGA的分配单位1、在动态SGA模式, 分配单位名称为粒度(granule).2、监控视图--v$buffer_pool列说明:. id: Buffer pool identifying number. name: Buffer pool name. block_size: Block size for buffers in this component. resize_state: Current state of the resize operation (values Static, Allocating, Activa
性能调优学习笔记(四)
Sizing the Buffer Cache一、总述二、Advisory三、管理四、调优目标和方法五、其它指标六、计算命中率七、使用多缓存池八、视图九、缓存表 十、自动Segment(段)空间管理十一、Free Lists十二、Multiple DBWn(DB Writer) Processes[@more@]Sizing the Buffer Cache一、总述1、缓存区包含数据块的拷贝,是SGA的一部分,可供所有用户使用。2、相关参数:. DB_BLOCK_SIZE The DB_BLOCK_SIZE parameter determines the primary block size, which is the block size used for the system tablespace and the primary buffer caches (recycle,
性能调优学习笔记(三)
一、共享池二、Library cache三、Cached Execution Plans 四、Global Space Allocation五、Large Memory Requirements六、Keeping Large Objects 七、Anonymous PL/SQL Blocks八、影响Library Cache的其它因素九、Tuning The Data Dictionary Cache十、Measuring the Dictionary Cache Statistics十一、UGA(user global area) 十二、Large Pool[@more@]这章写得比较乱,做个标记,以后重新整理一下一、共享池1、大小取决于SHARED_POOL_SIZE2、组成部分. Library cache:保存SQL和PL/SQL代码the fully parsed or compiled representations
性能调优学习笔记(二)
一、进程与文件的读写1、进程读写文件的权限2、调优准则3、指导方针4、表空间的使用方法5、Locally Managed system Tablespace6、Monitoring Use of Files7、File Striping8、Tuning Full Table Scan Operations9、Table Scan Statistics10、监控全表扫描操作11、Checkpoints12、Performance Manager: Response Time14、Defining and Monitoring Fast Start Checkpointing15、Online Redo Log File Configuration16、Increasing the Performance of Archiving[@more@]一、进程与文件的读写1、进程读写文件的权限进程 Data files Log