Open topic with navigation

TIBCO ActiveSpaces® 4.8.0

# Row Expiration

Rows are considered expired when they have exceeded their configured time-to-live (TTL) value. Ordinarily, rows in a table are not deleted until a client explicitly deletes them. In some situations, however, the data in the rows might only remain valid or relevant for a short span of time. Leaving these rows in the table indefinitely consumes disk space and in some situations, can slow down your queries. The row expiration feature is designed to remove outdated rows.

An application developer can override the default TTL by setting TTL on a specific row before it is inserted in a table. Developers can use the C or Java API to override the TTL set for a table. For more information, see Overriding the Default TTL for a Single Row.

When a row is expired, it becomes available for deletion from the table. Note that becoming available for deletion does not mean it gets deleted immediately. Deletion takes place only after the table is scanned for expired rows. For more information, see Deletion of Expired Rows.

Subtopics

Copyright © 2009-2022. Cloud Software Group, Inc. All Rights Reserved.