TimesTen内存数据库问题总结

来源:互联网 发布:16詹姆斯数据 编辑:程序博客网 时间:2024/05/29 19:24

1.5102: Cannot load backend library 'oci.dll' for Cache Connect.  OS error message '<empty>'.

解决办法:环境变量没有设置,可以参阅官方文档

Oracle® TimesTen In-Memory Database Installation Guide

Setting environment variables for TimesTen
If, after installation, you want to set the environment variables to standard TimesTen
settings, source the ttenv script on UNIX or run the ttenv.bat batch file on Windows.
This includes setting the path and classpath (and library path on UNIX systems) so
that TimesTen utilities can be executed, among other things. You must invoke ttenv
before starting TimesTen in order for any of the changes to take effect.
For UNIX platforms, use the appropriate script in the install_dir/bin directory,
either ttenv.sh or ttenv.csh, depending on your shell. Following are examples,
assuming your local directory is the bin directory (otherwise specify the full path).
For a Bourne-type shell, such as sh, bash, zsh, or ksh:
. ./ttenv.sh
For a csh or tcsh shell:
source ttenv.csh
For a Windows platform, execute the install_dir\bin\ttenv.bat batch file.
For a description of the command-line options for ttenv, invoke it with the -help
option. 

2.3319: This operation needs the database to attach to the grid first

解决办法:参照官方文档

As the cache manager user, use the ttIsql utility to call the ttGridAttach built-in
procedure to attach the TimesTen database to the myGrid cache grid:
Command> call ttGridAttach(1,'alone1','mysys',5001);
In this example, alone1 is a name that is used to uniquely identify the grid member,
mysys is the host name of the TimesTen system, and 5001 is the TCP/IP port for the
cache agent.
Calling the ttGridAttach built-in procedure automatically starts the cache agent if it is
not already running.

 

原创粉丝点击