March 12, 2019 at 12:12 pm
Try to find why it is running . It's not a s It seems running on all version since 2008 ( the oldest that we have). The process owner is "Microsoft SQL Server", so it's the core system
Thanks a lot.
March 13, 2019 at 7:28 pm
"Microsoft SQL Server" can be a number of things, including replication, linked servers and others. Have you run a trace to verify where the call is originating from and any other code it may be running?
March 14, 2019 at 8:37 am
It's running in each local server itself. Not from a remote server at all. No agent job running at the same time. I found that execution via the profiler and i have not found other information. It seems an automatic execution run by sql server itself.
March 14, 2019 at 10:59 am
andre.bilodeau - Thursday, March 14, 2019 8:37 AMIt's running in each local server itself. Not from a remote server at all. No agent job running at the same time. I found that execution via the profiler and i have not found other information. It seems an automatic execution run by sql server itself.
SQL Server does not randomly execute code.
Please add the Host Name column in profiler, and tell us what the Application Name column and NT username says (including whether it is blank). It is likely a SSMS session where someone has left open a special tab like the Monitor tab.
March 14, 2019 at 12:24 pm
There is the stuff from the Profiler. Event_Class | TextData | ApplicationName | NTUserName | CPU | Reads | Writes | Duration | ClientProcessID | SPID | DatabaseID | DatabaseName | Error | EbventSequence | GroupID | HostName | RequestID | RowCounts | ServerName | XactSequence |
SQL:BatchStarting | select serverproperty(N'instancename') | Microsoft SQL Server | gMSA-SQL$ | 2980 | 60 | 1 | master | 600588 | 2 | CPW1-SQL-PDB41 | 0 | cpw1-sql-pdb41 | 0 | ||||||
SQL:BatchCompleted | select serverproperty(N'instancename') | Microsoft SQL Server | gMSA-SQL$ | 0 | 0 | 0 | 0 | 2980 | 60 | 1 | master | 0 - OK | 600589 | 2 | CPW1-SQL-PDB41 | 0 | 1 | cpw1-sql-pdb41 | 0 |
SQL:BatchStarting | select ServerProperty('ErrorLogFileName') | Microsoft SQL Server | gMSA-SQL$ | 2980 | 60 | 1 | master | 600590 | 2 | CPW1-SQL-PDB41 | 0 | cpw1-sql-pdb41 | 0 | ||||||
SQL:BatchCompleted | select ServerProperty('ErrorLogFileName') | Microsoft SQL Server | gMSA-SQL$ | 0 | 0 | 0 | 0 | 2980 | 60 | 1 | master | 0 - OK | 600591 | 2 | CPW1-SQL-PDB41 | 0 | 1 | cpw1-sql-pdb41 | 0 |
March 14, 2019 at 3:15 pm
andre.bilodeau - Thursday, March 14, 2019 12:24 PM
There is the stuff from the Profiler. Event_Class
TextData ApplicationName NTUserName CPU Reads Writes Duration ClientProcessID SPID DatabaseID DatabaseName Error EbventSequence GroupID HostName RequestID RowCounts ServerName XactSequence SQL:BatchStarting select serverproperty(N'instancename') Microsoft SQL Server gMSA-SQL$ 2980 60 1 master 600588 2 CPW1-SQL-PDB41 0 cpw1-sql-pdb41 0 SQL:BatchCompleted select serverproperty(N'instancename') Microsoft SQL Server gMSA-SQL$ 0 0 0 0 2980 60 1 master 0 - OK 600589 2 CPW1-SQL-PDB41 0 1 cpw1-sql-pdb41 0 SQL:BatchStarting select ServerProperty('ErrorLogFileName') Microsoft SQL Server gMSA-SQL$ 2980 60 1 master 600590 2 CPW1-SQL-PDB41 0 cpw1-sql-pdb41 0 SQL:BatchCompleted select ServerProperty('ErrorLogFileName') Microsoft SQL Server gMSA-SQL$ 0 0 0 0 2980 60 1 master 0 - OK 600591 2 CPW1-SQL-PDB41 0 1 cpw1-sql-pdb41 0
Do you have an agent job failing every 5 minutes? Or running every 5 minutes? Use the job activity monitor.
March 14, 2019 at 7:08 pm
I ran a test in my lab and the cause of this is something (or someone) running EXEC xp_enumerrorlogs. This extended stored procedure is used by SQL Server when a user expands the list of error logs in SSMS. It is also frequently used by monitoring tools to get the list of SQL Server error logs for parsing and error checking.
It looks like when the proc is called it also triggers these two statements in the background. There shouldn't be any concern with this process running, but if you want to find out what is triggering it, run a profiler trace capturing xp_enumerrorlog and that will give you the information you need.
March 15, 2019 at 8:08 am
Thanks to all of you. You help me to found it. We have Spotlight to monitor most of the sql server we have and it's that program that call the stored proc.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply