lsnrctl
The listener supports no services The command completed successfully
To manually force pmon to register, execute
alter system register;
Minimalistic Oracle contains a collection of practical examples from my encounters with Oracle technologies. When relevant, I also write about other technologies, like Linux or PostgreSQL. Many of the posts starts with "how to" since they derive directly from my own personal experience. My goal is to provide simple examples, so that they can be easily adapted to other situations.
The listener supports no services The command completed successfully
alter system register;
RMAN DUPLICATE: Errors in krbm_getDupCopy Errors in file /u01/oracle/product/11204/admin/testdb01/diag/rdbms/testdb01/testdb01/trace/testdb01_ora_22544486.trc: ORA-19625: error identifying file /u02/oradata/testdb01/system01.dbf ORA-27037: unable to obtain file status IBM AIX RISC System/6000 Error: 2: No such file or directory Additional information: 3
alter database drop logfile group 4;
alter database drop logfile member '/u03/oradata/proddb01/red04a.log';
COL MEMBER FORMAT A50 SET LINES 200 SELECT A.GROUP#,A.MEMBER, B.BYTES/1024/1024 "MB", B.ARCHIVED,B.STATUS,B.SEQUENCE# FROM V$LOGFILE A INNER JOIN V$LOG B ON A.GROUP# = B.GROUP# ORDER BY GROUP# ASC;Result:
GROUP# | MEMBER | MB | ARCHIVED | STATUS | SEQUENCE# |
---|---|---|---|---|---|
1 | /u04/oradata/proddb01/log1a.ora | 1024 | YES | INACTIVE | 90510 |
1 | /u04/oradata/proddb01/log1b.ora | 1024 | YES | INACTIVE | 90510 |
2 | /u04/oradata/proddb01/log2b.ora | 1024 | YES | INACTIVE | 90511 |
2 | /u04/oradata/proddb01/log2a.ora | 1024 | YES | INACTIVE | 90511 |
3 | /u04/oradata/proddb01/log3b.ora | 1024 | NO | CURRENT | 90508 |
3 | /u04/oradata/proddb01/log3a.ora | 1024 | NO | CURRENT | 90508 |
COMMENT ON COLUMN SCOTT.EMP.DOB IS 'Date of Birth';
SQL> select property_value from database_properties where property_name = 'DEFAULT_TBS_TYPE'; PROPERTY_VALUE --------------- SMALLFILE
alter database set default bigfile tablespace;The change will of course only take effect for future tablespaces, not existing ones.
:%s/$/text/g
:%s/^/text/g