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.
ORACLE Execution Plan Analysis1. What is an execution plan?
An explain plan is a representation of the access path that is taken when a query is executed within Oracle.
Ii. How to access data
At the physical level Oracle reads blocks of data. the
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
Data Table connections include:1. Inner join (natural join): Only the rows matching the two tables can appear in the result set.2. external connections: including(1) left Outer Join (the table on the left is not restricted)(2) Right Outer Join (the
Statement 1: Obtain the week of the current month. SQL> select to_char (sysdate, 'yyyymmdd W HH24: MI: ss') from dual;
TO_CHAR (SYSDATE, 'yy-------------------4 18:16:09 20030327
SQL> select to_char (sysdate, 'w') from dual;
Week 2: Get the current
1 Preface-------------------------------------------------------------During the program design process, there are often differences between the two record sets. For example, identify the difference between the original order information and the
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
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 %
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
Create or replace procedure caf_trackdiffbyId (
Sendid in number,
Userid in varchar,
Diffnum in number,
Lats in number,
Latn in number,
Lngw in number,
Lnge in number,
Minid out number,
Maxid out number
) Is
CurrDate date;
MinDate date;
MaxDate
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
[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
"Only DBA can import files exported by other DBAs" solutions when oracle imports "only DBA can import files exported by other DBAs "solution! 1: grant dba to youuser directly to the import user. 2. log on to the import using the sysdba account, but
Oracle replaces a specific string keyword in clob: replace, dbms_lob.instr Step 1: Determine whether clob contains a specific string: for example, "/admin/ewebeditor/uploadfile/" Keyword: dbms_lob.20.code:
[SQL] select st. id, st. content from
Oracle's X $ table series-X $ KSMSP has the following meanings: [K] ernal [S] torage [M] emory Management [S] GA Hea [P] each row represents a chunk in the shared pool. Let's take a look at the structure of x $ ksmsp.:
SQL> desc x$ksmsp Name
After flashback drop, if the tablespace is insufficient, you can directly Delete the table occupied by the table in the recycle bin. After the demo DROP table, you can also find the table from the recycle bin, however, in DBA_FREESPACE, the space of
How to Set show parameter to display implicit parameters in oracle? show parameter in sqlplus does not show hidden parameters. You need to handle this as follows: Log On As a sys User:
C:\Documents and Settings\guogang>sqlplus / as sysdba;SQL>
The inline view embedded view is called the inline view, which is also called the inline view. To put it bluntly, it is the view created during execution. For example, select... from (select... from (select ...)), the select statement used as 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.