简体   繁体   中英

filetable_updates table in SQL Server Profiler

Recently we started monitoring the SQL Profiler to capture queries executed in server.

Strangely we observed the below query executed for every single minute in Database.

SELECT table_id,
       item_guid,
       oplsn_fseqno,
       oplsn_bOffset,
       oplsn_slotid
FROM   [Databasename].[sys].[filetable_updates_2105058535] WITH (readpast)
ORDER  BY table_id 

在此处输入图片说明

When I tried to execute manually, it throwing error saying

Msg 208, Level 16, State 1, Line 1 Invalid object name 'Databasename.sys.filetable_updates_2105058535'.

It is using sys schema not dbo

Can somebody give insight of this process. Is this something to worry about I searched through forum didn't get any answer. Sometimes it is executing more than twice for a minute

if your database has filestream/filetable, you will see these queries being run by the system occasionally:

            select table_id, item_guid, oplsn_fseqno, oplsn_bOffset, oplsn_slotid
            from [database].[sys].[filetable_updates_<some_id>] with (readpast) order by table_id

So, may you may want to add additional filtering to the above query to filter those out (as long as the filter doesn't accidentally filter out queries you do care about). This is probably a safe addition to that derived table:

            AND t.[text] NOT LIKE N'%oplsn_fseqno%'

And one more is The AlwaysOn feature must be enabled for the server instance 'xxxxx\\SQL2K12' before you can create an availability group on this instance. To enable AlwaysOn, open the SQL Server Configuration Manager, select SQL Server Services, right-click the SQL Server instance name, select Properties, and use the AlwaysOn High Availability tab of the SQL Server Properties dialog.

More Info :

1. System process queries

2. 2012 AlwaysON Setup

please let us know if you have any concerns.

使用相同的时间戳 filetable_updates_2105058535 也发生了这种情况

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM