Environment: Oracle10g, Red Hat 4, Oracle running in archive mode.
Scenario: the data file user01.dbf is damaged and can be recovered when the database is opened.
Procedure:1. Delete the user01.dbf file to simulate that the data file is corrupted.
1. Create a directory to save the backupMkdir/u01/oracle/oradata/archiveChown-R oracle/u01/oracle/oradata/archive2. Switch to an oracle userSqlplus/nologConnect/as sysdba3. Set the target address of the archived log
Check whether the database is in
Package name
Baotou File
Description
Dbms_aleri
Dbmsalrt. SQL
Asynchronous processing of database events
Dbms_application_info
Dbmsutil. SQL
Register the name of the currently running application (for
The index is like a dictionary directory. With the dictionary directory, we can quickly find the entries we need. The same is true for databases. With the Oracle database index, related statements can quickly locate the record location without
Create and Manage UsersOne of the most basic management requirements of databases is to identify users. Each user connected to the database should have a login account.Shared accounts are difficult to troubleshoot and audit, and they have little
This week I learned about the Oracle architecture.
The Oracle system consists of two major parts: SGA (system global zone) and PGA (Program global zone ).
SGA mainly includes database buffer cache, shared pool, redo log buffer, large
Generally, after a transaction is committed, its changes are persistent. Even if the database crashes after submission, the changes are permanently stored in the database.However, there are two exceptions:1) Use the WRITE extension added by the
TRANSLATE ('Char ', 'From _ string', 'to _ string ')
The return value of TRANSLATE replaces each character in from_string with the string after the corresponding character in to_string.
TRANSLATE Is a superset of the functions provided by
There are nine types of tables in Oracle:
1) heap organization table)
This is the standard database table. Data is managed in heap mode. When adding data, the first free space found in the segment can be used to put the data down. After the data
(1) Pfile
Pfile (Parameter File) is a Parameter File in text format that contains database configuration parameters.Oracle 9i creates a Pfile for each database during installation. The default name is "init + routine name. ora", which is a text file
When executing the DML (insert, update, delete) statement, you can use the following three implicit cursors (the cursor is an area in the memory that maintains the query results, which is opened when DML is run, when it is finished, use SQL %
When oracle 11g exports a database using exp, empty tables cannot be exported. Therefore, you must use a Data Pump to import and export the oracle database.
1. expdp
SQL> create directory name (for example, dmpbx) as storage address (for
At present, regular expressions have been widely used in many software applications, including * nix (Linux, Unix, etc.), HP and other operating systems, PHP, C #, Java and other development environments.
Oracle 10g Regular Expressions improve SQL
When using spfile, you can use the v $ parameter. ISSYS_MODIFIABLE field to determine the initialization parameters that can take effect without restarting.
V $ parameter. ISSYS_MODIFIABLE parameter
Indicates whether the parameter can be changed
ClusterWare service Introduction 1. terware startup flowchart 2. Agent process started by ClusterWare layer proxy process description Orarootagent is responsible for managing the first layer of ohasd proxy process for all ohasd resources owned by
In the desc table of oracle, the name and type Columns cannot be formatted. (The placeholder is too long.) oracle cannot format the oracledesc column name. The placeholder is too long. When we play Oracle today, in my desc table, I often find that
After preparing environment variables for oracle installation, or before installation (if you know your installation path), you need to prepare the path related to oracle (environment variables), such:
ORACLE_SIDORACLE_BASEORACLE_HOME
Modify the
[One Moss per day]-Shared Pool optimization and Library Cache Latch conflict optimization (1523934.1)-Series 6 [one Moss per day]-Shared Pool optimization and Library Cache Latch conflict optimization (1523934.1) -Series 5
Solve the paging error caused by inconsistent sorting fields using rownum in oracle. Recently, when I wrote a list component ulynlist, I detected a problem and recorded it here. Today, when I called the list component, I tried to lower the number of
Use dbms_backup_restore to restore the database test environment: OEL + 11.2.0.1 Instance name: orcl2DBID: 1336959433 scenario: Oracle database storage is broken, data files and control files are all lost, only the backup set of data files, there
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service