TimesTen is an in-memory, relational OLTP database management system supporting SQL through Open Database Connectivity (ODBC), Java Database Connectivity (JDBC) and Oracle Call Interface (OCI) APIs. It services very well for real time application because of short response time and high throughput derived from its in-memory characteristics. TimesTen can deployed in following ways: Classic (single node), Cache and Scaleout (distributed, assume this deployment when coming to concurrency-related sections later).[04][05]
- Developer
- Country of Origin
- US
- Start Year
- 1996
- Former Name
- SmallBase
- Acquired By
- Project Type
- Commercial
- License
- Proprietary
TimesTen is an in-memory, relational OLTP database management system supporting SQL through Open Database Connectivity (ODBC), Java Database Connectivity (JDBC) and Oracle Call Interface (OCI) APIs. It services very well for real time application because of short response time and high throughput derived from its in-memory characteristics. TimesTen can deployed in following ways: Classic (single node), Cache and Scaleout (distributed, assume this deployment when coming to concurrency-related sections later).[04][05]
History[06][07]
TimesTen was originally named as SmallBase and developed by HP Labs. Shortly after its first commercial use in 1995, the product was split out as a separate startup company and renamed as TimesTen. In 2005, the company with 90 employees at the time was acquired by Oracle. TimesTen was then integrated with Oracle software as well as services and become part of Oracle Database Products.
Checkpoints[08][09]
TimesTen maintains two checkpoint files (ds0 and ds1) on disk to keep track of metadata of in-memory permanent data. It switches two files when a checkpoint is done to ensure there is always at least one completed checkpoint file for backup and recovery purpose. The rate for checkpointing disk writes is configurable by application. It supports fuzzy or non-blocking checkpoints as well as transaction-consistent checkpoints (i.e. blocking checkpoints).
Compression[08]
TimesTen supports columnar compression. This feature uses dictionary-based encoding to replace column values with dictionary table identifiers. It maintains separate dictionary for each column.
Indexes
By default TimesTen uses B+Tree. The original version (SmallBase) from the 1990s supported T-Trees. TimesTen still supports T-Tree indexes but the administrator has to request for the DBMS to use them.
Citations
11 sources- https://www.oracle.com/database/timesten-in-memory-database/index.html oracle.com
- Oracle TimesTen In-Memory Database Documentation Release 18.1 - Get Started oracle.com
- TimesTen - Wikipedia wikipedia.org
- https://www.oracle.com/database/technologies/related/timesten.html oracle.com
- http://www09.sigmod.org/sigmod/sigmod99/eproceedings/papers/neimat.pdf sigmod.org
- http://www.itjungle.com/tug/tug061605-story03.html itjungle.com
- TimesTen - Wikipedia wikipedia.org
- http://sites.computer.org/debull/A13june/TimesTen1.pdf computer.org
- Transaction Management oracle.com
- TimesTen PL/SQL Samples oracle.com
- AI Database | Oracle oracle.com