谁能给我翻译一段文章阿?谢谢阿

来源:百度知道 编辑:UC知道 时间:2024/05/20 09:18:28
Read Operations on a Database Snapshot
To the user, a database snapshot appears never to change, because read operations on a database snapshot always access the original data pages, regardless of where they reside.
If the page has not yet been updated on the source database, a read operation on the snapshot reads the original page from the source database. The following figure shows a read operation on a newly created snapshot, whose sparse file accordingly contains no pages. This read operation reads only from the source database.

After a page has been updated, a read operation on the snapshot still accesses the original page, which is now stored in a sparse file. The following figure illustrates a read operation on the snapshot that accesses a page after it has been updated in the source database. The read operation reads the original page from the sparse file of the snapshot.

Effect of the Update Pattern on Database Snapshot Growth
If your

读取操作一个数据库快照
向用户,数据库快照,似乎从来没有改变,因为读取操作建立一个数据库,快照始终获得原始数据的页面,不论在何处居住。
如果网页尚未更新,源数据库中,读操作上的快照读取原始网页从源数据库。以下的数字表明,一次读操作中对一个新设立的快照,其稀疏的档案因此不包含的页面。这个读操作的内容,只有从源头上数据库。

后一个网页已更新,一次读操作中对快照仍访问原始网页,这是现在存放在一个稀疏文件。下面的数字显示一次读操作中对快照访问的网页后,它已更新在源数据库。该读操作读取原始网页,从稀疏文件的快照。

的影响,更新模式,对数据库的快照增长
如果您的源数据库是相当大的和你关心的磁盘空间使用情况,在一些点,你应该取代旧的快照了一个新的快照。理想的寿命快照取决于其增长速度和磁盘空间,这是提供给其稀疏文件。磁盘空间所需的快照,取决于有多少种不同的页面,在源数据库更新期间的生活快照。因此,如果更新都是一个小的子页面是一再更新,增长速度会放缓随着时间的推移和快照的空间的需求将保持相对较小。相反的,当所有的原始网页,最终更新至少一次,快照将增长到的大小源数据库。如果磁盘开始填补,快照,互相竞争,为磁盘空间。如果磁盘驱动器中填满了,写操作,所有的快照将失败。
因此,这是十分有用的是了解典型的更新模式为一个数据库,进行规划时,有多少空间飞行期间必需的计划寿命的快照。一些数据库,更新率可能相当;举例来说,一个库存数据库可能有它的许多网页每日更新,使其成为有用的,以取代旧的快照,每天或每周。其他数据库,比例更新的页面可能会有所不同,在商业周期;例如,目录数据库可能会更新,主要是按季,只是偶尔更新,而在其他时间;创建快照只是之前和之后的每季度更新将是一个合乎逻辑的策略。前更新的快照将允许恢复如果一个显着的更新发生错误,及后更新的快照,可用于撰写报告,在未来四分之一。
英语 » 中文(简体) 翻译
http://www.hao123.com/ss/fy.htm

在数据库快