My Oracle Support Banner

Exchange Partition with Virtual Column may Corrupt Column Statistics (Doc ID 1945275.1)

Last updated on FEBRUARY 17, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 to 11.2.0.3 [Release 10.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

If an exchange partition is done on a table with a virtual column and the virtual column shows incorrect column statistics, then probably you are encountering this bug.

Test case to verify this

 

We can see that before exchange partitin, table t of column VIRT_COL shows value as 10000 and after exchange is shows value as 1 and also table t_x of column NON_VIRT_COL1 shows value as 1 and after exchange it shows value as 1000.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.