TimesTen шинэ Datastore үүсгэх

Шинээр үүсгэсэн инстанс руу анх холбогдоход datastore үүсгээгүй тул алдаа заах болно. Тиймээс эхний удаа холбогдохдоо AutoCreate=1 параметрийг хослуулж холбогдох шаардлагатай.

[root@node218 bin]# ./ttisql

Copyright (c) 1996-2008, Oracle.  All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
All commands must end with a semicolon character.

Command> connect "dsn=mydsn";
  833: Data store /var/TimesTen/tt70 not found
The command failed.
Command> connect "dsn=mydsn;AutoCreate=1";
Connection successful: DSN=ocs;UID=root;DataStore=/var/TimesTen/tt70;DatabaseCharacterSet=TIMESTEN8;ConnectionCharacterSet=TIMESTEN8;LogFileSize=128;DRIVER=/tt/TimesTen/tt70/lib/libtten.so;LogBuffSize=65536;PermSize=3000;TempSize=300;LockWait=0.1;Connections=128;CkptFrequency=300;CkptLogVolume=128;TypeMode=0;
(Default setting AutoCommit=1)
Command>
Command>
1 Like