Viewing 15 posts - 61 through 75 (of 242 total)
in my experience, disk is bottleneck most of the time, try it out.
SET NOCOUNT ON
declare
@fno int,
@dbname varchar(100),
@path varchar(100),
@finame varchar(100),
@dsk...
December 6, 2018 at 8:41 am
enjoy
declare @cmd2kill varchar(10)=null;
declare killproc cursor for
SELECT 'kill ' + cast(spid as varchar)
FROM Master.dbo.sysprocesses
WHERE DBID NOT IN (1,2,3,4) AND spid > 50...
December 5, 2018 at 2:15 pm
Something like that
SELECT 'kill ' + cast(spid as varchar) cmd2kill, *
FROM Master.dbo.sysprocesses
WHERE DBID NOT IN (1,2,3,4) AND spid > 50 AND spid <>@@spid
and...
December 5, 2018 at 12:27 pm
Since the reason is not clear why this information is needed, I would contact network admin to find out data movement between two server, they can probably setup a capture...
December 5, 2018 at 7:04 am
in addition to what Jeff said, here is how you can find out which files are needed.
-- choose database or currently used database will be selected
December 4, 2018 at 7:21 am
I concur, in place upgrade is not good idea, be prepared to deal with lots of issues in future if you go this route.
December 3, 2018 at 1:25 pm
which monitoring tool, it should also tell you whats causing it, call vendor support
November 30, 2018 at 12:53 pm
not sure what you want it for, this is the best you can get, as suggested use extended events..
SELECT getdate() as datetime,
es.login_time,es.last_request_start_time,
ec.client_net_address,...
November 30, 2018 at 12:36 pm
it is possible, one way to check is to remove secndory replica (s) from AG , shrinkfile and then add back secondary replica(s), they should catch up to primary
November 28, 2018 at 1:01 pm
how big is the file?, may be create another file and move everything into it, then shrink it and either move back data or just rename the new one and...
November 28, 2018 at 7:58 am
Thank you all for your input, the stored procedure is working as expected with trace flag 9481,with 120 compatibility level, however we are going to rewrite the code to avoid...
November 28, 2018 at 7:34 am
I think you should have one dns entry with two ip addresses, change register all ip address to 0 for ag group, then you will have one dns entry with...
November 6, 2018 at 11:22 am
just use robocopy in xp_cmdshell, it will skip files that are already there and copy only newer files
November 6, 2018 at 8:13 am
I use this to identify, modify the threshold as you wish
------
# set no of processors to average % out and SQL instance to run for
$proc =...
November 6, 2018 at 8:04 am
Viewing 15 posts - 61 through 75 (of 242 total)