Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I upload more data into RStar, why do my queries take longer to run?

Data longer queries run upload
0
Posted

When I upload more data into RStar, why do my queries take longer to run?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123