Oracle Database11g tutorials 9 || What is archive log mode and how to enable archive log mode
Skills:
Database Integration80%
Key Takeaways
Explains archive log mode and how to enable it in Oracle 11g and 10g using command prompt
Full Transcript
what's up Internet this is Manish once again and today in this Oracle database video we will see what are archive and no archive love more and how to enable our kind of mode in your database before jumping over archive log and no archive log more a brief intro about redo lock wise redo log files generally get created at the time of a database creation and a database has many more to redo log files redo log files generally whole history of all the changes made to your database say I user perform some transaction at all to some value that transaction get stored into a buffer code redo log buffer and by the help of the log data which is a background process all the data from riddle of buffer moves moves into redo log files while you do not point in archive log mode database archive already log files once they are filled instead of overwriting them hence understanding of your do log files is important log modes of database Oracle database has to log modes one is archive log mode another one is no archive log mode by default Oracle database is in no archive log mode let's talk about no archive log mode first when your database is in no archive log mode it start overwriting the radula files when they are filled instead of archiving them has permanently losing the previous data this can become complication during the recovery of the older data that is why it's always recommended to run your database in the archive log mode always now let's talk about archive log mode in archive log mode database make copies of all online redo log files after they failed and these copies are called archived redo loans how to check whether archive log mode is enable or not ok let's check whether archive log mode is enabled or not as you can see I am using command prompt because I am on Windows machine if you are using Linux machine you can use terminal all these steps are same so let's log in and into our escrow make sure you are log in with a user who has a system via privileges I have logged in with a user sis let's check C here and log in as ourselves so to take weather archive log mode is enabled or not we have two ways first one is the simplest one in which we just fire a SQL command which is are a long list we just have to write archive log list on your SQL front and then press Enter as a result we get all these things as you can see the first line of one result is database log mode we're showing that I am in archive log mode right now my automatic archival is enable because I am in archive log mode it means my all the redo log files as they get will they get archived automatically use DB recovery file destination this is the parameter from which you can get the location of your archived redo logs where they are saved these are the sequence number of your oldest online log next log sequence or current long second way to know whether your archive log mode it is enable or not is by curing we dollar database view you can select log mode from read on a database as you can see it returns our log mode it is archive log mode if we are in no archive log mode it would have shown you know archive log mode here now we have seen how to know whether our archive log mode is enabled or not now let's see how to enable archiving occurred in your database first of all let's check whether we are we are in archive log mode or in no archive log mode for that just queue so as you can see right now I am in no archive log mode let's change it to change just make sure you are logged in with a user who has says tbo privileges I am logged in with this user now first of all we need to shut down our database sorry wait for few seconds now we have to start a database in mount stage for doing that just right startup bound Dean wait for few seconds okay now we are in mounted stage let me clear this screen so that you can see what I am going to do a a head now as we are in mounted stage of our database we have to switch our database from North cap to archive log mode as I have already shown you that we are in no archive log mode right now so let's change it to archive log mode for doing that we have to give an out alter come on database has been altered now let's check as you can see we are in archive log mode right now and our our automatic archival is enabled but we are still in mount stage means we cannot use our database we cannot perform any DML or you cannot give any theory here so to make this database usable we need to switch from mount to open state for doing that just right or down database open it in a few seconds okay now we are in open stage let's check our let's check our database mode again this time we will use our V dollar database you can see we are in archive log mode right now these are few commands related to archive log list I hope you will find them helpful hope you enjoyed watching if you asked then give me a thumbs up and don't forget to subscribe bye thanks to all my subscribers and all my viewers I'll see you soon that's it for today this is Manny
Original Description
weblink: www.rebellionrider.com
What is archive log mode
What is noarchive log mode
How to enable archivelog mode in oracle 11g
How to enable archivelog mode in oracle 10g
This SQL tutorial and Oracle database 11g tutorial for beginners will show what are ARCHIVELOG mode and noarchive log mode and how to enable archivelog mode in oracle database 11g or 10g
Tool used in this tutorial is command prompt.
This tutorial series is part of SQL expert exam certification training. if you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training.
Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage
https://copy.com?r=j7eYO7
Contacts
E-Mail
RebellionRiderYT@gmail.com
Twitter
https://twitter.com/rebellionrider
Instagram
http://instagram.com/rebellionrider
Facebook.
https://www.facebook.com/imthebhardwaj
Linkedin.
in.linkedin.com/in/mannbhardwaj/
Thanks for linking, commenting, sharing and watching more of our videos
This is Manish from The Code makers
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Manish Sharma · Manish Sharma · 11 of 60
1
2
3
4
5
6
7
8
9
10
▶
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Oracle Database tutorials 1: How to install Oracle Database 11g on windows 7
Manish Sharma
Oracle Database tutorials 2:How To install SQL Developer on windows 7
Manish Sharma
Oracle Database tutorials 3:How to enable Line numbers in SQL Developer.
Manish Sharma
Oracle Database tutorials 4: database connectivity using SQL developer and command prompt
Manish Sharma
Oracle Database tutorials 5: how to Fetch Data using SELECT - SQL statement by Manish Sharma
Manish Sharma
Oracle Database11g tutorials 6 | | How to use Concatenation operator, character String
Manish Sharma
Oracle Database11g tutorials 7 | |SQL DISTINCT keyword || SQL tutorials
Manish Sharma
Canon EOS 600D 2 lens kit/Canon rebell EOS T3i 2 lens kit Unboxing
Manish Sharma
First look: ORACLE CERTIFIED ASSOCIATE (OCA) CERTIFICATE - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Oracle Database11g tutorials 8 || SQL DISTINCT with multiple columns |SQL Distinct with Two columns
Manish Sharma
Oracle Database11g tutorials 9 || What is archive log mode and how to enable archive log mode
Manish Sharma
Oracle Database11g tutorials 10 || SQL Single Row Function (SQL Functions )
Manish Sharma
Oracle Database11g tutorials 11: SQL case manipulation function in Oracle Database
Manish Sharma
how to add channel trailer and section on your youtube channel 2014
Manish Sharma
Oracle Database11g tutorials 12 || SQL Concat Function - SQL character manipulation function
Manish Sharma
Oracle Database11g tutorials 13 || SQL substr function / SQL substring function
Manish Sharma
Oracle Database11g tutorials 14 : How to CREATE TABLE using sql developer and command prompt
Manish Sharma
SQL tutorials 15 || How To CREATE TABLE using enterprise manager 11g
Manish Sharma
Oracle Database11g tutorials 16: How to uninstall oracle 11g from windows 7 64 bit
Manish Sharma
ORACLE CERTIFIED PROFESSIONAL(OCP) CERTIFICATE First look - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Plantronics audio 655 USB headset with Mic Unboxing and Review and Plantronics audio 655 Mic test
Manish Sharma
SQL tutorials 17: SQL Primary Key constraint, Drop primary Key
Manish Sharma
SQL tutorials 18: SQL Foreign Key Constraint By Manish Sharma
Manish Sharma
SQL tutorial 19: ON DELETE SET NULL clause of Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorials 20: On Delete Cascade Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 21: How To Rename Table in SQL using ALTER TABLE statement By Manish Sharma
Manish Sharma
SQL tutorial 22: How to Add / Delete column from an existing table using alter table
Manish Sharma
SQL tutorial 23: Rename and Modify Column Using Alter Table By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 24 :SQLJoins- Natural Join With ON and USING clause By Manish/Rebellionrider
Manish Sharma
Oracle Database11g tutorials 25: How to install Oracle Database 11g Express Edition R2 on Windows 7
Manish Sharma
SQL tutorial 26: Introduction to SQL Joins in Oracle Database
Manish Sharma
Vidcon 2014 YouTube Fan Funding: How to enable fan funding on YouTube Channel
Manish Sharma
SQL tutorial 27: Right Outer Join in SQL by Manish Sharma for RebellionRider
Manish Sharma
SQL tutorial 28: Left Outer Join By Manish Sharma / RebellionRider
Manish Sharma
SQL tutorial 29: Full Outer Join with example By Manish Sharma/ RebellionRider
Manish Sharma
SQL tutorial 30: Inner Join In SQL by Manish Sharma/RebellionRider
Manish Sharma
SQL tutorial 31 : SQL Cross Join In Oracle Database By Manish Sharma from RebellionRider
Manish Sharma
SQL tutorial 32: How To Insert Data into a Table Using SQL Developer
Manish Sharma
SQL tutorial 33:How To Insert Data into a Table Using SQL INSERT INTO dml statement
Manish Sharma
SQL tutorial 34: How to copy /Insert data into a table from another table using INSERT INTO SELECT
Manish Sharma
SQL tutorial 35: DELETE and TRUNCATE how to delete data from a table
Manish Sharma
SQL tutorial 36: how to create database using database configuration assistant DBCA
Manish Sharma
SQL tutorial 37: How to create NEW USER account using Create User statement in Oracle database
Manish Sharma
SQL tutorial 38: How to create user using SQL Developer in Oracle database
Manish Sharma
SQL tutorial 39: How to create user in oracle using Enterprise Manager
Manish Sharma
SQL tutorial 40: DBA Trick, How to drop a user when it is connected to the database
Manish Sharma
Motorola Moto G 2nd Generation / G2 Unboxing and Review
Manish Sharma
SQL tutorial 41: How to UNLOCK USER in oracle Database
Manish Sharma
SQL tutorial 42: How to Unlock user using SQL Developer By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 43: How to create an EXTERNAL USER in oracle database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 44: How to import data from Microsoft Excel to Oracle Database using SQL Developer
Manish Sharma
SQL tutorial 45: Introduction to user Privileges in Oracle Database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 46: What are System Privileges & How To Grant them using Data Control Language
Manish Sharma
SQL tutorial 47: How to Grant Object Privileges With Grant Option in Oracle Database
Manish Sharma
SQL tutorial 48: How to create Roles in Oracle Database
Manish Sharma
SQL tutorial 49: CASE - Simple Case Expression in Oracle Database (1/2)
Manish Sharma
SQL tutorial 50: CASE - Searched Case Expression In Oracle (2/2)
Manish Sharma
SQL tutorial 51: DECODE function in Oracle Database By Manish Sharma (RebellionRider)
Manish Sharma
Oracle Database Tutorial 52 : Data Pump expdp - How to Export full database using expdp
Manish Sharma
Oracle Database Tutorial 53 : Data pump expdp - How to Export tablespace in Oracle Database
Manish Sharma
More on: Database Integration
View skill →Related AI Lessons
🎓
Tutor Explanation
DeepCamp AI