Viewing 15 posts - 76 through 90 (of 335 total)
@Grant
CREATE EVENT SESSION [MySession1] ON SERVER
ADD EVENT sqlserver.sql_statement_completed(
ACTION(package0.collect_system_time,sqlserver.client_app_name,sqlserver.client_hostname,sqlserver.database_name,
sqlserver.server_principal_name,sqlserver.sql_text))
ADD TARGET package0.ring_buffer(SET max_memory=(10240))
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
I have a smiliar session which dumps data into...
August 30, 2021 at 5:47 pm
Hi All,
The host name is dependent on the connection string. If people leave this off, it's why you can't audit for it. You can use HOST_NAME to get this information...
August 30, 2021 at 5:31 am
@thanks Jeff..I can check the error log way but can I get references on how I can filter the all data but the login records into the .xel...
August 25, 2021 at 11:17 am
Sounds good to me but unless I am not responding with an answer to the original thread I wasn't sure if it would be appropriate to get into someone's thread...
August 24, 2021 at 2:15 pm
Thanks @Johan.
I settled with this...
CREATE TABLE #Results (
abc VARCHAR(MAX)
)
INSERT INTO #Results
exec sp_msforeachdb '
Select ''
USE [?]
GO
CREATE DATABASE AUDIT SPECIFICATION [DatabaseAuditSpecification ?]
FOR SERVER...
August 21, 2021 at 4:00 am
No infact it has more memory allocated
June 24, 2021 at 1:04 am
@Grant/All,absolutely, the advise I have received from this community has been unparalleled.Learnt a lot from here and I rely more here than the web.
Initially the DB was not a true...
June 22, 2021 at 11:41 pm
My bad ,I understand. Thanks again @Grant.
June 22, 2021 at 3:36 pm
@scott,@Grant,@Steve, All
We have again done a straight back and restore across enterprise to standard.Under what circumstances can the execution plans be different.Both instances run on same windows and...
June 21, 2021 at 7:34 pm
Stats were never updated on both the versions (standard and enterprise).Both stand 2 years old.Checked some tables which are referred in the stored proc.They stats are the same.
Looks like statistics...
June 21, 2021 at 5:08 pm
@steve-2 Jones, @Grant and all,
Thank you.
I have saved the execution plans from enterprise and standard edition. How can I force the stored procedure to use the enterprise plan...
June 21, 2021 at 10:05 am
I did nothing.They just became readable.
Thanks
June 20, 2021 at 3:45 pm
@Steve. Thanks
What settings/config values should be checking in Standard and enterprise (fyi:both on same machine)to troubleshoot this.A back and restore has been done from enterprise to standard, so...
June 18, 2021 at 7:21 pm
Viewing 15 posts - 76 through 90 (of 335 total)