old sysmergesubscriptions records
From: will (me_at_privacy.net)
Date: 03/23/04
- Next message: Adam Machanic: "Re: Custom Identity Field"
- Previous message: Tibor Karaszi: "Re: getdate() in UDF"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 10:37:39 +1100
Hi,
Could someone tell me a procedure to manually (or otherwise) clean
sysmergesubscriptions and related tables?
We have a replication system with hundreds of merge pull subscriptions
(which are fine), however, there are also hundreds of push subscriptions
that have appeared in the sysmergesubscriptions tables all over the place.
The push subscriptions are all subscribing from and to the same server name,
which is odd (is this someweird loopback?).
sp_mergesubscription_cleanup and sp_subscription_cleanup have no effect and
the push subscriptions are not in MSmerge_subscriptions and do not show up
in enterprise manager.
my email address is on http://fileant.com if you need it.
here is a sample (a bit messy sry)
it might help to paste it into notepad or ultraedit
here TEST-SERVER has 2 push subscription's to TEST-SERVER which would be
nice to clean away. (TESTNET-SERVER is the publisher / distributor)
It also has two local pull subscriptions to TESTNET-SERVER which i want to
keep.
select * from sysmergesubscriptions where subscriber_server = 'TEST-SERVER'
and db_name='TESTMTG'
subid partnerid
datasource_type datasource_path
srvid db_name
pubid status subscriber_type
subscription_type priority sync_type description
login_name
last_validated subscriber_server
use_interactive_resolver publication
distributor
validation_level resync_gen attempted_validate
last_sync_date last_sync_status
last_sync_summary
------------------------------------ ------------------------------------ --
------------- --------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------- ----------- ----------------------
----------------------------------------------------------------------------
------------------------------ ------------------------------------ ------ -
-------------- ----------------- ------------------------ --------- --------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
------------------- --------------------------------------------------------
------------------------------------------------------------------------ ---
--------------------------------------------------- ------------------------
----------------------------------------------------------------------------
---------------------------- ------------------------ ----------------------
----------------------------------------------------------------------------
------------------------------ ---------------------------------------------
----------------------------------------------------------------------------
------- ---------------- ----------- ---------------------------------------
--------------- ------------------------------------------------------ -----
----------- ----------------------------------------------------------------
----------------------------------------------------------------
C94A2AC9-9F1C-4BCA-9CCA-6E2EB65FB794 D91A3159-680D-4654-993D-6284556F2887 0
NULL
0 TESTMTG
D91A3159-680D-4654-993D-6284556F2887 1 2 1
0.0 2 TESTNET-SERVER.TESTMTG.LoanProducts
sa2
NULL TEST-SERVER
0 LoanProducts
TESTNET-SERVER
0 -1 NULL
NULL NULL NULL
D840A201-A7F9-46B6-9D33-CFD8932D0403 D840A201-A7F9-46B6-9D33-CFD8932D0403 0
0 TESTMTG
D840A201-A7F9-46B6-9D33-CFD8932D0403 1 1 0
70.0 1 NULL
TEST-DOMAIN\Administrator
NULL TEST-SERVER
0 LoanProducts
TEST-SERVER
0 -1 NULL
NULL NULL NULL
F62B42D9-BE21-4D4F-9EFD-DAD42B239FF9 8E6215AF-8B44-4F7D-B982-114DB2CF3D6C 0
NULL
0 TESTMTG
8E6215AF-8B44-4F7D-B982-114DB2CF3D6C 1 2 1
0.0 2 TESTNET-SERVER.TESTMTG.UserData
sa2
2004-03-18 18:52:28.883 TEST-SERVER
0 UserData
TESTNET-SERVER
0 -1 2004-03-18 18:52:28.883
NULL NULL NULL
5E1F246D-8D93-4FF0-90BB-EB839F246CCD 5E1F246D-8D93-4FF0-90BB-EB839F246CCD 0
0 TESTMTG
5E1F246D-8D93-4FF0-90BB-EB839F246CCD 1 1 0
70.0 1 NULL
TEST-DOMAIN\Administrator
NULL TEST-SERVER
0 UserData
TEST-SERVER
0 -1 NULL
NULL NULL NULL
- Next message: Adam Machanic: "Re: Custom Identity Field"
- Previous message: Tibor Karaszi: "Re: getdate() in UDF"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|