Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Selecting specific columns from slave status

$
0
0

I need to monitor mysql slave status from ms sql server, so I executed the query below but there was an error message like '[MSDASQL].Slave_IO_State'. The (maximum) expected data length is 28, while the returned data length is 64.' I tried to configure trace flag after that and used this command ; 'DBCC TRACEON(8765)' but it didn't work.

SELECT * FROM OPENQUERY([MY_LINKED_SERVER],'SHOW SLAVE STATUS')

Now I want to select specific columns from slave status, but relay_log_info_repository and master_info_repository values are FILE..

And the data from the below query doesn't contains what I'm trying to see;

SHOW GLOBAL STATUS LIKE '%slave%'

Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>