Joining database on secondary replica resulted in an...
Failed to join the database "Test-DB" to the availability group 'GQLAG' on the availability replica 'SQL20121\SQLE2'(Microsoft.sqlserver.smo)An exception occurred while executing a Transact-SQL...
View ArticleTroubleshoot Msg 824 in SQL Server
Hi All,I am developer and new to SQL Server. We are using SQL Server 2008 R2 and recently i am getting following errors.SQL Server detected a logical consistency-based I/O error: torn page (expected...
View ArticleRepublishing and Mirroring\Clustering
Hi All, I have four servers with Transactional replication setup as below.Server A->Server B->Server C->Server DNow we need to configure HA at Server A. My question is1)If I mirror Server A...
View ArticleSQL Server 2012 AlwaysOn Availability Groups and Transactional MSMQ
I have a question concerning SQL Server 2012 AlwaysOn Availability Groups and MSMQ with transactional queues: can these two be combined, as distributed transactions are not supported by the former?
View Articlesqlpackage.exe is generating non-executable drop default constraint command.
I'm using sqlpackage.exe to generate differential script for update between different database versions (database projects, .dacpac files), so I'm not running it against existing Sql Server database...
View ArticleMSSQL HA
I am quite new to MSSQL, however, if you have a HA cluster setup for all your SQL Servers, what is the technical term for the server whereby your databases would run from under normal circumstances....
View ArticleActive Transaction state of log_Reuse_Wait_Dec
please advise how to get rid of this issuek
View Articlecan i restore only a table from a backup file?
Hi, i have a backup file , and i saw the wizard to restore the file in sql2005.But i need to restore only a table. Is there a wizard for that?
View Articlefalse error messag - The log shipping primary database has backup threshold
i am getting error message as below.The log shipping primary database <DBNAME> has backup threshold of 60 minutes and has not performed a backup log operation for 19426 minutes.basically we have...
View ArticleSQL Server Migration
Hi,We are doing Datacenter Migration, we have SQL Cluster in Source Prod Env., and also SQL cluster test vlan env. My question is after testing SQL migration in test env. with clustering, how can we...
View ArticleIs there an easier way of restoring to the latest backup file via script?
Currently I have to specify FILE= (which backup set) when I write a restore scriptUSE masterRESTORE database [db] FROM DISK=N'filepath' WITH FILE=1(sometimes can be 2 or 3 ,depending on the latest...
View ArticleData disk is not part of the cluster group
We have created a virtual guest cluster on windows 2012 R2 and are using VHDX for storage. When I run through the install of SQL 2010, I get errors that the volume is not part of the cluster group....
View ArticleAlways ON implementation in SQL Cluster with Replication enabled Database
Hi , I have an existing setup running on 2 node windows cluster on top we have SQL cluster as well and we enable the Replication for a DB to another 2node SQL cluster DB instance .Now i have to...
View ArticleFailed to update Replica status within the local Windows Server Failover...
got an error this morning using a SQL server 2012 always on availability group... I haven't been able to find any information online with the error message below. anyone give me some in site? the...
View ArticleSQL Log File Growth rate
I have two huge databases,there is one stored procedure when it runs in A environment there is no problemwhen it runs in B environment log file grows like 40 Gig per HOur.how can i tackle this...
View ArticleDoes other replicas stop sync when a replica disconect for sql server 2012...
Hi,For example ,i have configured a alwayson ag, the primary replica is P,and the replicas are R1,R2, P is also a transactional replication publisher.So when R1 disconnect:Question 1: Does this impact...
View ArticleAvailability Group Limits - Where is the overhead, exactly?
Hi there. I've read the Microsoft tested limits for Availability Groups (10 groups / 100 databases), but it's not clear how those apply (e.g. 1 group of 100 vs 100 groups of 1).We have about 87...
View ArticleLogshipping from SQL 2005 instance to Sql 2008 instance
hi!,i am planning to upgrade to sql 2008. i am going to install sql 2008 on a new hardware (say Server B). My current production server (say server A) has sql 2005 running on it. so i want to migrate...
View ArticleMicrosoft SQL-DMO(ODBC SQLSTATE 42000)
Problem Restoring Backup database in MSSQL 2000.I made a backup of one of my databases from one server and now I'm trying to restore to the production server (Clustering) using Enterprise Manager. I...
View Article