Oracle Timesten 7.0 内存数据库: (1)安装


安装环境: Suse Enterprise Linux 10

  使用root用户安装, 不启用Access Control.

  步骤比较简单,可以参见"Oracle TimesTen In-Memory Database Installation Guide", 或者参加下面的viewlet

  linux_viewlet_swf.html">http://www.oracle.com/technology/products/timesten/viewlets/tt70_install_linux_viewlet_swf.html

  1. Pre-Install

  (1) 按照安装文档的要求修改系统参数:

  Large pages, Shared memory, Semaphores.如果需要复制功能的话,还需要用sysctl配置一系列net相关的参数

  (2) 检查compat-libstdc++

  2. Install

  (1) 先安装In-Memory Database

  ./setup.sh

  安装 Oracle TimesTen In-Memory Database的Client/ Server and Data Manager,其余可接受默认选项

  (2) 接下来安装Cache Connect to Oracle

  ./setup.sh -installCache

  3. 修改环境变量

  (1) CLASSPATH: 添加两个路径: install_dir/demo和install_dir/lib/ttjdbc5.jar

  (2) LD_LIBRARY_PATH: 添加install_dir/lib

  (3) PATH: 添加 /opt/TimesTen/tt70/bin

  (4) ORACLE_HOME: Cache Connec to Oracle需要这个参数

  (5) ODBCINI,SYSODBCINI,SYSTTCONNECTINI不是必需的

  4. 运行Demo

  cd /opt/TimesTen/tt70/demo

  .ttdemoenv.sh

  cd performance

  make -f Makefile tptbm

  ./tptbm -proc 4 -read 60 -insert 10 tptbmdata_tt70


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3