| 摘要: |
| 利用操作系统的虚存技术,在虚存中开辟一块空间(大至整个虚存)作为DBMS的缓冲池.这样实现了DBMS和C++之间的无缝连接,无需特殊的编译程序,应用程序利用普通的座存指针,使用与操作临时对象相同的程序代码来直接快速地操作持久对象,建立在这种虚存技术上的缓冲机制使数据库的大小突破了虚存大小的限制. |
| 关键词: 指针搅拌 双缓冲 虚存对象管理 |
| DOI: |
| 分类号: |
| 基金项目: |
|
| COMBINING VIRTUAL MEMORY TECHNIQUES AND DUAL-BUFFER STRATEGY──SAMBASE OBJECT STORAGE SYSTEM |
|
GAO Yuan,ZHUANG Yan,ZHU Kan,ZHENG Zhenmei,SHI Shugang
|
| Abstract: |
| The approach presented in this paper uses VM(virtual memory) techniques of OS to allocate a buffer pool from VM whose size can be equal to the size of the whole VM.The approach is implemented as a C+ + class library that can be linked with an application, requiring no special compiler support. Application program accesses objects via normal VM pointers, and manipulates objects using the same compiled code. Dual-buffer strategy based on this VM technique allows the size of database exceed the size of VM. |
| Key words: Pointer swizzling dual buffer virtual memory object management |