Viewing 15 posts - 151 through 165 (of 2,646 total)
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
IF @DB1 = 'TestDB' USE TestDB
ELSE IF @DB1 = 'ProdDB' USE ProdDB
don't know what tool you are using to execute the above -...
June 11, 2024 at 7:14 pm
IF @DB1 = 'TestDB' USE TestDB
ELSE IF @DB1 = 'ProdDB' USE ProdDB
don't know what tool you are using to execute the above - but on...
June 11, 2024 at 5:03 pm
Thanks for the feedback.
Jon,
This is a code deploy script file, I'm trying to create. Hence, need to set DB context first then run a few DDLs (see below)
Example snippet:
SELECT...
June 11, 2024 at 5:01 pm
Cluster STXL on ( MANDT, TDOBJECT, TDNAME ) instead of creating all those separate non-clus indexes. If those key columns are not inherently unique, and you can add a...
June 7, 2024 at 6:55 pm
I'd like to run an SSIS package asynchronously from a SQL Agent job step through the the [SSISDB].[catalog].[create_execution] and [SSISDB].[catalog].[start_execution] stored procedures. I need the target package to be...
June 7, 2024 at 3:14 pm
Viewing 15 posts - 151 through 165 (of 2,646 total)