HI All,
I have an always on setup for 1 database . recently i ran an index rebuild job and i specifically set the sort to occur in the database log file. my assumption was that when the indexes were rebuild on prod they would occur on the secondary server in the db log file also. however what seems to have occurred is that the TEMPDB grew to a large size on the secondary server and i am wondering is that coincidence or does the rebuilt indexes get sorted in the secondary TEMPDB rather than the db log file?
Thanks in advance,
Niall
I have an always on setup for 1 database . recently i ran an index rebuild job and i specifically set the sort to occur in the database log file. my assumption was that when the indexes were rebuild on prod they would occur on the secondary server in the db log file also. however what seems to have occurred is that the TEMPDB grew to a large size on the secondary server and i am wondering is that coincidence or does the rebuilt indexes get sorted in the secondary TEMPDB rather than the db log file?
Thanks in advance,
Niall