Oracle TimesTen In-Memory Database (TimesTen) is a relational database that is memory-optimized for fast response and throughput. The database resides entirely in memory at runtime and is persisted to disk storage for the ability to recover and restart. Replication features allow high availability. TimesTen supports standard application interfaces JDBC, ODBC, and ODP.NET, as well as Oracle interfaces PL/SQL, OCI, and Pro*C/C++. TimesTen is available separately or as a cache for Oracle Database.
In addition, TimesTen supplies the TTClasses library, an easy-to-use, high-performance interface to TimesTen for C++ programs. This library provides wrappers around the most common ODBC functionality.
This document provides usage and reference information for the TTClasses library.
This preface covers the following topics:
This guide is for application developers who administer and access TimesTen through C++.
In addition to familiarity with the particular programming interface you use, you should be familiar with TimesTen, SQL (Structured Query Language), database operations, and ODBC.
TimesTen documentation is available on the product distribution media and on the Oracle Technology Network:
http://www.oracle.com/technetwork/database/database-technologies/timesten/documentation/index.html
Oracle Database documentation is also available on the Oracle Technology network at the following location. This may be especially useful for Oracle Database features that TimesTen supports but does not attempt to fully document, such as OCI and Pro*C/C++.
http://www.oracle.com/pls/db112/homepage
In particular, these Oracle Database documents may be of interest:
Oracle Call Interface Programmer's Guide
Pro*C/C++ Programmer's Guide
Oracle Database Globalization Support Guide
Oracle Database Net Services Administrator's Guide
Oracle Database SQL Language Reference
This manual occasionally refers to ODBC APIs. ODBC API reference documentation is available from Microsoft or a variety of third parties. For example:
http://msdn.microsoft.com/en-us/library/ms714562(VS.85).aspx
TimesTen supports ODBC 2.5, Extension Level 1, with additional features for Extension Level 2 as documented in "TimesTen ODBC Functions and Options" in Oracle TimesTen In-Memory Database C Developer's Guide.
TimesTen supports multiple platforms. Unless otherwise indicated, the information in this guide applies to all supported platforms. The term Windows applies to all supported Windows platforms. The term UNIX applies to all supported UNIX and Linux platforms. Refer to the "Platforms" section in Oracle TimesTen In-Memory Database Release Notes for specific platform versions supported by TimesTen.
Note:
In TimesTen documentation, the terms "data store" and "database" are equivalent. Both terms refer to the TimesTen database.This document uses the following text conventions:
Convention | Meaning |
---|---|
italic | Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. |
monospace |
Monospace type indicates code, commands, URLs, class names, function names, method names, attribute names, directory names, file names, text that appears on the screen, or text that you enter. |
italic monospace |
Italic monospace type indicates a variable in a code example that you must replace. For example:
Replace |
[ ] | Square brackets indicate that an item in a command line is optional. |
{ } | Curly braces indicated that you must choose one of the items separated by a vertical bar ( | ) in a command line. |
| | A vertical bar (or pipe) separates alternative arguments. |
. . . | An ellipsis (. . .) after an argument indicates that you may use more than one argument on a single command line. |
% | The percent sign indicates the UNIX shell prompt. |
# | The number (or pound) sign indicates the UNIX root prompt. |
TimesTen documentation uses the following variables to identify path, file and user names.
Convention | Meaning |
---|---|
install_dir |
The path that represents the directory where the current release of TimesTen is installed. |
TTinstance |
The instance name for your specific installation of TimesTen. Each installation of TimesTen must be identified at install time with a unique alphanumeric instance name. This name appears in the install path. |
bits or bb |
Two digits, either 32 or 64, that represent either the 32-bit or 64-bit operating system. |
release or rr |
The first three parts in a release number, with or without dots. The first three parts of a release number represent a major TimesTen release. For example, 1122 or 11.2.2 represents TimesTen 11g Release 2 (11.2.2). |
DSN |
The data source name (for the TimesTen database). |
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc
.
Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info
or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.