Timesten cache database的準備
1.建立 Cache Table User
[timesten@rhel132 ~]$ ttisql
Command> connect ljg_tt1122;
Connection successful: DSN=ljg_tt1122;UID=timesten;DataStore=/home/timesten/TimesTen/tt1122/info/ljg;DatabaseCharacterSet=WE8MSWIN1252;ConnectionCharacterSet=US7ASCII;DRIVER=/home/timesten/TimesTen/tt1122/lib/libtten.so;LogDir=/home/timesten/TimesTen/tt1122/info/ljg/logs;PermSize=64;TempSize=32;TypeMode=0;OracleNetServiceName=orcl131;
(Default setting AutoCommit=1)
Command>
Command> create user cacheadm identified by cacheadm;
User created.
Command> grant admin to cacheadm;
2.由於要將hr的表cache到cache database中,cache database也需要建立相應的schema
Command> create user hr identified by hr;
User created.
Command> grant create session to hr;
3.將資料庫的cacheadm使用者和cache database的cacheadm使用者進行關聯
Command> connect "dsn=ljg_tt1122;uid=cacheadm;oraclepwd=cacheadm";
Enter password for 'cacheadm':
Connection successful: DSN=ljg_tt1122;UID=cacheadm;DataStore=/home/timesten/TimesTen/tt1122/info/ljg;DatabaseCharacterSet=WE8MSWIN1252;ConnectionCharacterSet=US7ASCII;DRIVER=/home/timesten/TimesTen/tt1122/lib/libtten.so;LogDir=/home/timesten/TimesTen/tt1122/info/ljg/logs;PermSize=64;TempSize=32;TypeMode=0;OracleNetServiceName=orcl131;
(Default setting AutoCommit=1)
con1: Command> call ttcacheuidpwdset ('cacheadm','cacheadm');
con1: Command> call ttcacheuidget;
< CACHEADM >
1 row found.
con1: Command>
4.建立cache grid,只是第一次需要這步,以後就不用了
con1: Command> call ttgridcreate ('samplegrid');
con1: Command> call ttgridinfo;
< SAMPLEGRID, CACHEADM, Linux Intel x86, 32-bit, 11, 2, 2 >
1 row found.
5.將cache grid和cache database進行關聯
con1: Command> call ttgridnameset ('samplegrid');
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271283/viewspace-1057741/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Timesten新增Cache Groups到 Cache DatabaseDatabase
- Oracle_TimesTen_and_In-Memory_Database_Cache_11g_Ed_1OracleDatabase
- TimesTen重建備機標準操作[TimesTen運維]運維
- Linux下TimesTen主備搭建、重建cache group、重建備機操作[TimesTen運維]Linux運維
- Timesten cache group aging 功能的實現
- Timesten匯入資料到Cache Group
- Oracle與TimesTen記憶體資料庫Cache Group同步效率與TimesTen主備資料同步機制研究Oracle記憶體資料庫
- Oracle database buffer cacheOracleDatabase
- Database Buffer Cache (79)Database
- Organization of the Database Buffer Cache (80)Database
- Size of the Database Buffer Cache (82)Database
- TimesTen中配置只讀Cache Group to Oracle的基本步驟Oracle
- database buffer cache之我見Database
- TimesTen CacheGroup配置標準操作步驟
- TimesTen手動主備切換(ASP模式)[TimesTen運維基礎]模式運維
- prepare statement cache size influence databaseDatabase
- 主備切換的準備工作
- 測試基準資料的準備
- How To Size the Database Smart Flash Cache (Doc ID 1317950.1)Database
- 你的備庫做好準備了嗎
- 主備切換的準備工作(二)
- JAVA準備Java
- 面試準備面試
- bq準備
- sd準備
- Openfire安裝準備-MySQL資料庫準備MySql資料庫
- 全棧必備:快取cache全棧快取
- 全棧必備——快取Cache全棧快取
- 面試準備(1)面試
- 如何準備面試?面試
- 面試準備(一)面試
- 準備提交appAPP
- 技術準備
- java面試準備Java面試
- 用於快取的新HTTP標準:Cache-Status和Target-Cache-Control快取HTTP
- 渲染程式的筆試準備筆試
- 配置DataGuard的準備知識
- 成功備戰微服務的5個準備步驟微服務