Showing posts with label replication. Show all posts
Showing posts with label replication. Show all posts

Sunday, March 25, 2012

Books

Hello
Can You advise me some books about merge replication, with alternate sync
partner and maybe republishing.
Plus lots of T-Sql scripts with comment
Best Regards
Wojciech Znaniecki
I am working on a merge replication book. I am not sure when it will be
done. Target date is March of this year.
Hilary Cotter
Looking for a SQL Server replication book?
Now available for purchase at:
http://www.nwsu.com/0974973602.html
"Wojtek Z" <wojtas_z@.poczta.fm> wrote in message
news:cnhr53$coh$1@.atlantis.news.tpi.pl...
> Hello
> Can You advise me some books about merge replication, with alternate sync
> partner and maybe republishing.
> Plus lots of T-Sql scripts with comment
> Best Regards
> Wojciech Znaniecki
>
|||Uytkownik "Hilary Cotter" <hilary.cotter@.gmail.com> napisa w wiadomoci
news:uiDk6bXzEHA.3120@.TK2MSFTNGP12.phx.gbl...
> I am working on a merge replication book. I am not sure when it will be
> done. Target date is March of this year.
> --
> Hilary Cotter
I was counting that Your book is already available. Your advices helped
me a lot.
But I'm afraid that March is too late for me
Maybe some other good books ?
Best Regards
Wojciech Znaniecki

Tuesday, March 20, 2012

Book on Merge Replication

I need to learn Merge Replication inside and out. Can someone please suggest
a book/websites etc on Merge Replication?
Thanks.
AdamAdam
If you are lucky Hillary will jump in ,so you are going to get the right
direction
"Adam" <Adam@.discussions.microsoft.com> wrote in message
news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>I need to learn Merge Replication inside and out. Can someone please
>suggest
> a book/websites etc on Merge Replication?
> Thanks.
> Adam|||Unfortunately, I think Hilary is still finishing his book on the topic --
I'm not aware of any currently available titles
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
--
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%235x7KPEdGHA.1656@.TK2MSFTNGP02.phx.gbl...
> Adam
> If you are lucky Hillary will jump in ,so you are going to get the right
> direction
>
> "Adam" <Adam@.discussions.microsoft.com> wrote in message
> news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>|||There aren't any books published on it at the moment. There are several in
the works though.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%235x7KPEdGHA.1656@.TK2MSFTNGP02.phx.gbl...
> Adam
> If you are lucky Hillary will jump in ,so you are going to get the right
> direction
>
> "Adam" <Adam@.discussions.microsoft.com> wrote in message
> news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>|||Do you have any more information? Who is writing them and for what
publishers? I don't see any that have been registered with Amazon, except
this one:
http://www.amazon.com/gp/product/06...5Fencoding=UTF8
(incidentally, this one looks like it's going to be pretty good)
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
--
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:uFucMYWdGHA.1436@.TK2MSFTNGP05.phx.gbl...
> There aren't any books published on it at the moment. There are several
> in the works though.
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%235x7KPEdGHA.1656@.TK2MSFTNGP02.phx.gbl...
>|||That's one of them. I'm working on a set of 3 replication books, 1 solely
on merge replication. But, JC and I have to finish the 443 Training Kit for
MSPress first.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Adam Machanic" <amachanic@.hotmail._removetoemail_.com> wrote in message
news:%23um9DGddGHA.4128@.TK2MSFTNGP05.phx.gbl...
> Do you have any more information? Who is writing them and for what
> publishers? I don't see any that have been registered with Amazon, except
> this one:
> http://www.amazon.com/gp/product/06...5Fencoding=UTF8
> (incidentally, this one looks like it's going to be pretty good)
>
> --
> Adam Machanic
> Pro SQL Server 2005, available now
> http://www.apress.com/book/bookDisplay.html?bID=457
> --
>
> "Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
> news:uFucMYWdGHA.1436@.TK2MSFTNGP05.phx.gbl...
>

Book on Merge Replication

I need to learn Merge Replication inside and out. Can someone please suggest
a book/websites etc on Merge Replication?
Thanks.
AdamAdam
If you are lucky Hillary will jump in ,so you are going to get the right
direction
"Adam" <Adam@.discussions.microsoft.com> wrote in message
news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>I need to learn Merge Replication inside and out. Can someone please
>suggest
> a book/websites etc on Merge Replication?
> Thanks.
> Adam|||Unfortunately, I think Hilary is still finishing his book on the topic --
I'm not aware of any currently available titles :(
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
--
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%235x7KPEdGHA.1656@.TK2MSFTNGP02.phx.gbl...
> Adam
> If you are lucky Hillary will jump in ,so you are going to get the right
> direction
>
> "Adam" <Adam@.discussions.microsoft.com> wrote in message
> news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>>I need to learn Merge Replication inside and out. Can someone please
>>suggest
>> a book/websites etc on Merge Replication?
>> Thanks.
>> Adam
>|||There aren't any books published on it at the moment. There are several in
the works though.
--
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%235x7KPEdGHA.1656@.TK2MSFTNGP02.phx.gbl...
> Adam
> If you are lucky Hillary will jump in ,so you are going to get the right
> direction
>
> "Adam" <Adam@.discussions.microsoft.com> wrote in message
> news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>>I need to learn Merge Replication inside and out. Can someone please
>>suggest
>> a book/websites etc on Merge Replication?
>> Thanks.
>> Adam
>|||Do you have any more information? Who is writing them and for what
publishers? I don't see any that have been registered with Amazon, except
this one:
http://www.amazon.com/gp/product/0672327805/sr=8-1/qid=1147444522/ref=pd_bbs_1/104-6385614-0075127?%5Fencoding=UTF8
(incidentally, this one looks like it's going to be pretty good)
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
--
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:uFucMYWdGHA.1436@.TK2MSFTNGP05.phx.gbl...
> There aren't any books published on it at the moment. There are several
> in the works though.
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%235x7KPEdGHA.1656@.TK2MSFTNGP02.phx.gbl...
>> Adam
>> If you are lucky Hillary will jump in ,so you are going to get the right
>> direction
>>
>> "Adam" <Adam@.discussions.microsoft.com> wrote in message
>> news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>>I need to learn Merge Replication inside and out. Can someone please
>>suggest
>> a book/websites etc on Merge Replication?
>> Thanks.
>> Adam
>>
>|||That's one of them. I'm working on a set of 3 replication books, 1 solely
on merge replication. But, JC and I have to finish the 443 Training Kit for
MSPress first.
--
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Adam Machanic" <amachanic@.hotmail._removetoemail_.com> wrote in message
news:%23um9DGddGHA.4128@.TK2MSFTNGP05.phx.gbl...
> Do you have any more information? Who is writing them and for what
> publishers? I don't see any that have been registered with Amazon, except
> this one:
> http://www.amazon.com/gp/product/0672327805/sr=8-1/qid=1147444522/ref=pd_bbs_1/104-6385614-0075127?%5Fencoding=UTF8
> (incidentally, this one looks like it's going to be pretty good)
>
> --
> Adam Machanic
> Pro SQL Server 2005, available now
> http://www.apress.com/book/bookDisplay.html?bID=457
> --
>
> "Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
> news:uFucMYWdGHA.1436@.TK2MSFTNGP05.phx.gbl...
>> There aren't any books published on it at the moment. There are several
>> in the works though.
>> --
>> Mike
>> http://www.solidqualitylearning.com
>> Disclaimer: This communication is an original work and represents my sole
>> views on the subject. It does not represent the views of any other
>> person or entity either by inference or direct reference.
>>
>> "Uri Dimant" <urid@.iscar.co.il> wrote in message
>> news:%235x7KPEdGHA.1656@.TK2MSFTNGP02.phx.gbl...
>> Adam
>> If you are lucky Hillary will jump in ,so you are going to get the
>> right direction
>>
>> "Adam" <Adam@.discussions.microsoft.com> wrote in message
>> news:2EC78112-3A15-484D-A0ED-965DC7E33FD9@.microsoft.com...
>>I need to learn Merge Replication inside and out. Can someone please
>>suggest
>> a book/websites etc on Merge Replication?
>> Thanks.
>> Adam
>>
>>
>

Book MergeRep (Was: It this a Virus (br0ther.exe) ?) (was: It this a Virus (br0ther.ex

Hi Hilary,
sorry for interfering, but..

> Looking for a SQL Server replication book?
...yes, I do :-)

> http://www.nwsu.com/0974973602.html
... but (unfortunately it seems) for Merge Replication...
Are there perhaps plans for such a book?
Regards,
Susanne
the merge book should follow in the fall. Check the titles link.
"Susanne Wenzel" <wirdnichtgelesen@.onlinehome.de> wrote in message
news:1tl4arqocod33$.1itt5zopsd32q.dlg@.40tude.net.. .
> Hi Hilary,
> sorry for interfering, but..
> ..yes, I do :-)
> ... but (unfortunately it seems) for Merge Replication...
> Are there perhaps plans for such a book?
> Regards,
> Susanne

BOL Quote: "Two Merge Replication Proceses..."

Hi everyone,
I was hoping someone could offer some insight into a quote from the SQL
Server Compact 3.5 BOL
(ms-help://MS.SSC.v35/MS.SSC.v35.EN/sscmain/html/7434b4c1-5099-4d83-b5f9-75a9e6e72faa.htm):
"You cannot start two merge replication processes at the same time on the
same database."
I'm not sure what "same database" means. Is it referring to the same server
database? Let's say I have a sales force where SQL Compact 3.5 installed on
each agent's laptop. Does it mean only one sales agent at a time can merge
with the corporate server? Please tell me this is not true. We need to have
multiple agents replicating simultaneously.
Thanks very much.
Tom Baxter
Hello Tom,
I understand that you are confused by the descriptioin "You cannot start
two merge replication processes at the same time on the same database." in
BOL. You'd like to know only one sales agent at a time can merge with the
corporate server if you use merge replication.
I believe it's not true. You could have multiple agents replicate
simultaneously though there is only process running for the specific
database you'd like to replciate.
If you have any further concerns, please feel free to let's know.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
<http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx>.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
<http://msdn.microsoft.com/subscriptions/support/default.aspx>.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Monday, March 19, 2012

Blue shortcut arrow on Replication Monitor

What does a small blue arrow (like a file/folder shortcut) mean on the Repli
cation Monitor? It
shows on Replication Monitor, Publishers, Agents and Distribution Agents.See if this helps:
http://msdn.microsoft.com/library/e...ltools_8o6r.asp
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
"Shawn Clabough" <shawnc@.uidaho.edu> wrote in message
news:OvtlRu2nFHA.2860@.TK2MSFTNGP15.phx.gbl...
> What does a small blue arrow (like a file/folder shortcut) mean on the
> Replication Monitor? It shows on Replication Monitor, Publishers, Agents
> and Distribution Agents.

Blue shortcut arrow on Replication Monitor

What does a small blue arrow (like a file/folder shortcut) mean on the Replication Monitor? It
shows on Replication Monitor, Publishers, Agents and Distribution Agents.
See if this helps:
http://msdn.microsoft.com/library/en...tools_8o6r.asp
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
"Shawn Clabough" <shawnc@.uidaho.edu> wrote in message
news:OvtlRu2nFHA.2860@.TK2MSFTNGP15.phx.gbl...
> What does a small blue arrow (like a file/folder shortcut) mean on the
> Replication Monitor? It shows on Replication Monitor, Publishers, Agents
> and Distribution Agents.

Blue shortcut arrow on Replication Monitor

What does a small blue arrow (like a file/folder shortcut) mean on the Replication Monitor? It
shows on Replication Monitor, Publishers, Agents and Distribution Agents.See if this helps:
http://msdn.microsoft.com/library/en-us/replsql/repltools_8o6r.asp
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @. http://vyaskn.tripod.com/
"Shawn Clabough" <shawnc@.uidaho.edu> wrote in message
news:OvtlRu2nFHA.2860@.TK2MSFTNGP15.phx.gbl...
> What does a small blue arrow (like a file/folder shortcut) mean on the
> Replication Monitor? It shows on Replication Monitor, Publishers, Agents
> and Distribution Agents.

blue return arrow icon on Replication monitor - significance?

Good morning,
This morning I opened up enterprise manager (sql Server 2000) and noticed a
blue return arrow looking icon on the Replication Monitor folder. When I
opened up Replication monitor I observed the same blue return arrow looking
icon on the publishers and agents folders. What is the significance of this
icon? How do I remove it?
When I get a red X icon I just restart the distribution agent and refresh
everythihg and the red x goes away. What do I need to do for this blue arrow
icon?
Thanks,
Rich
Rich,
do you mean the retrying icon? What is the message of the agent's history?
(I get this message when experiencing connectivity problems).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .
|||Hi Paul,
Thank you for getting back to me on this. In the Agent History, the Last
action (11/28/06) says No Replicated Transactions are available. Is there a
site anywhere that explains what the various alert icons signify? This way I
can use the standardized lingo to describe what I am seeing.
It is still a little bit early over my way, and customers haven't been
calling about any problems (yet). Do I need to do anything or will this
resolve itself? We have, been having some connectivity problems in recent
times. But usually, I get a big red x when that happens. I restart the
Distribution Agent and it goes away.
"Paul Ibison" wrote:

> Rich,
> do you mean the retrying icon? What is the message of the agent's history?
> (I get this message when experiencing connectivity problems).
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com .
>
>
|||Well, I just refreshed the replication monitor and the blue arrow Icon did in
fact go away. At least it wasn't a big red x.
"Rich" wrote:
[vbcol=seagreen]
> Hi Paul,
> Thank you for getting back to me on this. In the Agent History, the Last
> action (11/28/06) says No Replicated Transactions are available. Is there a
> site anywhere that explains what the various alert icons signify? This way I
> can use the standardized lingo to describe what I am seeing.
> It is still a little bit early over my way, and customers haven't been
> calling about any problems (yet). Do I need to do anything or will this
> resolve itself? We have, been having some connectivity problems in recent
> times. But usually, I get a big red x when that happens. I restart the
> Distribution Agent and it goes away.
>
> "Paul Ibison" wrote:

Thursday, March 8, 2012

Blocking caused by Replication

Hi All,
I wonder how I can pursue a blocking problem caused by SQL Replication.
We are having a performance issue on one of our busy sql server 2000 (build
818) machines. There is tran.repl. Publisher db and subscriber dbs are on the
same box.
We have seen this problem after we moved sql server to a new box. SW and HW
configuration are the same.
There are two head blockers.
Waittype is PAGELATCH_SH
Inputbuffer is sp_MSget_repl_commands
CPU is %100 and LogReader is always running for hours until we stop it.
Any idea?
Thanks,
Ada
SQL Server DBA
Does this apply?
http://support.microsoft.com/kb/812263/en-us
Also what happens when you stop the log reader agent and restart it? Is the
condition cleared?
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Ada" <Ada@.discussions.microsoft.com> wrote in message
news:F913F6BA-56EB-4CE6-A972-089334B84479@.microsoft.com...
> Hi All,
> I wonder how I can pursue a blocking problem caused by SQL Replication.
> We are having a performance issue on one of our busy sql server 2000
> (build
> 818) machines. There is tran.repl. Publisher db and subscriber dbs are on
> the
> same box.
> We have seen this problem after we moved sql server to a new box. SW and
> HW
> configuration are the same.
> There are two head blockers.
> Waittype is PAGELATCH_SH
> Inputbuffer is sp_MSget_repl_commands
> CPU is %100 and LogReader is always running for hours until we stop it.
> Any idea?
> Thanks,
> Ada
> --
> SQL Server DBA
|||No, it does not apply.
The log reader was unresponsive/hung. Resetting up repl cleared the problem.
I wonder if it might be a sql bug?
Thanks for your response.
SQL Server DBA
"Hilary Cotter" wrote:

> Does this apply?
> http://support.microsoft.com/kb/812263/en-us
> Also what happens when you stop the log reader agent and restart it? Is the
> condition cleared?
> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "Ada" <Ada@.discussions.microsoft.com> wrote in message
> news:F913F6BA-56EB-4CE6-A972-089334B84479@.microsoft.com...
>
>
|||On Tue, 19 Sep 2006 01:45:01 -0700, Ada
<Ada@.discussions.microsoft.com> wrote:
>We have seen this problem after we moved sql server to a new box. SW and HW
>configuration are the same.
No idea, but under the hit-it-with-a-stick school of repair, have you
tried removing replication and then restarting it?
J.
|||Removing replication and setting up again resolves the problem temporarily.
SQL Server DBA
"JXStern" wrote:

> On Tue, 19 Sep 2006 01:45:01 -0700, Ada
> <Ada@.discussions.microsoft.com> wrote:
> No idea, but under the hit-it-with-a-stick school of repair, have you
> tried removing replication and then restarting it?
> J.
>
|||On Wed, 20 Sep 2006 18:24:02 -0700, Ada
<Ada@.discussions.microsoft.com> wrote:

>Removing replication and setting up again resolves the problem temporarily.
Er, ... what does sp_who2 show as the head of the blocking chain?
Don't think I ever have tried it with publisher and subscriber on the
same machine. This is one-way, right? If it's two-way, and you
forget to turn on the bit, things would get ugly, might be something
like this.
J.
|||It's one way.
SQL Server DBA
"JXStern" wrote:

> On Wed, 20 Sep 2006 18:24:02 -0700, Ada
> <Ada@.discussions.microsoft.com> wrote:
>
> Er, ... what does sp_who2 show as the head of the blocking chain?
> Don't think I ever have tried it with publisher and subscriber on the
> same machine. This is one-way, right? If it's two-way, and you
> forget to turn on the bit, things would get ugly, might be something
> like this.
> J.
>
>

Blocking caused by Replication

Hi All,
I wonder how I can pursue a blocking problem caused by SQL Replication.
We are having a performance issue on one of our busy sql server 2000 (build
818) machines. There is tran.repl. Publisher db and subscriber dbs are on th
e
same box.
We have seen this problem after we moved sql server to a new box. SW and HW
configuration are the same.
There are two head blockers.
Waittype is PAGELATCH_SH
Inputbuffer is sp_MSget_repl_commands
CPU is %100 and LogReader is always running for hours until we stop it.
Any idea?
Thanks,
Ada
--
SQL Server DBADoes this apply?
http://support.microsoft.com/kb/812263/en-us
Also what happens when you stop the log reader agent and restart it? Is the
condition cleared?
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Ada" <Ada@.discussions.microsoft.com> wrote in message
news:F913F6BA-56EB-4CE6-A972-089334B84479@.microsoft.com...
> Hi All,
> I wonder how I can pursue a blocking problem caused by SQL Replication.
> We are having a performance issue on one of our busy sql server 2000
> (build
> 818) machines. There is tran.repl. Publisher db and subscriber dbs are on
> the
> same box.
> We have seen this problem after we moved sql server to a new box. SW and
> HW
> configuration are the same.
> There are two head blockers.
> Waittype is PAGELATCH_SH
> Inputbuffer is sp_MSget_repl_commands
> CPU is %100 and LogReader is always running for hours until we stop it.
> Any idea?
> Thanks,
> Ada
> --
> SQL Server DBA|||No, it does not apply.
The log reader was unresponsive/hung. Resetting up repl cleared the problem.
I wonder if it might be a sql bug'
Thanks for your response.
SQL Server DBA
"Hilary Cotter" wrote:

> Does this apply?
> http://support.microsoft.com/kb/812263/en-us
> Also what happens when you stop the log reader agent and restart it? Is th
e
> condition cleared?
> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "Ada" <Ada@.discussions.microsoft.com> wrote in message
> news:F913F6BA-56EB-4CE6-A972-089334B84479@.microsoft.com...
>
>|||On Tue, 19 Sep 2006 01:45:01 -0700, Ada
<Ada@.discussions.microsoft.com> wrote:
>We have seen this problem after we moved sql server to a new box. SW and HW
>configuration are the same.
No idea, but under the hit-it-with-a-stick school of repair, have you
tried removing replication and then restarting it?
J.|||Removing replication and setting up again resolves the problem temporarily.
SQL Server DBA
"JXStern" wrote:

> On Tue, 19 Sep 2006 01:45:01 -0700, Ada
> <Ada@.discussions.microsoft.com> wrote:
> No idea, but under the hit-it-with-a-stick school of repair, have you
> tried removing replication and then restarting it?
> J.
>|||On Wed, 20 Sep 2006 18:24:02 -0700, Ada
<Ada@.discussions.microsoft.com> wrote:

>Removing replication and setting up again resolves the problem temporarily.
Er, ... what does sp_who2 show as the head of the blocking chain?
Don't think I ever have tried it with publisher and subscriber on the
same machine. This is one-way, right? If it's two-way, and you
forget to turn on the bit, things would get ugly, might be something
like this.
J.|||It's one way.
SQL Server DBA
"JXStern" wrote:

> On Wed, 20 Sep 2006 18:24:02 -0700, Ada
> <Ada@.discussions.microsoft.com> wrote:
>
> Er, ... what does sp_who2 show as the head of the blocking chain?
> Don't think I ever have tried it with publisher and subscriber on the
> same machine. This is one-way, right? If it's two-way, and you
> forget to turn on the bit, things would get ugly, might be something
> like this.
> J.
>
>

Blocking caused by Replication

Hi All,
I wonder how I can pursue a blocking problem caused by SQL Replication.
We are having a performance issue on one of our busy sql server 2000 (build
818) machines. There is tran.repl. Publisher db and subscriber dbs are on the
same box.
We have seen this problem after we moved sql server to a new box. SW and HW
configuration are the same.
There are two head blockers.
Waittype is PAGELATCH_SH
Inputbuffer is sp_MSget_repl_commands
CPU is %100 and LogReader is always running for hours until we stop it.
Any idea?
Thanks,
Ada
--
SQL Server DBADoes this apply?
http://support.microsoft.com/kb/812263/en-us
Also what happens when you stop the log reader agent and restart it? Is the
condition cleared?
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Ada" <Ada@.discussions.microsoft.com> wrote in message
news:F913F6BA-56EB-4CE6-A972-089334B84479@.microsoft.com...
> Hi All,
> I wonder how I can pursue a blocking problem caused by SQL Replication.
> We are having a performance issue on one of our busy sql server 2000
> (build
> 818) machines. There is tran.repl. Publisher db and subscriber dbs are on
> the
> same box.
> We have seen this problem after we moved sql server to a new box. SW and
> HW
> configuration are the same.
> There are two head blockers.
> Waittype is PAGELATCH_SH
> Inputbuffer is sp_MSget_repl_commands
> CPU is %100 and LogReader is always running for hours until we stop it.
> Any idea?
> Thanks,
> Ada
> --
> SQL Server DBA|||No, it does not apply.
The log reader was unresponsive/hung. Resetting up repl cleared the problem.
I wonder if it might be a sql bug'
Thanks for your response.
--
SQL Server DBA
"Hilary Cotter" wrote:
> Does this apply?
> http://support.microsoft.com/kb/812263/en-us
> Also what happens when you stop the log reader agent and restart it? Is the
> condition cleared?
> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "Ada" <Ada@.discussions.microsoft.com> wrote in message
> news:F913F6BA-56EB-4CE6-A972-089334B84479@.microsoft.com...
> > Hi All,
> >
> > I wonder how I can pursue a blocking problem caused by SQL Replication.
> >
> > We are having a performance issue on one of our busy sql server 2000
> > (build
> > 818) machines. There is tran.repl. Publisher db and subscriber dbs are on
> > the
> > same box.
> > We have seen this problem after we moved sql server to a new box. SW and
> > HW
> > configuration are the same.
> >
> > There are two head blockers.
> >
> > Waittype is PAGELATCH_SH
> > Inputbuffer is sp_MSget_repl_commands
> >
> > CPU is %100 and LogReader is always running for hours until we stop it.
> >
> > Any idea?
> >
> > Thanks,
> >
> > Ada
> > --
> > SQL Server DBA
>
>|||On Tue, 19 Sep 2006 01:45:01 -0700, Ada
<Ada@.discussions.microsoft.com> wrote:
>We have seen this problem after we moved sql server to a new box. SW and HW
>configuration are the same.
No idea, but under the hit-it-with-a-stick school of repair, have you
tried removing replication and then restarting it?
J.|||Removing replication and setting up again resolves the problem temporarily.
--
SQL Server DBA
"JXStern" wrote:
> On Tue, 19 Sep 2006 01:45:01 -0700, Ada
> <Ada@.discussions.microsoft.com> wrote:
> >We have seen this problem after we moved sql server to a new box. SW and HW
> >configuration are the same.
> No idea, but under the hit-it-with-a-stick school of repair, have you
> tried removing replication and then restarting it?
> J.
>|||On Wed, 20 Sep 2006 18:24:02 -0700, Ada
<Ada@.discussions.microsoft.com> wrote:
>Removing replication and setting up again resolves the problem temporarily.
Er, ... what does sp_who2 show as the head of the blocking chain?
Don't think I ever have tried it with publisher and subscriber on the
same machine. This is one-way, right? If it's two-way, and you
forget to turn on the bit, things would get ugly, might be something
like this.
J.|||It's one way.
--
SQL Server DBA
"JXStern" wrote:
> On Wed, 20 Sep 2006 18:24:02 -0700, Ada
> <Ada@.discussions.microsoft.com> wrote:
> >
> >Removing replication and setting up again resolves the problem temporarily.
> Er, ... what does sp_who2 show as the head of the blocking chain?
> Don't think I ever have tried it with publisher and subscriber on the
> same machine. This is one-way, right? If it's two-way, and you
> forget to turn on the bit, things would get ugly, might be something
> like this.
> J.
>
>

Saturday, February 25, 2012

BLOB Merge Replication

Hi,

I have setup a Merge Replication between a SQL Server 2005 and a SQL Server Mobile using native C++ code in Windows CE 5. Replication of normal data types (nvarchar, ints etc) works great, but when I try to replicate a blob about 1.5 MB the performance is awful. The download phase seems to be quick while the applytime (printed in debugger) when the database on my CE device is updated is about 3 minutes for 1.5MB binary data which is unacceptable since the database gets locked up during the applytime. The BLOB column is defined as image data type which shall hold up to 1GB data. I have tried to disable compression during replication, but it doesnt matter. Does anyone have some experience of using merge replication with blobs in SQL Server Mobile?

My Idea was to use merge replication as a way to transfer CAB-files for installation on the Windows CE 5 device by storing them as BLOB:s, but the bad performance may make it impossible.

Ideas? Anyone?

Best regards

Johan Johansson

I'm appending the debug output from the merge replication of the table containing the 1.5 MB BLOB.

SQLCECA30: Client Agent Log Start --
SQLCECA30: 08/23/2006-16:37:41 CSSCEMerge::SingleRun id=0 hr=0 bread=8027251 bwritten=273 c_urows=0 c_drows=0 s_urows=5 s_drows=0 md_n=0 md_c=0 md_r=0 app=mpsim.exe
SQLCECA30: 08/23/2006-16:37:41 CSSCEMerge::Run totalsynctime=222 uploadtime=371 applytime=217185 id=0 publisher='se-cwo-ddb-1' publication='Software' initialsync=1 bread=8027251 bwritten=273 c_urows=0 c_drows=0 s_urows=5 s_drows=0 loops=1 app=mpsim.exe

|||

About the only thing you can do is to factor out the BLOB itself into a related table. For example, let's say right now you have a table called "Orders" which has 10 columns, one of which is a customer signature (image column in SQL Mobile). Every time any column in the orders table is updated, the whole row is replicated, including the image. It would be more efficient to have an Orders table and a separate OrderSignatures table, related by a foreign key.

Darren

|||

Yes, thank you for the suggestion.

I must say that I'm dissapointed in the performance. I mean 1.5 MB binary data is not alot in these days and it is almost impossible to handle for SQL Server Mobile in a merge replication. Can I expect the same bad performance when I replicate alot of rows (lets say 3000) with more ordinary data (say a few columns with ints and varchar(50)) or is this performance problem only related to dealing with BLOBs?

Johan

|||

Johan,

I was thinking about your post some more and it occurs to me that you are trying to solve the problem of automatically downloading CAB files

from the server to the CE5 device. I also frequently have this requirement when a mobile app must be automatically updating. There are some

great samples (they are not native code, but you can get the idea of how to do this) of auto-updating by downloading CABs to the device at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/AutoUpdater.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/AUTD_Functionality_NETCF_WebServices.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/DeploymentPatterns.asp

Regards,

Darren

|||

Thank you Darren,

I will have a look at the documents before I decide how I'm going to implement this.

Best regards

Johan