2

我使用以下命令在 SQL Server 2008 R2 中创建数据库快照:

  CREATE DATABASE "dbss" ON  (
  NAME = "os-file-name",
  FILENAME = 'path')
  AS SNAPSHOT OF "dbName";
  GO

我收到了这个错误:

标准版(64 位)不支持数据库快照。

有谁知道如何在 SQL Server 2008 R2 中创建数据库快照?

4

1 回答 1

8

Database Snapshot is a feature of the Enterprise Edition and the 2008 Developer Edition.

Besides that there is only little use of Snapshots for a "common user". Most things can be done with a backup too.

Main purpose for snapshots are expensive queries on rapidly changing data. If you got a huge database and need to execute a query for a report that takes some time there is the danger that data may change while the query / procedure fetches data for the report. In this case you need snapshots. There you can query all your data without having problems with changing data.

于 2013-08-14T10:51:09.730 回答