728x90
You can perform routine administrative tasks that can prevent assertion failures or help prepare for recovering from assertion failures.
To prevent assertion failures on Informix®, perform the following tasks regularly:
Table 1. Preventing assertion failuresPrevention taskPurpose
Test your applications thoroughly in a realistic environment before releasing your applications into production. | Applications can trigger assertion failures.Make sure that you have allocated enough resources: for example, physical and logical logs and shared memory. |
Check and repair the consistency of your data.Run the following oncheck commands to check your system:
|
Diagnosing and repairing consistency problems quickly can prevent major problems like data loss and assertion failures. |
Upgrade to the latest major and fix pack release. | Assertion failures can be caused by product defects. You can avoid many product defects by upgrading to the most current release. |
Update statistics.When you change a table or indexing schema, update statistics to update the dictionary cache. By default, statistics are updated automatically by the Scheduler. You can customize automatic statistics updating for your system. | Queries that use stale statistics can use too many resources and cause assertion failures. Stale statistics can also have a negative affect on query performance.Always update statistics after upgrading. |
To prepare for assertion failures on Informix, perform the following tasks regularly:
Table 2. Preparing for assertion failuresPreparation taskPurpose
Back up your data and logical logs.You can use the ON-Bar utility or the ontape utility to back up your data and logical logs. The ON-Bar utility requires a storage manager. | If data loss occurs, you can recover your data and recent transactions. |
Back up your database and storage space schema information.Run the following commands to back up your schema information:
|
In a catastrophic failure, you can recreate your system. |
출처 : https://www.ibm.com/docs/en/informix-servers/14.10?topic=failures-prevent-prepare-assertion
728x90
'Informix > informix reference' 카테고리의 다른 글
QUERY TIMEOUT 설정 (0) | 2021.10.20 |
---|---|
테이블과 인덱스를 자동으로 배치하기 (AUTOLOCATE) (0) | 2021.07.21 |
BLOB / CLOB 데이터의 SBSpace 위치 확인하기 (0) | 2021.04.07 |
DECIMAL 형식의 컬럼 길이 확인하기 (0) | 2021.01.19 |
Informix에서 함수 인덱스 찾기 (0) | 2021.01.06 |