HADR log spooling is now enabled by default. The hadr_spool_limit database configuration parameter, which specifies log spooling behavior, now has a default setting of AUTOMATIC.
Introduced in Version 10.1, HADR log spooling allows transactions on the primary to make progress without having to wait for the log replay on the standby. Testing has shown that spooling can significantly reduce any impact that HADR might have on the primary's workload but has a negligible impact on a standby's replay performance.
If you do not want HADR log spooling to be operational, set the hadr_spool_limit database configuration parameter to 0. This parameter takes effect only on the standby. You need to deactivate and reactivate the standby to make it pick up the new value. For the primary, stop HADR, then start HADR to pick up the new value (while keeping the database online) so that when the database becomes a standby, it uses the new value.
To ensure that HADR log spooling can work properly, ensure that you provide adequate disk space for the active log path of the standby database.