Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

AlwaysOn - changing log file growth setting

$
0
0

Hi

I was looking to change the file growth setting in our AlwaysOn environment databases.

We have a single availability group, one primary and one secondary replica. I learned that when changing the file growth setting on the primary databases (data file), the change flows though to the database on the secondary replica. Very cool.

However after doing the same with the log files, the file growth setting changed on the primary but the change did NOT propagate to the secondary.

Please would someone kindly explain this behavior? Ideally if there is some documentation of this that would be great to read. I've tried to find in BOL without success. Not sure what to search for!

Is the solution to apply the change directly to the secondary?

thank you for your help in advance.

kindest regards

Paul

p.s - here's the T-SQL code I used:

ALTER DATABASE myDB
MODIFY FILE ( NAME = N'myDB_log', FILEGROWTH = 512MB );
GO

SQL Server 2012 (11.0.5532)


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>