Information about archivelog mode
Summary .
A simple script to find if archivelog mode is enabled.
All the initialization parameters about archiving.
Modifying for example one parameter.
A simple script to find if archivelog mode is enabled.
select col1 ARCHIVELOG_STATUS from (
select 'Database log mode : ' || log_mode col1 from v$database
union
select 'Automatic archival : '|| value col1 from v$parameter where name like '%log_archive_start%'
union
SELECT 'Archiver enabled : ' || Archiver col1 FROM V$INSTANCE
union
select 'Archive processes : ' || count(*) col1 from V$ARCHIVE_PROCESSES where status = 'ACTIVE'
union
select 'Archive destination : ' || value from v$parameter where name like 'log_archive_dest_1'
) order by rownum desc;
All the archiving processes.
select * from v$archive_processes;
All the initialization parameters about archiving.
select * from v$parameter where name like '%archive%';
Modifying for example one parameter.
alter system set log_archive_max_processes = 4;
Comments
Post a Comment