When I upload more data into RStar, why do my queries take longer to run?
This problem is caused mainly by DB2’s optimization mechanism. If your data has grown, or if you have added or removed indexes since the last RUNSTATS, DB2’s statistics used for query optimizer will be inaccurate. Use the RUNSTATS to update the statistics immediately after you built indexes or upload more data. Since RUNSTATS is an external commend rather than a common SQL commend, you should run it manually on the server side.