Disable Transaction Log

后端 未结 5 1949
你的背包
你的背包 2020-12-07 16:40

Oracle has SQL commands that one can issue so that a transaction does not get logged. Is there something similar for SQL Server 2008?

My scenario: We need Tx logs on

5条回答
  •  情书的邮戳
    2020-12-07 16:45

    If this is only for dev machines in order to save space then just go with simple recovery mode and you’ll be doing fine.

    On production machines though I’d strongly recommend that you keep the databases in full recovery mode. This will ensure you can do point in time recovery if needed.

    Also – having databases in full recovery mode can help you to undo accidental updates and deletes by reading transaction log. See below or more details.

    How can I rollback an UPDATE query in SQL server 2005?

    Read the log file (*.LDF) in sql server 2008

    If space is an issue on production machines then just create frequent transaction log backups.

提交回复
热议问题