timensten 常見維護操作,timensten維護

來源:互聯網
上載者:User

timensten 常見維護操作,timensten維護

**********************************************ttadmin**********************************************---1.一直保持在記憶體ttAdmin -ramPolicy always ttwind---2.應用串連時再載入到記憶體ttAdmin -ramPolicy inUse ttwind---3.手動載入記憶體ttAdmin -ramPolicy manual -ramLoad ttwind---4.手動卸載記憶體ttAdmin -ramPolicy manual -ramUnload ttwind---5.最後一個串連斷開300秒以後卸載記憶體(history是DSN名)ttAdmin -ramPolicy inUse -ramGrace 300 History---6.開啟和關閉cache agentCommand> call ttcachestart;Command> call ttcachestop;或ttAdmin -cacheStart ttwindttAdmin -cacheStop ttwind或ttAdmin -cachePolicy always ttwindttAdmin -cachePolicy manual ttwind**********************************************************************call**********************************************************************1、檢查checkpoint的近8次CheckPoint記錄。call ttCkptHistory;2、查看checkpoint的配置。call ttCkptConfig;< 600, 32, 0 >1 row found.call ttCkptConfig(1200,0,50);3、重設TEMP_IN_USE_HIGH_WATERcall ttMonitorHighWaterReset();4、查看tt的配置。call ttConfiguration;5.如果快取Proxy 原則為manual,則ttCacheStart 會啟動快取代理。call ttCacheStart6.如果快取Proxy 原則為manual,則ttCacheStop 會停止快取代理call ttCacheStop 7.返回與指定的活動資料儲存中的每個串連有關的以下資訊call ttDataStoreStatus;8.返回當前資料存放區的本地主機名稱call ttHostNameGet 9.設定當前資料存放區的預設本地主機名稱call ttHostNameSet 10.設定由串連啟動的後續交易處理的鎖層級粒度。新的鎖層級不會影響當前的交易處理call ttLockLevel11.為串連中的當前交易處理和後續交易處理設定鎖逾時時間間隔(以秒為單位)ttLockWait**********************************************************************3.alter cachegroup**********************************************************************ALTER CACHE GROUP [Owner.]GroupName         SET AUTOREFRESH STATE        {ON | OFF | PAUSED}ALTER CACHE GROUP [Owner.]GroupName        SET AUTOREFRESH MODE        {INCREMENTAL | FULL}ALTER CACHE GROUP [Owner.]GroupName         SET AUTOREFRESH INTERVAL IntervalValue         {MINUTE[S] | SECOND[S] | MILLISECOND[S] }----重新refresh資料alter cache group cacheuser.cachetblorders set autorefresh state paused;refresh  cache group cacheuser.cachetblorders commit every 50000 rows;alter cache group cacheuser.cachetblorders set autorefresh state on;

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.