发明名称 Memory file size adjustment
摘要 Shrinking a database file is performed by manipulating pages within the file such that all empty pages reside at the end of the file. Non-empty pages from the end of the file are written to empty pages at the start of the file. Repeating this process, the correct number of times, results in all of the empty pages residing at the end of the file. Once this is achieved, the file is truncated such that the space consumed by all empty and discardable pages is returned to the file system. Truncating the file involves traversing the file backwards from the end of the file until the first non-empty page is found. The file is truncated after the last non-empty page.
申请公布号 US7296043(B2) 申请公布日期 2007.11.13
申请号 US20030448847 申请日期 2003.05.30
申请人 MICROSOFT CORPORATION 发明人 BAILEY STEVEN J.
分类号 G06F12/00;G06F7/00;G06F17/00;G06F17/30;G06F17/40 主分类号 G06F12/00
代理机构 代理人
主权项
地址