Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 How to check SQL Litespeed Logshipping in SYNC
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

133 Posts

Posted - 07/15/2008 :  10:30:46  Show Profile  Reply with Quote
Hi All,

I have questions. I have SQL 2003 Windows server with SQL server 2005 and litespeed4.602 version.

I have configured the logshipping theu litespeed. I want to see is Logshippinig is in sync or not?

I know I can check by SQL logs and windows log, But I want to see with T-SQL for Litespeed.

Here is the TSQL for litespeed. I can not see any error but I know the logshipping is not sync.

SELECT * FROM LitespeedLocal..litespeedactivity
WHERE starttime > DATEADD(mi, -60, GETDATE())
ORDER BY starttime

Could any one know how to check the in-Sync or Out of Sync status of the litespeed logshipping?


Starting Member

1 Posts

Posted - 01/10/2014 :  14:54:14  Show Profile  Reply with Quote
Run the following system stored Procedure across master database:
use master

This will give you the result if databases are in sync or not.
If in sync - then you get commands run successfully
If out of sync- you get the message like
(The log shipping secondary database XXXX has restore threshold of XX minutes and is out of sync. No restore was performed for XX minutes. Restored latency is XXXX minutes. Check agent log and logshipping monitor information.)
Go to Top of Page

Almighty SQL Goddess

38200 Posts

Posted - 01/10/2014 :  15:08:44  Show Profile  Visit tkizer's Homepage  Reply with Quote
I doubt sp_check_log_shipping_monitor_alert will provide the needed info when the log shipping solution is through Litespeed and not the built-in 2005 log shipping. Hopefully Manoj found a suitable answer for Litespeed 5 years ago.

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.78 seconds. Powered By: Snitz Forums 2000