Viewing 15 posts - 1 through 15 (of 48 total)
This article may help you : https://docs.microsoft.com/en-us/troubleshoot/sql/availability-groups/query-performance-degradation
and this as well : https://www.sqlshack.com/isolation-levels-behavior-in-sql-server-always-on-availability-groups/
February 25, 2022 at 10:20 am
January 13, 2017 at 2:40 am
Hi,
Use a return value in your stored procedure , 0 for success and 1 for failure for example:
create procedure bla
as
select 1/0
if @@error <> 0
return 1
return 0
In your job...
December 27, 2016 at 6:53 am
See if this helps https://www.mssqltips.com/sqlservertip/1819/using-change-tracking-in-sql-server-2008/
August 31, 2016 at 1:00 am
Then run exec sp_lock @@SPID where @@SPID is the session id from where you create the index and see what is locking ..
June 1, 2016 at 11:14 pm
1) Is there any trigger on that table ?
2) You must ensure your database have enough space to perform the online index operation, as it requires about 1.5 times the...
June 1, 2016 at 5:53 am
Hi there,
When it comes to near the end of the process, it will acquire a schema modification lock.. for a period in order to actually add the index to...
June 1, 2016 at 5:17 am
1 ) You might be able to see who was starting the trace in SQL Server Log ...
2 ) What is running : open the trace file or just...
May 19, 2016 at 12:38 am
hi,
But if you update the statistics with fullscan you will get the correct estimation , correct ?
-- R
May 17, 2016 at 5:29 am
Try this:
Select * from sys.traces;
EXEC sp_trace_setstatus @traceid, 0 -- stops the trace
EXEC sp_trace_setstatus @traceid, 2 -- closes the trace
Cheers,
Robert
May 17, 2016 at 2:21 am
Hi,
There is a nice article here : http://www.sqlpassion.at/archive/2014/02/18/improving-sql-server-performance-by-using-instant-file-initialization/
Cheers,
Robert
April 19, 2016 at 12:49 am
Hi,
Try to manually copy the snapshot folder to Subscriber , this may help:
Cheers,
Robert
April 18, 2016 at 4:51 am
Hi,
Run this script and see what you get .. !
SELECT DISTINCT TOP (100)
bss.database_name ,
bm.physical_device_name,
bss.backup_size ,
bss.backup_start_date ,
bss.backup_finish_date
FROM
msdb.dbo.backupmediafamily AS bm
INNER...
April 15, 2016 at 3:22 am
Hi,
You can try using using FOR XML PATH() , an example is here :
-- > https://sqlandme.com/2011/04/27/tsql-concatenate-rows-using-for-xml-path/
Cheers,
Robert
April 13, 2016 at 4:58 am
Viewing 15 posts - 1 through 15 (of 48 total)