How would you force a log switch?

Answer Posted / amsu

ALTER SYSTEM CHECKPOINT GLOBAL; AND
ALTER SYSTEM ARCHIVELOG CURRENT;

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the 2 operating modes of database mirroring? : sql server DBA

505


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1533


What is replication? : sql server DBA

616


how can you initialize log miner?

566


When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA

551






You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2379


what is the role of dip user in our database?

2034


What would you do with an "in-doubt" distributed transaction?

1407


what is the use of ocr?

586


What is the difference between clustered and non-clustered index? : sql server DBA

536


Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

2184


What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA

535


What are the different authentication modes in sql server and how can you change authentication mode? : sql server DBA

544


Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.

1689


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

1486