1. +++++++++++++++++++++++++++++++++++++++
++ + Create a TimesTen in memory database +++
+++++++++++++++++++++++++++++++++++++++
Assumption: TimesTen database software has been installed
Oracle user has been used for TimesTen installed. So OS user Oracle is the administrator user for
creating TimesTen database.
1. Define a Data Source Name (DSN)
==============================
DSN defines the configuration of the database and must be defined before creating Database.
Modify the sys.odbc.ini [Add DSN anywhere in the ODBC DATA Sources section]
2. 2. Specify New data Source definition
===================================
edit sys.odbc.ini to add source definition and save
Driver - location of the TimesTen direct linked ODBC driver
DataSource - location and name of the database files
LogDir - directory for the transaction logs
PermSize - Permanent partition of the database size in MB
TempSize -Temporary partition of the database size in MB
DatabaseCharacterSet - Character Set of the database
3. Verify that database daemon is running
================================
3. 4. ttisql to connect database and create the database store
============================================
4. So mono_ttdb database has been created and loaded into memory.
Check the TimesTen in memory Database status
+++++++++++++++++++++++++++++++++++++
[oracle@cloud bin]$ ./ttstatus
TimesTen status report as of Tue Nov 19 05:09:33 2013
Daemon pid 4161 port 53396 instance tt1122
TimesTen server pid 4170 started on port 53397
-----------------------------------------------------------------------Data store /u01/app/ttdata/datastores/mono_ttdb
There are no connections to the data store
Replication policy : Manual
Cache Agent policy : Manual
PL/SQL enabled.
-----------------------------------------------------------------------Accessible by group dba
End of report
[oracle@cloud bin]$ ./ttisql mono_ttdb
Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.