Oracle® TimesTen In-Memory Database TTClasses Guide Release 11.2.1 Part Number E13074-06 |
|
|
View PDF |
Oracle TimesTen In-Memory Database is a memory-optimized relational database. Deployed in the application tier, TimesTen operates on databases that fit entirely in physical memory using standard SQL interfaces. High availability for the in-memory database is provided through real-time transactional replication.
TimesTen supports a variety of programming interfaces, including ODBC (Open DataBase Connectivity), OCI (Oracle Call Interface), Oracle Pro*C/C++ (precompiler for embedded SQL and PL/SQL instructions in C or C++ code), and PL/SQL (Oracle procedural language extension for SQL).
The TimesTen C++ Interface Classes (TTClasses) library was written to provide an easy-to-use, high-performance interface to TimesTen. This C++ class library provides wrappers around the most common ODBC functionality.
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/timesten/documentation/
Oracle documentation is also available on the Oracle Technology network at the following location. This may be especially useful for Oracle features that TimesTen supports but does not attempt to fully document, such as OCI and Pro*C/C++.
http://www.oracle.com/technetwork/database/enterprise-edition/documentation/
In particular, these Oracle 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 multiple platforms. Unless otherwise indicated, the information in this guide applies to all supported platforms. The term Windows refers to Windows 2000, Windows XP and Windows Server 2003. The term UNIX refers to Solaris, Linux, HP-UX, Tru64 and AIX.
Note:
In TimesTen documentation, the terms "data store" and "database" are equivalent. Both terms refer to the TimesTen database unless otherwise noted.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 |
Numbers that represent a major TimesTen release, with or without dots. For example, 1121 or 11.2.1 represents TimesTen Release 11.2.1. |
DSN |
The data source name (for the TimesTen database). |
Our goal is to make Oracle products, services, and supporting documentation accessible to all users, including users that are disabled. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/
.
Accessibility of Code Examples in Documentation
Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.
Accessibility of Links to External Web Sites in Documentation
This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/support/contact.html
or visit http://www.oracle.com/accessibility/support.html
if you are hearing impaired.
For information about obtaining technical support for TimesTen products, go to the following Web address: