Wednesday, February 24, 2021


Add /modify Datafile in ASM


https://orahow.com/add-datafile-in-oracle/

http://www.oracle-wiki.net/startdocsusefuloraclecommands

-------------------------------------------------------------

Query to Check File_name, initial size and maxsize

---------------------------------------------------

select FILE_NAME,FILE_ID,AUTOEXTENSIBLE,bytes/1024/1024/1024,STATUS,MAXBYTES/1024/1024/1024 from dba_data_files
where TABLESPACE_NAME='&TABLESPACE_NAME';



To check the location of existing datafiles
================================

SQL> show parameter db_create_file_dest;

SQL> select file_name from dba_data_files;

SQL> select file_name,bytes/1024/1024 mb
           from dba_data_files
           where tablespace_name like 'SYSTEM%'
           order by file_name;


------------------------------------------------------------------------------------------------------------------

Add Datafile
=============

ALTER TABLESPACE TABLESPACE_NAME ADD DATAFILE '+DATA' SIZE 16M AUTOEXTEND ON MAXSIZE 31G;

---------------------------------------------------------------------------------------------------------------

To enable datafile autoextend and set the Maxsize
======================================

ALTER DATABASE datafile '+DATA/SSLCDB/AF17DB97F89A0156E053AC1002963695/DATAFILE/system.301.1050883993' autoextend ON maxsize 31G;

----------------------------------------------------------------------------------------------------------------

Resize Datafiles
=============

alter database datafile '+DATA/SSLCDB/AF17DB97F89A0156E053AC1002963695/DATAFILE/system.301.1050883993' resize 20G;






Wednesday, February 17, 2021

 

INS-20802: Oracle Net Configuration Assistant failed error


Oracle client 12.1.0.2 on it. The Oracle client installation used to fail at the last stage with this error named INS-20802.


















installing Microsoft Visual C++ 2010 Redistributable Package (x86) and this solved the problem



 RMAN Recovery Catalog About Recovery Catalog RMAN recovery catalog Is another database which is out of your normal databases or which is o...