简体   繁体   English

SQL Server数据库选项跟踪

[英]SQL Server database option tracking

I am in the unique situation of trying to identify who/when made a change to the options on a customer's database. 我处于一种独特的情况下,试图确定谁/何时更改了客户数据库中的选项。 Specifically the change to the Files properties on a database for our product (the initial size of the log file and the autogrowth options to be most specific). 具体来说,就是对我们产品数据库中“文件”属性的更改(日志文件的初始大小和最具体的自动增长选项)。 Is there a way to either directly or indirectly found out specifically this, or as a whole, any of the meta data changes to a database? 是否有一种方法可以直接或间接地专门发现此问题,或者整体上发现对数据库的任何元数据更改? I have seen articles about tracking the changes of the database schema, but I was more concerned with the actual properties of the database such as this and basically anything else in the properties screen for the database. 我看过有关跟踪数据库模式更改的文章,但是我更关心数据库的实际属性,例如数据库的实际属性,以及其他属性。

In this instance, the log file size was drastically increased, so I cannot simply look to see the size of the transaction log backups. 在这种情况下,日志文件的大小急剧增加,因此我不能简单地查看事务日志备份的大小。

I'm just googling for this here but 我只是在这里搜寻

this and this looks like it would do it. 这个看起来会做到的。

The second link shows turning on tracing and viewing configuration changes history. 第二个链接显示打开跟踪并查看配置更改历史记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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