Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Multiple mirrored databases

 
   Database Forums (Home) -> Clustering RSS
Next:  [Info-Ingres] Your Weekend Newsletter  
Author Message
Jazmin Gutierrez

External


Since: Nov 19, 2007
Posts: 1



(Msg. 1) Posted: Mon Nov 19, 2007 11:57 am
Post subject: Multiple mirrored databases
Archived from groups: microsoft>public>sqlserver>clustering, others (more info?)

Suppose I have SERVER1 and SERVER2 with database DB1 and DB2 in both servers
with database mirroring enabled for both databases.

If I'm connected to Server1 and execute something like this: "SELECT * FROM
DB2..MyTable":

What if DB2 in Server1 is in not the Principal Parnet (i.e it is
synchonizing from Server2)?

Thanks.

 >> Stay informed about: Multiple mirrored databases 
Back to top
Login to vote
Mohit K. Gupta

External


Since: Jun 29, 2007
Posts: 35



(Msg. 2) Posted: Mon Nov 19, 2007 11:57 am
Post subject: RE: Multiple mirrored databases [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you are using SSMS to execute the query it will fail as the database that
is set has mirrored partner processes queries. If you need that you can
create a snapshot against the database and use it.

If you are using SQL Native Client and run the query against the database
with principel set to Server1. The SQL Native Client will realize Server1 is
not principle and goto Server2 to execute your query without you having to do
any additional work.

Hope this answers your question.

--
Mohit K. Gupta
B.Sc. CS, Minor Japanese
MCTS: SQL Server 2005


"Jazmin Gutierrez" wrote:

> Suppose I have SERVER1 and SERVER2 with database DB1 and DB2 in both servers
> with database mirroring enabled for both databases.
>
> If I'm connected to Server1 and execute something like this: "SELECT * FROM
> DB2..MyTable":
>
> What if DB2 in Server1 is in not the Principal Parnet (i.e it is
> synchonizing from Server2)?
>
> Thanks.
>
>
>

 >> Stay informed about: Multiple mirrored databases 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
accesssing mirrored databases via SQLNCLI linked server? - Does anyone know how to configure a mirrored pair as a linked server on a 3rd instance? Say I have a mirrored database on two servers: PRIMARY and SECONDARY. I want to create a linked server on a 3rd machine that allows me to access the database on..

System DSN for mirrored servers - Hello! I've set up an HA environment for a customer. That includes two IIS-servers, with Network Load Balancing between them, and two SQL 2005 Standard with mirroring and one SQL 2005 Express as witness. For the webpages I read that I just have to ad...

Questions on Mirrored Drives in Clustering Environment - I haven't used Microsoft (or Veritas) clustering software before, and I would like to understand better whether certain disk configurations are allowed, or recommended. When working with a stand-alone server that is not going to be clustered, and the..

Restore sys databases - Am i able to restore system databases to sql2005 from sql2k SP4 backup dumps? Thanks

Ent Mgr. does not show databases after OS upgrade - Hi My configuration is Windows 2000 Adv. server SP4 and two istances of SQL 2000 sP3. I just updated the OS from sp3 to SP4 last night and now when i open Ent. Mgr from any desktop or console pc and when opening the Database folder on node2 comes up..
   Database Forums (Home) -> Clustering All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]