Oracle 参数 DB_BLOCK_CHECKING 官方解释,作用,如何配置最优化建议
DB_BLOCK_CHECKING 参数用于控制块检查的类型,其取值有如下:
1、TYPICAL: 使用MD5校验和基于CRC的检查,但不涉及比较相同空间中的多个块。
2、FULL: 将比较和计算同时作用于数据库实例中的所有字节,但仅在数据库实例启动时执行一次。
3、NULL- 不进行块检查,后续会影响性能。
正确设置:
建议设置为 TYPICAL。
官方英文解释DB_BLOCK_CHECKING specifies whether Oracle Database performs block checking for database blocks.
Yes, with the following restriction:
If block checking is enabled for a CDB, then you cannot subsequently disable block checking in any of its PDBs. That is, if the value of DB_BLOCK_CHECKING in a CDB is LOW, MEDIUM, TRUE, or FULL, and you then attempt to set the value of DB_BLOCK_CHECKING in one of its PDBs to FALSE or OFF, an error will occur.
OFF or FALSE
No block checking is performed for blocks in user tablespaces. However, semantic block checking for SYSTEM tablespace blocks is always turned on.
LOW
Basic block header checks are performed after block contents change in memory (for example, after UPDATE, INSERT or DELETE statements, or after inter-instance block transfers in Oracle RAC).
MEDIUM
All LOW checks and full semantic checks are performed for all objects except indexes (whose contents can be reconstructed by a drop+rebuild on encountering a corruption).
FULL or TRUE
All LOW and MEDIUM checks and full semantic checks are performed for all objects.
Oracle checks a block by going through the data in the block, making sure it is logically self-consistent. Block checking can often prevent memory and data corruption. Block checking typically causes 1% to 10% overhead in most applications, depending on workload and the parameter value. Specific DML overhead may be higher. The more updates or inserts in a workload, the more expensive it is to turn on block checking. You should set DB_BLOCK_CHECKING to FULL if the performance overhead is acceptable.
For backward compatibility, the use of FALSE (implying OFF) and TRUE (implying FULL) is preserved.
Caution:
Before enabling block checking with this parameter, Oracle recommends that you detect and repair any logical corruptions in the database. Otherwise, a block that contains logical corruption will be marked as soft corrupt after block checking is enabled and the block is modified by a DML statement. This will result in ORA-1578 errors and the block will be unreadable. For more information about detecting and repairing logical corruptions, see Oracle Database Backup and
Recovery User’s Guide.
See Also:
Oracle Database
Administrator’s Guide for more information about this parameter
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 参数 DB_BLOCK_CHECKING 官方解释,作用,如何配置最优化建议
相关文章
- oracle如何防止锁表,Oracle-怎么防止oracle锁表[通俗易懂]
- ORA-31413: change set string is currently being advanced ORACLE 报错 故障修复 远程处理
- Oracle 视图 DBA_WI_TEMPLATES 官方解释,作用,如何使用详细说明
- Oracle 参数 CLIENT_RESULT_CACHE_LAG 官方解释,作用,如何配置最优化建议
- Oracle 参数 DATA_GUARD_MAX_IO_TIME 官方解释,作用,如何配置最优化建议
- Oracle 参数 DB_KEEP_CACHE_SIZE 官方解释,作用,如何配置最优化建议
- Oracle 参数 DB_RECOVERY_FILE_DEST_SIZE 官方解释,作用,如何配置最优化建议
- Oracle 参数 OPTIMIZER_SECURE_VIEW_MERGING 官方解释,作用,如何配置最优化建议
- Oracle 参数 SGA_TARGET 官方解释,作用,如何配置最优化建议
- Oracle 参数 UNDO_RETENTION 官方解释,作用,如何配置最优化建议
- Oracle服务名配置流程:快速获取结果(oracle服务名配置)
- 配置深入探讨Oracle集群配置方案(oracle集群怎么)
- 深入解析 Oracle 触发器类型(oracle触发器类型)
- Oracle账户被锁?这些方法帮你轻松解决!(oracle账户被锁)
- Oracle虚拟化软件:提高计算机性能的强大工具(oracle虚拟化软件)
- 环境配置配置Oracle数据库从库环境(oracle从库)
- 探索Oracle视图结构的方法(oracle查看视图结构)
- 如何配置Oracle透明网关? 25字(oracle透明网关配置)
- 置Oracle内存配置指南 基础知识与最佳实践(oracle内存怎么配)
- Oracle让网络安全受到更大保护(oracle 关防火墙)
- Oracle存储过程的利用C语言程序开发(c oracle存储过程)
- 如何使用CMD快速配置Oracle环境(cmd oracle步骤)
- Oracle中配置TNS的步骤指南(oracle中配置tns)
- 数在Oracle中如何快速统计表行数(oracle中统计表行)
- Oracle数据库交换分区操作步骤详解(oracle交换分区步骤)
- Oracle保存文件的最佳格式及优势(oracle保存文件格式)
- 修改如何在Oracle中修改实例名(oracle中 实例名)