10.12.2012 Views

Oracle TimesTen In-Memory Database API and SQL Reference Guide

Oracle TimesTen In-Memory Database API and SQL Reference Guide

Oracle TimesTen In-Memory Database API and SQL Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Access<br />

Control<br />

CkptLogVolume<br />

Controls the amount of data in megabytes that collects in the log between<br />

background checkpoints. The counter used for the checkpoint condition is reset<br />

at the beginning of each checkpoint.<br />

If both CkptFrequency <strong>and</strong> CkptLogVolume attributes are specified, a checkpoint<br />

is performed when either of the two conditions becomes true. The values set by<br />

the ttCkptConfig built-in procedure replace the values set by these attributes.<br />

<strong>In</strong> the case that your application attempts to perform a checkpoint operation<br />

while a background checkpoint is in process, <strong>TimesTen</strong> waits until the<br />

background checkpoint finishes <strong>and</strong> then executes the application’s checkpoint.<br />

To turn off background checkpointing, set CkptFrequency=0 <strong>and</strong><br />

CkptLogVolume=0.<br />

The setting of this attribute is “sticky:” it can only be changed by using an<br />

explicit value. The default value is only used during data store creation.<br />

Subsequent first connections default to using the existing value stored in the data<br />

store. If left unspecified (or empty in the Windows ODBC Data Source<br />

Administrator), the stored setting is used. To turn the attribute off, you must<br />

explicitly specify a value of 0.<br />

If Access Control is enabled, this attribute requires ADMIN privileges.<br />

Setting Set CkptLogVolume as follows:<br />

C or Java<br />

programs<br />

or UNIX<br />

ODBC.INI file<br />

Windows<br />

ODBC Data<br />

Source<br />

Administrator<br />

CkptLogVolume Specify the amount of data that an<br />

accumulate in the log file between<br />

background checkpoints. The default<br />

is 64 if Logging=1 is specified,<br />

otherwise it is 0. To specify the<br />

default or “existing” value, leave the<br />

value empty. A value of 0 means that<br />

log volume is not considered when<br />

scheduling checkpoints.<br />

CkptLogVolume<br />

field<br />

Specify the amount of data that an<br />

accumulate in the log file between<br />

background checkpoints. The default<br />

is 64 if Logging=1 is specified,<br />

otherwise it is 0. To specify the<br />

default or “existing” value, leave the<br />

field empty. A value of 0 means that<br />

log volume is not considered when<br />

scheduling checkpoints.<br />

28 <strong>Oracle</strong> <strong>TimesTen</strong> <strong>In</strong>-<strong>Memory</strong> <strong>Database</strong> <strong>API</strong> <strong>and</strong> <strong>SQL</strong> <strong>Reference</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!