Query Behavior
Queries remain consistent until the application program closes the iterator object. That is, a query captures a snapshot of the matching rows, and the iterator presents the rows of the snapshot. Subsequent changes to the table, such as put or delete calls, do not affect the snapshot.
After the application program closes the iterator object, the data grid can delete the snapshot and release its resources.
Snapshots are inexpensive if the table data changes slowly, but can become expensive if the data changes rapidly. To limit memory growth within data grid components, administrators can limit the number of concurrent snapshots.
Related concepts
Copyright © Cloud Software Group, Inc. All rights reserved.