Update Statistics in CCMS (Informix) 
Purpose
You can update statistics on the Informix database using the Computing Center Management System (CCMS). The cost-based optimizer (CBO) for the Informix database needs current, up-to-date statistics about the number of data rows, size of indexes and the distribution of data in individual fields of a table. By running update statistics, you make sure that the CBO has up-to-date information so it can work out the best access path to get data for a query.
If the statistics held by the CBO are out of date or not present at all, the CBO might generate inappropriate access paths, for example, use of the wrong index or inappropriate use of a full table sequential scan when a suitable index exists. The result is poor database performance.
You can also run update statistics for your Informix database using SAPDBA. Refer to
Update Statistics with SAPDBA.
Prerequisites
Before running update statistics in CCMS, check that you have met the R/3 System prerequisites in
Getting Started in CCMS with Informix DBA.Process Flow
You have the following possibilities for running update statistics in CCMS:
If you are new to the DBA Planning Calendar, see
DBA Planning Calendar (Informix).Result
The statistics used by the Informix CBO are kept up-to-date, resulting in optimal execution of queries and better performance.