on 05-04-2016 11:43 AM
Hi
I have setup a MSA replication having version 15.7.1/SP121 and also enabled statement level replication to replicate "Select INTO" statement.
but I am getting some weird behavior on replicated repserevr error log when running simple select into statement on source database.
Well, here is the story line, I have created dbrep using the clauses
replicate DDL
replicate "S" ---- that's for to replicate 'select int' and
not replicate system procedures
and corresponding subscription created as well using a clause "subscribe to truncate table"
, added sp_setrepdbrefmode <db_name>,"S","on"
Everything working fine all DML/DDLs statements replicating to target but whilst replicating the "select into" DSI thread is going down with below error message but in parallel repserver replicates the select into table name on target side.
Error Message
==========
T. 2016/05/04 12:50:18. (225): 'if @@error <> 0 rollback transaction'
T. 2016/05/04 12:50:18. (225): Command(s) to 'S*****01.i*****v':
T. 2016/05/04 12:50:18. (225): ' commit transaction'
T. 2016/05/04 12:50:18. (225): Command(s) to 'S*****01.i*****v':
T. 2016/05/04 12:50:18. (225): 'select ae_id=ae_id , ae_code=ae_code , ae_name=ae_name into dbo.hts_ae_codes_HS from dbo.hts_ae_codes '
E. 2016/05/04 12:50:18. ERROR #1028 DSI EXEC(1257(1) S*****01.i*****v) - dsiqmint.c(4719)
Message from server: Message: 911, State 2, Severity 11 -- 'Attempt to locate entry in sysdatabases for database '
Further when resume the DSI it gives the error message
E. 2016/05/04 12:49:44. ERROR #5152 DSI(1257 'S*****01.i*****v') - dsisched.c(4304)
There is a system transaction whose state is not known. DSI will be shutdown.
further on resume the DSI with exec tran getting error message
E. 2016/05/04 12:50:18. ERROR #1028 DSI EXEC(1257(1) S*****01.i*****v) - dsiqmint.c(4719)
Message from server: Message: 2714, State 1, Severity 16 -- 'There is already an object named 'hts_ae_codes_HS' in the database.
I have tried to dump the O/B queue enabled DSI trace flags but not able to find any duplicate statement which is creating the select into table in background
I have tried to enable "full logging for select into" but that's also not working.
Any one please suggest if am skipping something or other way to replicate "select into"
- Hardeep
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.