Answer Posted / k v n subba reddy
In high availablity mirroring if the connection between
witness server and primary server is break off but if
primary server is still up. The witness server will up
mirror server. In this scenario both primary server and
mirror server is up and this scenario is called as SPLITBRAIN.
Question1 : In this case the users are connected to primary?
or mirror server?
Question2 : Once the connection between witness server and
primary server break even primary server is up , are users
connected to primery server or secondary server?
Your users will be connected to whichever server they are
configured to access. If they have (for example) the
"Failover Partner =" part in their connection strings, then
if they have lost connection to the principal, they will try
to connect to the mirror.
It kind of depends on the nature of the loss in connection
between the principal, mirror and witness. If the primary is
up on Site A, but the link is down between it and the mirror
(and witness) on Site B, hence causing the scenario you have
described, but the users are also at Site A, then they will
still be on the principal.
If the users are at Site C, and there is no break in the
link between C->A or C->B, they will probably still be
connected to the principal.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Write a SQL query in order to merge two different columns into single column?
How do you identify a foreign key?
How to verify the port number of the sql server?
How do I know if localdb is running?
What are the types of indexing?
How network traffic be reduced by using the stored procedure?
Can you force a query to use a specific index?
What is difference between delete & truncate commands?
How to get the definition of a view out of the sql server?
Explain how does the report manager work in ssrs?
What is a cube? : sql server analysis services, ssas
What are the various Operating system files that every SQL server 2005 database has and what is the purpose.
How to call a function from a stored procedure in SQL Server ?
Explain system views?
This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?