When cardinality statistics are automatically updated

For the following operations that you perform on a table, Derby automatically creates statistics. Those operations are:
For other operations, Derby automatically updates statistics for the table and all indexes on the table if they are already exist. Those operations are:
Related concepts
When cardinality statistics go stale