Quantcast
Channel: Remote Oracle Database Support
Viewing all articles
Browse latest Browse all 155

SQL2314W SQLSTATE=01650 runstats issue in db2

$
0
0

Error:

db2 "runstats on table <SCHEMA_NAME>.<TABLE_NAME>"

SQL2314W Some statistics are in an inconsistent state. The newly collected "TABLE" statistics are inconsistent with the existing "INDEX" statistics.SQLSTATE=01650


Solution:

db2 "runstats on table on <SCHEMA_NAME>.<TABLE_NAME> all columns with distribution on all columns and sampled detailed indexes all allow write access"

DB20000I  The RUNSTATS command completed successfully.

Viewing all articles
Browse latest Browse all 155

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>