Viewing 15 posts - 151 through 165 (of 1,241 total)
I might as well add, if this is supposed to be routing you could create a JOB that runs powershell to do the move. With powershell you can actually go...
----------------------------------------------------
August 24, 2022 at 1:47 am
Something like the following ?
declare @cmdStr as varchar(100);
declare @today AS CHAR(8)
set @today = '20220805'; /* Or however you want to set this */
set @cmdStr = 'copy...
----------------------------------------------------
August 24, 2022 at 1:41 am
In your server you can enable xp_cmdShell
exec sp_configure 'xp_cmdShell'
To view the current setting for this option. You can run CMD commands within your script with this (be...
----------------------------------------------------
August 23, 2022 at 7:35 am
We do fail overs when patching. The only gotcha is to make sure there are no "Jobs" running at the time that could be interrupted.
If there are tons of servers...
----------------------------------------------------
August 23, 2022 at 6:58 am
A very nice and handy article. I learned about assemblies built with C# long ago but never got around to using them. This is an example of a good time...
----------------------------------------------------
August 23, 2022 at 6:47 am
I realise this is an older post, but I was wondering if anyone has experienced any downsides with automatic tuning being on. It seems it is all positive from the...
----------------------------------------------------
July 7, 2022 at 6:08 am
Once transactions are moved over to the replica log get cleared. Problems arise if there is ever a connection issue.
----------------------------------------------------
June 7, 2022 at 8:22 pm
Just to add my bit:
In the Query Store you my want to look at regressed quries. In fact look at your Query Store overall from many views,... I/O, cpu, running...
----------------------------------------------------
June 7, 2022 at 6:46 pm
Set the size manually after restorng and see if it does not get shrunk after wards.
----------------------------------------------------
June 7, 2022 at 4:41 pm
Are you connecting to the correct database and not a test server ?
----------------------------------------------------
June 7, 2022 at 4:21 pm
You can try to check the Query Store for "regressed queries". These are ones that have chosen less optimal plans. There could be a few procedures this is afflicting but...
----------------------------------------------------
June 7, 2022 at 4:12 pm
Sounds like your transaction log being full is putting a stop to replication. There is no need to "shrink" the log file if it is just going to grow again....
----------------------------------------------------
June 7, 2022 at 12:24 am
Secondary replicas as I understand have read intent off by default. Did you make this change in the application or the database ?
----------------------------------------------------
June 7, 2022 at 12:17 am
Seems to me you may want to get familiarized with the LAG() function. I am sure you can incorporate it into your solution,
https://docs.microsoft.com/en-us/sql/t-sql/functions/lag-transact-sql?view=sql-server-2017
The previous months ending balance is the current...
----------------------------------------------------
June 6, 2022 at 11:50 pm
I imagine if your statistics are up to date you will not have to consider the join order as the optimiser will define that. There may be times where it...
----------------------------------------------------
April 29, 2022 at 10:55 pm
Viewing 15 posts - 151 through 165 (of 1,241 total)