Enabling Explicit Tuple Format for DataGrid Fields

You can set a property in the CDD so that they are instead stored as tuples. That is, TIBCO BusinessEvents attempts to create explicit space structures for each entity type.

In Shared Nothing mode, explicit tuple format is assumed internally. You should not set this property in Shared Nothing mode.

You can still use query language queries (as explained in Query the Cache Using BQL Queries) if entities and their properties are stored as blobs. However performance is improved if they are stored as tuples.

Only certain datatypes can be stored as tuples:

  • Primitive datatypes
       int, long, boolean, string, datetime, contained, reference

    Are stored as the equivalent TIBCO BusinessEvents DataGrid types:

       integer, long, boolean, string, calendar, long, long
  • Concepts
    • Concept property arrays are stored as blob columns
  • Events
    • Payload is a byte array or blob
  • State Models

If an error occurs, for example due to an unsupported datatype, the item revers to its original blob format.

Prerequisites

Procedure

  • To enable explicit tuple format, at the cluster level, set the following field to true: "Store Properties As Individual Fields".