pdb move OMF datafile online strange behaviour
From: <grzegorzof_at_interia.pl>
Date: Fri, 05 Jul 2019 13:05:40 +0200
Message-Id: <zabmqdxgnmqnndatbncm_at_kgoa>
Date: Fri, 05 Jul 2019 13:05:40 +0200
Message-Id: <zabmqdxgnmqnndatbncm_at_kgoa>
Hi, recently I was surprised by strange online move of data file behaviour, it is on 12.1.0.2:SQL> _at_ls appdataTABLESPACE_NAME FILE_ID FILE_NAME EXT MB MAXSZ------------------------------ ---------- -------------------------------------------------------------------------------- --- ---------- ----------APPDATA 14 /oracle/oradata/PDDB/52F0946836BC6D67E055025056965D6F/datafile/o1_mf_appdata_ YES 32767.98 32767.98 do4kbcns_.dbf SQL> alter system set db_create_file_dest='/oracle/oradata/PDDB' ;System altered.SQL> alter tablespace APPDATA add datafile size 100m ;Tablespace altered.SQL> _at_ls appTABLESPACE_NAME FILE_ID FILE_NAME EXT MB MAXSZ------------------------------ ---------- -------------------------------------------------------------------------------- --- ---------- ----------APPDATA 14 /oracle/oradata/PDDB/52F0946836BC6D67E055025056965D6F/datafile/o1_mf_appdata_ YES 32767.98 32767.98 do4kbcns_.dbfAPPDATA 21 /oracle/oradata/PDDB/PDDB/52F0946836BC6D67E055025056965D6F/datafile/o1_mf_ NO 100 appdata_gkxxsyj5_.dbf SQL> alter system set db_create_file_dest='/oracle/oradata' ;System altered.SQL> alter database move datafile 21 ;Database altered.SQL> @ls appTABLESPACE_NAME FILE_ID FILE_NAME EXT MB MAXSZ------------------------------ ---------- -------------------------------------------------------------------------------- --- ---------- ----------APPDATA 14 /oracle/oradata/PDDB/52F0946836BC6D67E055025056965D6F/datafile/o1_mf_appdata_ YES 32767.98 32767.98 do4kbcns_.dbfAPPDATA 21 /u01/app/oracle/product/12.1.0/db_1/dbs/PDDB/datafile/o1_mf_appdata_gkxxxfvk_ NO 100 .dbfSo it looks like file goes to $ORACLE_HOME/dbs instead of /oracle/oradata/.... and so on.Any ideas ?Regards.Grzegorz
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Jul 05 2019 - 13:05:40 CEST