oracle19.7插拔数据库遇到ORA-65180

通过dbca unplug pdb操作正常

但是插入到另外一个cdb中时报错ORA-65180:

目前只怀疑和下面bug有关:

APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.2.0.1 to 18.3.0.0.0 [Release 12.2 to 18]

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. 

ORA-65180(duplicate file name encountered) is raised while plugging an unplugged PDB under

following condition.

  1. Unplugged PDB has two or more temp tablespaces
  2. These tablespaces are located on the same ASM disk group
  3. Plug in a PDB using DBCA

After the error you can see these messages in alert.log file.

ORA-65180 signalled during: CREATE PLUGGABLE DATABASE PDB01 

USING '/nfs/pdbworks//PDB01_20180709.xml' 

source_file_name_convert = (

'+DG1/CDB01/xxx/DATAFILE/system.362.976204937','+DG1/PTCDB001/xxx/DATAFILE/system.364.981029657',

'+DG1/CDB01/xxx/DATAFILE/sysaux.363.976204937','+DG1/PTCDB001/xxx/DATAFILE/sysaux.365.981029657',

'+DG1/CDB01/xxx/DATAFILE/undotbs1.364.976204937','+DG1/PTCDB001/xxx/DATAFILE/undotbs1.363.981029657',

'+DG1/CDB01/xxx/TEMPFILE/temp01.365.976204939','+DG1',

'+DG1/CDB01/xxx/DATAFILE/undo_2.366.976204949','+DG1/PTCDB001/xxx/DATAFILE/undo_2.362.981029657',

'+DG1/CDB01/xxx/DATAFILE/users.367.976204951','+DG1/PTCDB001/xxx/DATAFILE/users.374.981029657',

'+DG1/CDB01/xxx/TEMPFILE/temp02.376.976724733','+DG1') 

file_name_convert=NONE NOCOPY STORAGE ( MAXSIZE UNLIMITED MAX_SHARED_TEMP_SIZE UNLIMITED)...

 

CHANGES

 

CAUSE

This problem is under investigation in bug:28364580.

The error is raised when you create PDB with two or more temp tablesapce on the same ASM disk group as below. 

'+DG1/CDB01/xxx/TEMPFILE/temp01.365.976204939','+DG1',

...

'+DG1/CDB01/xxx/TEMPFILE/temp02.376.976724733','+DG1'

 

SOLUTION

 You can avoid the problem with these steps.

  1. When you meet the error with DBCA, check the alert.log file.

     

  2. You can see the error and create pluggable DB statement written above.

     

  3. Modify the statement as below to use different ASM disk group.

    From: 

    '+DG1/CDB01/xxx/TEMPFILE/temp01.365.976204939','+DG1',

    ...

    '+DG1/CDB01/xxx/TEMPFILE/temp02.376.976724733','+DG1'


    To:

    '+DG1/CDB01/xxx/TEMPFILE/temp01.365.976204939','+DG1',

    ...

    '+DG1/CDB01/xxx/TEMPFILE/temp02.376.976724733','+DG2'  ---- Here

  4. Create the PDB with modified statement using SQL*Plus.

     

  5. And then push "Ignore" button on DBCA and go ahead the plugging in operation.

 

 

REFERENCES

BUG:28364580 - ORA-65180 IS RAISED WHILE PLUGGING A PDB W/ TWO TEMP TABLESPACES USING DBCA
NOTE:2022927.1 - ORA-17502 Creating a PDB

Patch 29649694: ORA-65180 ERROR WHEN CLONING THE PDB FROM 12C TO 19C OR 19C TO 19C, BUT IT WORKS FROM 12.2 TO 12.2

  

 

以上是 oracle19.7插拔数据库遇到ORA-65180 的全部内容, 来源链接: utcz.com/a/54161.html

回到顶部