25.01.2015 Views

Using Caché Multi-Dimensional Storage - InterSystems ...

Using Caché Multi-Dimensional Storage - InterSystems ...

Using Caché Multi-Dimensional Storage - InterSystems ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.9 Sorting Data within Globals ................................................................................... 25<br />

3.9.1 Collation of Global Nodes ............................................................................ 26<br />

3.9.2 Numeric and String-valued Subscripts ......................................................... 27<br />

3.9.3 The $SORTBEGIN and $SORTEND Functions .......................................... 27<br />

3.10 <strong>Using</strong> Indirection with Globals ............................................................................ 28<br />

3.11 Managing Transactions ........................................................................................ 29<br />

3.11.1 Locks and Transactions .............................................................................. 30<br />

3.11.2 Nested Calls to TSTART ............................................................................ 31<br />

3.12 Managing Concurrency ........................................................................................ 32<br />

3.13 Most Recent Global Reference ............................................................................ 32<br />

3.13.1 Naked Global Reference ............................................................................. 32<br />

4 SQL and Object Use of <strong>Multi</strong>dimensional <strong>Storage</strong> .................................................... 35<br />

4.1 Data ........................................................................................................................ 35<br />

4.1.1 Default Structure .......................................................................................... 35<br />

4.1.2 IDKEY .......................................................................................................... 36<br />

4.1.3 Subclasses ..................................................................................................... 37<br />

4.1.4 Parent-Child Relationships ........................................................................... 38<br />

4.1.5 Embedded Objects ........................................................................................ 39<br />

4.1.6 Streams ......................................................................................................... 40<br />

4.2 Indices .................................................................................................................... 40<br />

4.2.1 <strong>Storage</strong> Structure of Standard Indices .......................................................... 40<br />

4.3 Bitmap Indices ....................................................................................................... 41<br />

4.3.1 Logical Operation of Bitmap Indices ........................................................... 41<br />

4.3.2 <strong>Storage</strong> Structure of Bitmap Indices ............................................................ 43<br />

4.3.3 Direct Access of Bitmap Indices .................................................................. 44<br />

iv<br />

<strong>Using</strong> <strong>Caché</strong> <strong>Multi</strong>-<strong>Dimensional</strong> <strong>Storage</strong>

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

Saved successfully!

Ooh no, something went wrong!