The Oracle storage outline is used to provide stable execution plans. Starting from oracle 11g, it is gradually replaced by the SQL plan. The following describes the specific process of the storage outline. The results are tested in oracle 11g r2.--
Create a file named Oracle
[root@stark init.d]# pwd
/etc/init.d
[root@stark init.d]# touch oracle
Add the following content to oracle:
#!/bin/bash
# chkconfig: 35 95 1
First, I have a general understanding of the Oracle architecture. Oracle architecture, I think, can be divided into: memory structure, process structure and storage structure. The process structure serves as a bridge between the memory structure and
One node of a core library went down last night, and then reboot,
The following information is found in alert:
Thu Jul 5 03:03:50 2012
Errors in file/u01/Oracle/app/oracle/admin/crm/bdump/crm1_dbw9_142.16.trc:
ORA-07445: exception encountered:
Deploy the Rman backup plan and find the error message in alert. log after execution:Fri Jul 6 00:30:16 2012Errors in file/Oracle/admin/live/udump/***** _ ora_3652.trc:Fri Jul 6 00:30:16 2012Errors in file/oracle/admin/live/udump/***** _
Because the project needs to use the database, and it cannot depend on a specific platform but also requires flexibility, so I thought of SQLite and started to modify and use the source code. Here I will record it for the sake of memo, the following
The "Recycle Bin" (Recycle BIN) concept is introduced in Oracle Versions later than 10 Gb. The deleted objects are all placed in the Recycle Bin and named with the BIN $ prefix. A user can easily restore a table from the "recycle bin", but before 9i,
Environment:OS: Red Hat Linux As 5DB: Oracle 10.2.0.4 Generally, the character set is selected during installation. to modify the character set of the database, we recommend that you recreate the database (EXP/EXPDP export before importing ),
During the weekend, developers used a machine for testing and installed a one-click installation package lnmp. As a result, I got rid of the mysql-server installed on the original rpm on this machine, but I don't know how they got it, the files
1. When a table is created, double quotation marks are added. The case sensitivity of the table name will be retained and written to the database,
Note: Double quotation marks are not written into the database, and Oracle converts them to uppercase
Deferred_segment_creation causes EXP-00003New features in version 11G. To avoid wasting resources, creating a non-partitioned empty table will delay the creation of segment, including the table-related objects LOBS and indexes.Explanation of
1. Introduction
Use synonyms to access the same object:
(1) convenient access to other user objects
(2) Shorten the Object Name Length
2. Create a synonym
SQL> create synonym syn_emp for scott. emp;
You have created a synonym.
3. Delete
Date contains the year, month, and date.Time contains hours, minutes, and seconds.Timestamp includes year, month, day, hour, minute, second, And 1‰ seconds.
SQLite contains the following time/date functions:Datetime ()...Date () ......Time () ......
Oracle job is a function provided by oracle to regularly execute a stored procedure or package.
Main scenariosPerform related operations on the background at regular intervals. For example, save the data of one table to another at every night, and 2.
Typical Oracle recursive algorithms are used. For example, under a multi-level department, a sub-department cannot be the parent department of the parent department.
For example, the father department has a son department and B son department. The
Oracle spatial function exampleDisplay the area of the computing Oracle spatial Space ObjectSelect mdsys. sdo_geom.sdo_area (shape, 0.005) from jbnt_xzq;
// Calculate the area of the geometric object based on the coordinates of the Surface object/200
Oracle logminer is a tool used to analyze archived logs. Here I will list a simple and efficient use process.
1. initialize parameter configuration
Alter system set utl_file_dir = '*' scope = both;
This requires a restart to take effect.
SQL> show
A zero-level Incremental backup is equivalent to a complete backup, which contains all used data file blocks.RMAN> backup incremental level 0 database;
Level 1 differential backup is the default Incremental backup. This backup only contains the
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