OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CachingFileMgr.h File Reference
#include "FileMgr.h"
#include "Shared/File.h"
+ Include dependency graph for CachingFileMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  File_Namespace::EpochInfo
 
class  File_Namespace::CachingFileBuffer
 
class  File_Namespace::CachingFileMgr
 A FileMgr capable of limiting it's size and storing data from multiple tables in a shared directory. For any table that supports DiskCaching, the CachingFileMgr must contain either metadata for all table chunks, or for none (the cache is either has no knowledge of that table, or has complete knowledge of that table). Any data chunk within a table may or may not be contained within the cache. More...
 

Namespaces

 File_Namespace
 

Functions

std::string File_Namespace::get_dir_name_for_table (int db_id, int tb_id)
 

Detailed Description

This file details an extension of the FileMgr that can contain pages from multiple tables (CachingFileMgr). The main differences between a CFM and an FM:

  • CFM can contain pages from multiple different tables in the same file.
  • CFM will only retain a single version of each page (no support for rolloff or rollback functionality).
  • CFM maintains a separate epoch for each table in it's files.

Definition in file CachingFileMgr.h.