Fulltext results:
- Oracle: SPFile and PFiles
- o a PFile, just enter the following in SQLplus: <code sql> CREATE PFILE FROM SPFILE; </code> It will create a PFile ''${ORACLE_HOME}/dbs/init${ORACLE_SI... path to the PFile instead of ${PATH_TO_PFILE}. <code sql> SHUTDOWN IMMEDIATE; STARTUP NOMOUNT PFILE=... ' CREATE SPFILE FROM PFILE; SHUTDOWN IMMEDIATE; </code> If your PFile is located at ''/db/oracle/conf
- Oracle: Recovery Manager
- ====== Oracle: Recovery Manager ====== ===== Start Recovery Manager ===== <code bash> rman target / </code> ===== Delete Archive Logs ===== Delete all archive logs but keep the
- Oracle: List Accounts with Objects
- ====== Oracle: List Accounts with Objects ====== To list all accounts (users) the objects (like tables), you can query them with: <code sql> SELECT DISTINCT OWNER FROM DBA_OBJECTS ORDER BY OWNER; </code> If you want to list all accounts, you can que
- Oracle: Resize Instance
- First, change the [[spfile_and_pfiles|SPFile]]: <code sql> ALTER SYSTEM SET pga_aggregate_target = 2G SCOPE=SPFILE; ALTER SYSTEM SET sga_target = 6G SCOPE=SPFILE; </code> Then, (optionally) export the SPFile to a PFile: <code sql> CREATE PFILE FROM SPF
- Oracle: EXP
- e: EXP ====== ===== Export all Objects from an Account ===== Enter the account name insteand of ''{user}''. <code bash> exp USERID=\'/ as sysdba\' FILE={user}.dmp FULL=N OWNER={user} </code> {{tag>admin exp oracle}}
- Oracle Errors
- e Errors ====== ===== ORA-00257: archiver error. Connect internal only, until freed. ===== * **Reason**: The flash recovery area is full. * **Resolution**: [[rman|Remo... lution**: [[spfile_and_pfiles|Enlarge the flash recovery area]]. * **Documentation**: [[http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e0.htm#sthre
- Oracle: SQLplus Scripting
- no header or other stuff, enter the following: <code sql> SET NEWPAGE 0 SET SPACE 0 SET LINESIZE 80 ... SET VERIFY OFF SET HEADING OFF SET MARKUP HTML OFF SPOOL OFF </code> {{tag>oracle scripting sqlplus}}