Oracle|word
Database-built users cannot authenticate to the database until the database is started.
The password file holds the username and password of the Sysdba/sysoper user, allows the user to authenticate by password file, log in before the database is started, and start the database.
If there is no password file
The tablespace numbers and data file numbers in Oracle are continuous and do not stop.. If the tablespace in ts $ has a break number,
Oracle checks the data dictionary and control file at startup. When inconsistency is found, the database cannot be started normally.
When a tablespace is deleted, the table ts $ does not
Received the first recovery rescue using Oracle 12C as a production library. There are two business data file file headers damaged, other data files are all a September backup, under current conditions, hope we can help them recover the data in the business documentDatabase version Information
The code is as follows
Copy Code
Sqlgt; select
to back up the control file to the trace fileTwo methods are available to control file recovery.1) Use recover database using backup controlfile in the mount status2) in the mount status, the trace file is generated and restored.
2-2 example:[Oracle @ localhost ~] $ Rlsqlplus/as sysdba
SQL * Plus: Release 10.2.0.1.0-
Mgmt_tablespace Mgmt_ecm_depot_ts Num ZYH 27 8 rows selected. 29 Sql>
1, on the primary, will rename the tablespace off-line
The code is as follows
Copy Code
1 sql> alter tablespace ZYH offline;23 tablespace altered.2, the use of operating system command MV to the data file rename1 [Oracle@prod dbs]$ mv/u01/oracle/oradata/s
Tags: note 2.0 + + Open Tool Export HTML also has the technologyReason:
1, the DMP file can be directly opened with notepad++ modified version number is the version number of the imported version
2, the file is too large to open, you can use the tool to modify
3, there may be a DMP
1. The content of the Oracle control file can be viewed in the v $ controlfile_record_section view. SQLgt; selecttype
1. The content of the Oracle control file can be viewed in the v $ controlfile_record_section view. SQLgt; select type
I. Oracle Control
open state, use the alter database backup controlfile to trace command to back up the control file to the trace file
Two methods are available to control file recovery.
1) Use recover database using backup controlfile in the mount status
2) in the mount status, the trace file is generated and restored.
2-2 example:
Online mobile oracle data files The Oracle data file can be renamed or moved while the database is open, but the tablespace must be read-only, which allows users to query from the table, but prevents them from inserting , update and delete, freezes the data file size when the table space is read-only. Block update of d
Add an online log file to the log group sql> ALTER DATABASE add logfile member '/u01/app/oracle/oradata/king/redo01c.log ' to group 1, '/u01/app/ Oracle/oradata/king/redo02c.log ' to group 2, '/u01/app/oracle/oradata/king/redo03c.log ' to group 3;sql>selectgroup#,status,type,memberfromv$logfile;group# StatusTSType MEM
The role and description of password file orapwd in Oracle before the database is started, database built-in users are password files that cannot be verified by the database. The usernames and passwords of sysdba/sysoper users can be verified by password files, log on to the database before it is started. If there is no password file to start the database, you ca
(From http://space.itpub.net/12361284/viewspace-588)
I. Move data files:-- You can use alter database or alter tablespace to move data files.1. Alter database method;-- This method can be used to move data files in any tablespace.Step 1. BottomDatabase:$ Sqlplus/nologSQL> connect internal;SQL> shutdown;SQL> exit;Step 2. Use the operating system command to move the data file:-- Move the data file 'test. ora
Database files include data files, log files, control files and password files, parameter files, and so on, the management of these files can be considered as the process of adding and removing changes.1. Data file ManagementIncrease:Add a data file when adding table spaceCreate tablespace test_2016 datafile '/u01/app/oracle/oradata/orcl/test_01.dbf ' size 10M au
Summary:
Oracle
The relational database system has been widely used for its superior performance, while ensuring
Security
Sex is an important part of database management. This article is summarized by the author.
Oracle
Database
Security
On the basis of the management work, the creation, use and maintenance of the password file of the
The Oracle password file is very important. Next we will introduce you to Oracle password file management. If you are interested in this, take a look.
In the Oracle database system, if you want to log on to the Oracle database as
oracle| Data | database
Summary: Oracle relational database system is widely used for its excellent performance, and ensuring database security is an important part of database management. On the basis of summarizing the security management of Oracle database, this paper introduces the creation, use and maintenance of password files of
A The base of RMAN restoration and recovery
In the use of Rman, restore and restore are two different concepts.
Restore: Refers to accessing a previously generated backup, getting one or more objects, and then restoring those objects somewhere on the disk.
Recovery (Recover): The actual process by which a database is consistent with a given point in time to ensure that the database can be opened, usually through the application of redo (including online redo logs and archived redo logs).
The
Received technical support requests, WIN 2003 NTFS format file system, Oracle 8.1.7 version, the host restart, the database can not start normally, offline DataFile 15, the database open successfully, but datafile can not normal online, The error is: Ora-27069:skgfdisp:attempt to do I/O beyond the range of the file, requesting assistance in handlingsql> recover D
When creating tablespaces and files, whether the directory exists and whether the space is satisfied is a concern. To ensure the consistency of system data storage policies and avoid large rework actions, this process must be considered.
In many cases, operations that are not cautious may cause great impacts and problems. For example, if we trust the system deployment documents and do not perform analysis, it will cause many problems to our system. However, an active role of the problem is to he
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.