Oracle 参数 DATA_TRANSFER_CACHE_SIZE 官方解释,作用,如何配置最优化建议

本站中文解释

DATA_TRANSFER_CACHE_SIZE是数据传输缓存大小参数,该参数值直接影响着oracle的写入性能。该参数的值可以被设置成0到131072,数值越大,将能使oracle达到更高的写入性能,但也会带来更多的开销,建议设置比较合理的值,以达到最佳性能。

正确设置该参数应该遵循下面几个步骤:

1. 首先确定自己应用系统中最多使用的并发比是多少。

2.按照并发比可以计算出每个连接在缓存上需要的大小。

3. 根据并发比可以得出系统总体的缓存大小。

4. 根据具体情况,可以调整缓存的大小,以达到最优的写入性能。

最后,需要使用alter system设置DATA_TRANSFER_CACHE_SIZE参数为计算出的值,以完成参数设置。

官方英文解释

DATA_TRANSFER_CACHE_SIZE sets the size of the data transfer cache (in bytes) used to receive data blocks (typically from a primary database in an Oracle Data Guard environment) for consumption by an instance during execution of an RMAN RECOVER ... NONLOGGED BLOCK command.

Property Description

Parameter type

Big integer

Syntax

DATA_TRANSFER_CACHE_SIZE = integer [K | M | G]

Default value

If SGA_TARGET is set, then if DATA_TRANSFER_CACHE_SIZE is not specified, the default size of the data transfer cache is 0 (internally determined by Oracle Database). If SGA_TARGET is set and DATA_TRANSFER_CACHE_SIZE is specified, then the user-specified value indicates the minimum value for the data transfer cache.

If SGA_TARGET is not set, the data transfer cache will not be available.

Modifiable

ALTER SYSTEM

Modifiable in a PDB

No

Range of values

0 – 512M, rounded up to the next granule size

Basic

No

Oracle RAC

Multiple instances can have different values.

This initialization parameter needs to be set only for databases that do not use Automatic Memory Management and that use the RMAN RECOVER ... NONLOGGED BLOCK command.


数据运维技术 » Oracle 参数 DATA_TRANSFER_CACHE_SIZE 官方解释,作用,如何配置最优化建议