Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
hot-backup recovery question - more data

hot-backup recovery question - more data

2005-03-14       - By Paul Drake

Reply:     1     2  

In a mounted state:

select 'ALTER DATABASE DATAFILE '''||name||''' END BACKUP;'
from v$backup b, v$datafile f
where b.file#=f.file#
and b.status='ACTIVE'
/

SQL> alter database datafile <path> end backup;

that one is forever burned into memory ...

Paul


On Mon, 14 Mar 2005 17:23:26 -0500, Rich Holland
<holland@(protected)> wrote:
> Actually, it has to be open:
> =20
> SQL> startup mount;
> ORACLE instance started.
> =20
> Total System Global Area 2629832596 bytes
> Fixed Size                    73620 bytes
> Variable Size             662622208 bytes
> Database Buffers         1966080000 bytes
> Redo Buffers                1056768 bytes
> Database mounted.
> SQL> alter tablespace psapbtabd end backup;
> alter tablespace psapbtabd end backup
> *
> ERROR at line 1:
> ORA-01109 (See ORA-01109.ora-code.com): database not open
> =20
> Interestingly enough, I checked out v$backup and v$datafile_header on =
> the
> source and target systems.  Before doing the SRDF split on the source =
> system,
> v$datafile_header had =91FUZZY =3D YES=92 for all data files and =
> v$backup had =91STATUS
> =3D ACTIVE=92 for all datafiles.  That=92s exactly what I=92d expect to =
> see, since I
> did an =91alter tablespace <tsname> begin backup=92 for all tablespaces =
> in the
> database=85.
> =20
> Then I split the disks (symrdf =96g prd_data split) which takes about 60 =
> seconds,
> and confirm that they=92re split (symrdf =96g prd_data query =96 they =
> all show a
> =93Split=94 status).  I import the volumes & mount the file systems on =
> the remote
> system, and execute =91startup mount=92 as oracle.  When I query =
> v$datafile_header
> and v$backup on the target host, I see the following:
> =20
> =20
> =20
> --
> Rich Holland        (913) 645-1950        SAP Technical Consultant
> print unpack("u","92G5S\=3D\"!A;F]T:&5R(\'!E<FP\@:&%C:V5R\"\@\`\`");
>   __ __ =20
>
> From: Fuad Arshad [mailto:fuadar@(protected)]=20
> Sent: Monday, March 14, 2005 11:12 AM
> To: holland@(protected); oracle-l@(protected)
> Subject: RE: hot-backup recovery question
> =20
> no the database has to be in mount state to end backup.
>
> --
> http://www.freelists.org/webpage/oracle-l
>


--
#/etc/init.d/init.cssd stop
# f=ma, divide by 1, convert to moles.
--
http://www.freelists.org/webpage/oracle-l