Oracle® TimesTen In-Memory Database C Developer's Guide 11g Release 2 (11.2.2) Part Number E21637-04 |
|
|
PDF · Mobi · ePub |
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 PL/SQL (Oracle procedural language extension for SQL), ODBC (Open Database Connectivity), JDBC (Java Database Connectivity), OCI (Oracle Call Interface), Pro*C/C++ (Oracle precompiler for embedded SQL and PL/SQL instructions in C or C++ code), TTClasses (TimesTen C++ Interface Classes), and ODP.NET (Oracle Data Provider for .NET).
This document covers TimesTen support for ODBC, OCI, and Pro*C/C++.
The following topics are discussed in the preface:
This guide is for anyone developing or supporting applications that use TimesTen through ODBC, OCI, or Pro*C/C++.
In addition to familiarity with the particular programming interface you use, you should be familiar with TimesTen, SQL (Structured Query Language), and database operations.
TimesTen documentation is available on the product distribution media and on the Oracle Technology Network:
http://www.oracle.com/technetwork/products/timesten/documentation/
Oracle documentation is also available on the Oracle Technology network. 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, the following 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 frequently refers to ODBC API reference documentation for further information. This is available from Microsoft or a variety of third parties. For example:
http://msdn.microsoft.com/en-us/library/ms714562(VS.85).aspx
Note that TimesTen supports ODBC 2.5, Extension Level 1, with additional features for Extension Level 2 where those features are included in Chapter 10, "TimesTen ODBC Functions and Options".
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 unless otherwise noted.This document uses the following text conventions:
Convention | Meaning |
---|---|
italic | Italic type indicates terms defined in text, book titles, or emphasis. |
monospace |
Monospace type indicates code, commands, URLs, function 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 placeholder or a variable in a code example for which you specify or use a particular value. 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. An ellipsis in a code example indicates that what is shown is only a partial example. |
% | The percent sign indicates the UNIX shell prompt. |
In addition, TimesTen documentation uses the following special conventions.
Convention | Meaning |
---|---|
install_dir |
The path that represents the directory where TimesTen is installed. |
TTinstance |
The instance name for your specific installation of TimesTen. Each installation of TimesTen must be identified at installation time with a unique instance name. This name appears in the installation path. |
bits or bb |
Two digits, either 32 or 64, that represent either a 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 |
TimesTen 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 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.