Viewing 15 posts - 151 through 165 (of 2,651 total)
for true prod code I tend to avoid merge - performance vs insert/update can vary - either faster or slower and no quick rule to decide on it - its...
July 11, 2024 at 10:12 pm
As the table is partitioned by a date - are records on "older" partitions ever updated/inserted/deleted? if not any index operation should be done on recent partitions only, which would...
July 11, 2024 at 7:09 am
look at this thread as it gives a good explanation - better to turn that setting off - https://stackoverflow.com/questions/59505490/ssis-2019-autoadjustbuffersize-causes-buffer-allocation-error
July 10, 2024 at 11:18 pm
you did NOT give us the SQL code you are running - so nothing for us to advise on - just giving a table content and stating you get no...
July 10, 2024 at 2:26 pm
That script snippet seems to update the wrong job. The obfuscated name is larger than "DWLoad" for the job name in the job properties screenshot. Are you sure you...
July 10, 2024 at 1:39 pm
try
CREATE EVENT SESSION [Performance monitoring] ON SERVER
ADD EVENT sqlserver.sql_statement_completed(SET collect_statement=(1)
ACTION(sqlserver.client_hostname,sqlserver.database_name,sqlserver.nt_username,sqlserver.plan_handle)
WHERE ([package0].[greater_than_int64]([duration],(30000)) AND [sqlserver].[username]<>N'NT SERVICE\SQLTELEMETRY'))
ADD TARGET package0.event_file(SET FILENAME=N'...',max_file_size=(5))
WITH (MAX_MEMORY=4096 KB,EVENT_RETENTION_MODE=ALLOW_SINGLE_EVENT_LOSS,MAX_DISPATCH_LATENCY=30 SECONDS,MAX_EVENT_SIZE=0 KB,MEMORY_PARTITION_MODE=NONE,TRACK_CAUSALITY=OFF,STARTUP_STATE=OFF)
GO
July 10, 2024 at 12:34 pm
or use MSDN licensing - but this has a whole bunch of other implications for everyone that accesses the server with it.
July 2, 2024 at 2:20 pm
its a bug - will be fixed on future CU - helps reading the documentation https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2019/cumulativeupdate27
June 28, 2024 at 3:55 pm
and is the insert a single statement inserting single row values or is it the result of joining other tables - including the possibility of being done on a merge...
June 25, 2024 at 2:11 pm
edit: dup post
June 24, 2024 at 10:43 am
one more thing my log file of database (this is not tempdb this is regular db) is increasing like this , should i increase then auto increment?
file is attached.
looks...
June 24, 2024 at 10:42 am
that link kind of says it all - but it is a bit over the top in my opinion.
first thing - separate the 3 permissions mentioned (SHOWPLAN, ALTER TRACE and...
June 24, 2024 at 9:31 am
before worrying about how much you are going to need you should be looking at what tables did grow, and why - is that expected business data being added or...
June 22, 2024 at 7:45 pm
how have you managed to max the VM in terms of storage? unless you have a crap vm (which by the looks of it isn't, as a 32 vcpu is...
June 21, 2024 at 5:31 pm
as mentioned on this, and other of your threads, the index usage gets reset with every restart/failover of the server (and likely also as part of a specific db restore/offline...
June 20, 2024 at 8:45 am
Viewing 15 posts - 151 through 165 (of 2,651 total)