mco_disk_fs_cache_warmup

Load database files into the file system cache.

Prototype

    MCO_RET mco_disk_fs_cache_warmup( mco_db_h db );

Arguments

db
The database handle for this database connection.

Description

This function allows an application to load database files into the file system cache which can give up to 8x performance improvement for traversal of database records.

Return Codes

MCO_S_OK
The database files were successfully loaded.
MCO_E_DISK_READ
An error occurred attempting to read or write to persistent media.

Files

Header file:
mco.h
Source file:
mcodisk.c
Library:
libmcovtdsk.a
Header file:
mco.h
Source file:
mcovtmem.c
Library:
libmcovtmem.a