Diagnose Autorefresh Failures
If the ttCacheAutorefreshStatsGet
built-in procedure shows that the status of an autorefresh operation is Failed, check the support log for messages related to the autorefresh operation with number the number shown in the output of the ttCacheAutorefreshStatsGet
built-in procedure. Look for errors that occurred after the autorefresh operation started.
This row of output from ttCacheAutorefreshStatsGet
shows a failed autorefresh operation.
< 1164260, 2007-08-01 14:56:36.000000, 959350, 9, 0, 0, 0, 0, 0, 0, 0, 1, 7,
1, 50, Failed >
The autorefresh number is 9.
The support log shows the start message for autorefresh number 9:
14:56:36.10 Info: CAC: 5988: TT47118-5988-4724-refresh03926: Starting autorefresh number 9 for interval 15000ms
The thread ID for autorefresh number 9 is 4724. Look for error messages with this thread ID.
The following messages appear in the support log:
14:56:36.10 Info: CAC: 5988: TT47117-5988-4724-refresh03953: Autorefresh thread for interval 15000ms is connected to instance inst1 on host host1. Server handle 231976252 14:56:36.12 Err : CAC: 5988: TT40018-5988-4724-refresh07567: TimesTen error code:5901, msg The Oracle refresh log table, "USER2"."TT_06_81799_L", for base table, USER2.READTAB2, cannot be found. 14:56:36.12 Info: CAC: 5988: TT47055-5988-4724-refresh05559: Autorefresh rolled back. 14:56:36.12 Info: CAC: 5988: TT47119-5988-4724-refresh04458: Autorefresh number 9 finished for interval 15000ms with error. 14:56:36.12 Err : CAC: 5988: TT40035-5988-4724-fresher01606: Autorefresh number 9 failed for cache groups with interval 15000 ms after 10 retries.
The error message for thread ID 4724 shows that the change log table, TT_06_81799_L
, is missing. The introduction to Autorefresh Not Refreshing Cache at Specified Interval has a table entry that describes what to do in this situation.