Viewing 15 posts - 346 through 360 (of 6,400 total)
Ok thats interesting. But are you able to run this on Azure?
On what in Azure?
Azure SQL Database? If so what size? Is it DTU? Is it vCore? What config?
Azure...
April 4, 2023 at 9:55 am
Options for this would be
1 - fix forward
2 - restore the pre-update DB side by side or on another server and use things like RedGate schema compare to revert the...
March 30, 2023 at 7:52 pm
Well what is the reasoning behind rebuilding indexes? Performance? And has it been proven that the index rebuild actually helps or is it the UPDATE STATISTICS by product which is...
March 30, 2023 at 12:35 pm
Can be done your logic is just a little off.
The "ParamDefinition" must be a continuous string of all params for the dynamic SQL
DECLARE @t [dbo].[ChannelReadingType];
DECLARE @ChannelReadingTableName ...
March 28, 2023 at 2:24 pm
Something is blocking/holding a lock on the query the GUI is trying to run.
Use things like sp_who2 / sp_whoisactive (http://whoisactive.com/) / sp_blitzlock (https://downloads.brentozar.com/FirstResponderKit.zip), to see what is holding a lock...
March 28, 2023 at 8:40 am
I would use "sp_whoisactive" and store this in a table frequently, have a job to run it every 10 seconds or so to capture what you need and then you...
March 28, 2023 at 8:25 am
No I didn't, I don't fully understand your requirements.
Please generate what data is needed to be in the "final result set" based on the data in the BACPAC and it...
March 28, 2023 at 8:21 am
Hi,
looking at other side of it, is there a way to reclaim the space on the drive after Index Rebuild ? thank you.
Yes, but you really shouldn't do it
You...
March 27, 2023 at 1:27 pm
Ah OK, your talking about OS based maintenance not SQL / DB maintenance.
So take a look at MSDB and the backup history tables, work out how big the log backups...
March 27, 2023 at 11:55 am
SOUNDEX is going to be the closest thing in T-SQL to do it, but it wouldn't match LASIX to LASI as the sound isn't the same.
Just note it's non-SARGable so...
March 27, 2023 at 9:31 am
There is no true and tested method, and it all depends how you're doing the maintenance.
If doing things in serial, like most index rebuilds etc, find your biggest index size...
March 27, 2023 at 8:46 am
You can gather statistics using this object sys.dm_db_index_usage_stats
It will provide information about seeks, scans, updates etc.
SELECT
DB_NAME(database_id) AS [Database Name],
...
March 27, 2023 at 8:41 am
Look through the MSDB, everything you need and more is in the system tables in that DB.
sysjobs
sysjobsteps
sysjobhistory
March 27, 2023 at 8:40 am
You would need to monitor all that, you can track the table spaces quite easily, there is s built in report to do it. However the query which caused the...
March 27, 2023 at 8:39 am
You need to monitor the default trace for event ids 92/93/94/95, how often you need to gather this information will depend how busy the server is. A very busy server...
March 25, 2023 at 6:37 pm
Viewing 15 posts - 346 through 360 (of 6,400 total)