Currently, I install an Anti-virus solution on MS SQL Server. It protects windows OS. In order to speed up the SQL performance, I dont want this Anti-virus to scan my SQL database. I want to know what's the exclusion list for the Anti-virus application. Thanks,
Hi,all file extension that are used for SQL Server, by default this is mdf,ndf,ldf but this can be changed by the user, so you will need to have a look at your database. The logfiles .log can be dismissed, as there is no heavy load on them.
The information about the datafiles is stored in the sysfiles table, therefore you will have to query this table for each database in order to get the extensions. I prepared something for you which should help you to identity the needed extensions.
CREATE Table #Extensions
(
Extension VARCHAR(10)
)
INSERT INTO #Extensions
EXEC sp_msforeachdb 'Select REVERSE(LEFT(REVERSE(filename),CHARINDEX(CHAR(46),REVERSE(filename))-1)) from sysfiles'
SELECT DISTINCT Extension FROM #Extensions
If you data is stored in specific folders, you could also try to exclude this folder instead of using the file extension filter (if you application is able to do this)
HTH, Jens K. Suessmeyer.
http://www.sqlserver2005.de
|||Hi,
All anti virus server have Exclusion List which means it won't scan those files(Extension) listed , you have to enter .mdf,.ldf & .ndf to its Extention Exclusion List and then it won't scan your Database. http://www.nus.edu.sg/comcen/antivirus/faq.htm#10 FYI & E.G.
Hemantgiri S. Goswami
没有评论:
发表评论