I have SQL Server 2014 DataCenter RTM Version on Windows 2012 Standard Edition for about 2 months and had migrated a database from SQL Server 2008 R2.
The database had transactional replication was being replicated to another server. The distributor and subscriber are on their own servers.
Tried applying Service Pack 1 on Sunday morning which brought the entire system to a halt and asked for a Windows activation key.
The Service Pack was being applied due to the following issues:
- Checkpoint didn't occur
- Transaction log was full due to Active transaction
- SQL Server takes long time to open the databases after the recovery phase when the number of databases or database files or both is large in SQL Server 2012 or SQL Server 2014
- You cannot set a SQL Server 2012 or 2014 database to single-user mode if the database is read-only
- SQL Server crashes when the log file of tempdb database is full in SQL Server 2012 or SQL Server 2014 Here the log file for the AHS_DataStore was full due to “Active transaction” SQL Server 2014 Service Pack 1
- Rollback causes database to go to suspect mode in SQL Server 2012 or SQL - Rollback caused it to go in Recovery which was an
ALTER
on table of IDs (max of Int) - Should have found a better way.
Finally, had to reinstall the OS yesterday, SQL Server 2014 again, applied Service Pack 1, will be adding the cumulative updates till 3 for SP1 today.
Is there any way for me to establish all the replication settings as it was before? I do have all the backups of the System DBs from the previous install.
Or, how do I go back to just attaching the .MDF
file without the log? It was really huge and the backup happened 1 week back which was on the 11/3/2015 I have all the logs from then.
Would appreciate any suggestions or workarounds that would bring the DB back up soon.