My Oracle Support Banner

Query On V$encrypted_tablespaces Is Very Slow During TTS Export (Doc ID 2785910.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 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.

ACTUAL BEHAVIOR
---------------
Query on v$encrypted_tablespaces is very slow.

Query "select count(*) from V$encrypted_tablespaces" takes very long and degrades Transportable tablespace metadata export even after gathering fixed_objects_Stats.

The execution plan for v$encrypted tablespace query.

Plan hash value: 4135719268
 
-----------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
-----------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 74 | 1 (100)| 00:00:01 |
|* 1 | FIXED TABLE FULL| X$KCBTEK | 1 | 74 | 1 (100)| 00:00:01 |
-----------------------------------------------------------------------------

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.