Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

File entry not removed from sys.database_files after Alter Database Remove file (AlwaysOn)

$
0
0
HI Guys,We have used "alter database DBname remove file filename" to remove some extra files that we do not need from a database that is part of an alwayson group.But the corresponding file is not removed from sys.database_files and the State_desc is shown as OFFLINE.I tried running log backup but it didnt help. I have tested this scenario on a DB which is not part of alwayson and log backup clears the entry of the removed file, but i am not sure why it does not clear when the db is part of alwayson.Thanks,Jesi

Viewing all articles
Browse latest Browse all 6525

Trending Articles