Hi,
I have to add one new table to an existing replication. I created table and added that table to the replication as well.Now I want to reinitialize only the new table rather than all the tables. Please anybody help
Hi,
I have to add one new table to an existing replication. I created table and added that table to the replication as well.Now I want to reinitialize only the new table rather than all the tables. Please anybody help
Dear MSDN users,
SQL Server 2012 R2
I am evaluating the best technology to exchange data (insert, update, delete) continuously and keep real-time consistence (not on-demand) between SQL Server.
The scenario looks like to be (could evolve): a series of sources database
1) Source databases (less than 100): activities: insert, update, delete
2) Destination database (possibly 1, representing the data aggregator from different source). activities: update (and SEND back to the corresponding database). Just to explain: Source DB13, table 12 update a row. This row need to be sent to the destination database. Then the application read and update the row. This row is sent back to the source database (DB13, table 12)
3) The request is to keep data near real time (0.5 sec) with high frequency data change.
Technology: How to accomplish this? by using a Merge replication or a two-way transactional replication.
QUESTION:
is SQL server replication capable to support this scenario and keep data consistent between source and destination databases in near real-time?
Observation: I am taking into consideration other Technologies such BizTalk or SSIS, but I need your help to identify the best technologies keeping in mind pros & Cons
Thanks
Hello ,
We have a Transactional Replication for a Database of size more than 800GB, replicating to more than 4 servers. Recently i have added another subscription added, all the data is replicated and i am getting this error recently
The subscription(s) have been marked inactive and must be reinitialized. NoSync subscriptions will need to be dropped and recreated.
Does it mean to re-intialize again
Thanks
vamshi
vamshi
I can no longer open Replication Monitor for my Publisher. It just sits at "expanding..." no matter how long I leave it.
Something strange that I noticed when trying to figure this out is that my tempdb grows rapidly while this is happening and when I run a dbcc opentran on tempdb during this it shows my SPID as the one running against it. Why is is running against tempdb and not distribution?
I am at a loss as to what to look at or try next? I have restarted the SQL box and still the same. This worked previously and there as not been any maintenance on it recently.
My SQL 2012 server (fully service-packed and CU'ed) is generating crash dumps at a furious pace.
It is a replication Publisher.
Looking at the ERRORLOG, the "Input buffer" entries there seem to referencesp_mergemetadataretentioncleanup so I suspect that this is what is causing the crash?
Anyone have ideas how I could fix this?
When I tried to use the CDC for Oracle by Attunity (4.0) to enable a Oracle table. I got this error message. And I can't find the SP in either [MSXDBCDC] database or CDC database. Will Microsoft be able to fix it?
Could not find stored procedure 'sys.sp_cdc_parse_captured_column_list'
Hello,
I'm using transactional replication in SQL Server 2012. Is it possible to replicate user-defined data types by adding a new column in the replicated table?
For example:
There are custom data types Datatype_1 (varchar (10)).
After adding a column with:
alter table Table_name
add test_coll Datatype_1 null
go
As a result, we have:
Publisher DB
column_name Type
test_coll Datatype_1
Subscriber DB
column_name Type
test_coll varchar
Option "Convert data types" in article properties is set to "false".
Hi,
i need to know is it possible to configure replication for a Data Base more than once.
Our scenario is we need to configure multiple replication to a single data base .
Hi all,
The Error coming is "The article cannot be created on table '[dbo].[AADM]' because it has more than 246 columns." Only whether Merge replication allows less than 246 columns. If it is more than 246 columns, what type of replication will work in bidirectional ?
Thank You
I'm using windows server 2008 R2 and SQL Server 2008 R2. After configuring the web sync, Whenever I check for http://localhost/xyz/sqlcesa35.dll?diag it shows
9.0 Database Reconciler | FAILURE | 0x80040154 |
while its successful for 10.0
10.0 Database Reconciler | SUCCESS | 0x0 |
This is what it shows while running the above url..
Action | Status | ErrorCode |
---|---|---|
Impersonate User | SUCCESS | 0x0 |
ReadWriteDeleteMessageFile | SUCCESS | 0x0 |
Module | Status | ErrorCode | Version |
---|---|---|---|
sqlcerp35.dll | SUCCESS | 0x0 | 3.5.8080.0 |
sqlcesa35.dll | SUCCESS | 0x0 | 3.5.8080.0 |
Reconciler | Status | ErrorCode |
---|---|---|
10.0 Database Reconciler | SUCCESS | 0x0 |
9.0 Database Reconciler | FAILURE | 0x80040154 |
Module | Version |
---|---|
sqloledb.dll | 6.1.7601.17514 |
10.0 replrec.dll | 2009.100.1600.1 |
10.0 replprov.dll | 2009.100.1600.1 |
10.0 msgprox.dll | 2009.100.1600.1 |
Anyone please help me to sort it out? I tried even re installing the SQL server, but my effort was in vain.
Never done any SQL AlwaysOn before, and need some tips. :)
Company1 have no local infrastructure, everything is in the Cloud, via a VPN connection. Its a ADDS domain! They want a HA SQL. They really need access to the SQL server at all time, even of the Internet and VPN goes down. My plan is to use AlwaysOn. Place one SQL in the cloud, and one at the companys office. Total 2 SQL nodes, which means I need to have a Witness Disk or SMB Share at the company, I guess? Do I need a local DC?
How do I design this the best way? All tips are welcome.
Hello
I'm trying to implement merge replication (pull subscription) on the computer with installed SQL server 2014 Express. I've crested codes according to spec:
https://msdn.microsoft.com/en-us/library/ms146869%28v=sql.120%29.aspx
All is working properly on computer with full SQL Server 2014 Developer.
However on computer when SQL Server 2104 express is installed I have an exception wehn trying to run code:
System.BadImageFormatException: Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies.
I've run code with x86 and Any CPU complitaion on full sql server computer.
I've tried both compilation x86 and Any CPU and nothing is working on computer with SQL server 2014 Express.
I tried to attach libraries found in GAC, with copy local. And issue is the same.
I've compiled application on computer with SQL server 2014 express, without issue, in Any CPU or x86 mode. Both have the same exception.
Based on documention RMO suppose to work with SQL Server express.
RMO depends on the replication components and client connectivity components that are included with all versions of SQL Server except SQL Server Compact.
So the only exclusion is SQL Server Compact. But it is not working...
Hello,
We have 850 GB size Database and logfile size is 750GB. How I can shrink the Database without stopping replication.Or how I can optimize Database. Please help me to minimize the log file size.
Hi
How can make replication from sql 2012 to sql2000 ?
When I make it , don't working and have error the process could not connect ...
My publisher is sql2012
distribution db in 2012
subscriber is 2000
thanks
Good Day all.
Merge Replication Pull
Publisher - sql2008
Subscribers sql2008 express, approx 400
There is a certain amount of churn with subscribers - new ones need to be added and reinitialised, and occassionally existing subscribers need to be reinitialised because they have expired or hit an error.
Sometimes during a reinitialisation, memerge_history shows articles being validated, even though the sync was called with parameter '-validate' set to 0 (no validation).
What's causing this to happen ?
It's something I'd really like to understand , as sometimes the validation gets 'stuck' processing one of the articles for an extended period, producing the following message
"The process is waiting for a response from the query '{call sp_MSvalidatearticle(?,?,?,?,?,?)}'" - output every 5 mins for 15-10 mins
During this time it generates a lot of blocking for other users attempting to sync.
So questions I have are :
why is merge rep validating articles even though not requested and can I avoid this ?
why does the validation get stuck on one table with the above message for an extended period ?
Thanks in anticipation for any help or pointers !
Hello,
I'm trying to troubleshoot a transactional pull replication with a subscriber initialized from backup.
Log reader agent is failing with the following error:
2016-06-08 16:23:06.671 The agent is running. Use Replication Monitor to view the details of this agent session.
2016-06-08 16:23:06.679 Status: 0, code: 1007, text: 'The process could not execute 'sp_MSadd_replcmds' on 'SQLVMCI2\ISQL2012CI2'.'.
2016-06-08 16:23:06.679 The process could not execute 'sp_MSadd_replcmds' on 'SERVER\INSTANCE2'.
2016-06-08 16:23:06.679 Status: 0, code: 1007, text: 'Only members of the sysadmin fixed server role can perform this operation.'.
The windows account used to run the log reader agent is already member of the sysadmin role on the server hosting the pubblished database.
Publisher is SQL Server 2008R2 SE
Subcriber and distributor on the same machine are SQL Server 2012 SE
I've launched profiler (and selected all "error" category) but I see no error messages.
Any help is appreciated
Hi All,
We have replication in Microsoft SQL Server 2008 R2 (SP3) version for which there are two subscribers on Different servers and it was working fine till last week. Lat week we got the following issue:
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The insert failed. It conflicted with an identity range check constraint in database 'XXX', replicated table 'dbo.xxx', column 'xxx'. If the identity column is automatically managed by replication, update the range as follows: for the Publisher, execute sp_adjustpublisheridentityrange; for the Subscriber, run the Distribution Agent or the Merge Agent.
We searched for above issue and found that identity range of problematic table was different in Publication and Subscriptions. We reseeded the identity range manually everywhere using the following queries:
DBCC CHECKIDENT('XXX', RESEED, 1234)
and taken reference from the below link:
https://support.microsoft.com/en-in/kb/953481
Now thing is that whatever we applied above is a workaround.We came to know about this issue when client raised that something is not working into application. So either we need to keep our eyes active on it continuously within five minutes whether identity ranges are correct or not (that would be too much panic) or let client raise the issue and then solve this manually as we did(which would be frustrating for client to get the issue after sometime and we will have always a fear to loose client).
Therefore please let us know that Is there any permanent solution so that this problem doesn't occur going forwards (we have already set higher identity ranges for publication and subscription and identity ranges are set as Auto).
Any help would be appreciated. Thanks in advance.
Regards,
Rama
Hi,
I am using SQL Server 2012 Enterprise edition. I have successfully created a Merge publication on this server. Snapshot is perfectly generated. But the problem occurs when I try to doConfigure Web Synchronization.
When I try to do the same on SQL Server 2008 R2, on the first screen it asks for SQL Server or SQL Server Compact. But in SQL Server 2012, it is not asking anything like that.
In our case the subscriber will be on Microsoft SQL Server Compact Edition 3.5 and it will be a part of Motorola MC65 application developed using Microsoft .Net Compact Framework. The same code base works fine for SQL Server 2005 as well as SQL Server 2008 R2
We are not being able to complete web synchronization and can not be able to sync the data from the device database to server and vice versa.
Please help with with the following query: -
Does SQL Server 2012 support web synchronization for SQL Server compact?
If so, then how will I achieve this? I am trying to solve it since quite a long days. If it does not support, then how do I achieve the same feature.
Thanks in advance
Regards
Satyajyoti