TAILIEUCHUNG - Oracle SQL Plus The Definitive Guide- P39

Oracle SQL Plus The Definitive Guide- P39:Every day, computer professionals the world over wake up, travel to the office, sit down in front of a computer, and begin another day working with that database called Oracle. Programmers write queries and stored procedures. Database administrators monitor performance, make database changes, and perform other maintenance tasks. Operations people may need to back up or recover a database. | previous page page_347 next page Page 347 Figure 10-4. A database in archive log mode 6. Open the database for use. 7. Start the automatic archival process. The ALTER DATABASE command has a number of options. The specific form used to put a database into archive log mode is ALTER DATABASE ARCHIVELOG In order to issue this command you must be connected either as INTERNAL or SYSDBA. The following example shows how you would start a database using the MOUNT option put it into archivelog mode and then open the database SQL CONNECT INTERNAL Connected. previous page page_347 next page previous page page_348 next page Page 348 SQL STARTUP MOUNT ORACLE instance started. Total System Global Area Fixed Size Variable Size Database Buffers Redo Buffers Database mounted. 5138580 bytes 47252 bytes 4608000 bytes 409600 bytes 73728 bytes SQL ALTER DATABASE ARCHIVELOG Statement processed. SQL ALTER DATABASE OPEN Statement processed. SQL Once you ve put the database into archive log mode you will want to start the archive log process. Starting the archive log process The archive log process is an optional Oracle process that automates the task of archiving the redo log files. On most systems the name of this process will be ARCH or something close to that and the Oracle documentation frequently refers to it by that name. ARCH runs in the background and as each redo log file is filled ARCH copies it to the archive log destination. ARCH also marks each file when it is copied so that Oracle knows it can be reused again. Strictly speaking ARCH is an optional process but it s usually considered necessary when the database is in archive log mode. The alternative is for you to manually archive each redo log file as it fills but that requires constant monitoring and attentionsomething most people don t have time for. Use the ARCHIVE LOG command to start the archive log process. The ARCH process will be started and redo logs will begin to be archived. You may optionally specify a .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.