There are several common methods:
1. Use the PL/SQL Dev Tool
1. directly file-> New-> explain Plan window. Execute SQL statements in the window to view the plan results. Among them, cost indicates the CPU consumption, unit is n %, cardinality
Http://wanwentao.blog.51cto.com/2406488/516358
Delete from table name where condition;
Note: deleting a record does not release the occupied data block tablespace in Oracle. It only marks the deleted data blocks as unused.
To delete all records in
Quickly browsed the official Oracle Web page and unofficial PPT, and briefly understood the high availability solution provided by Oracle.
There are three main types:
1. RAC
RAC, real Application Clusters
Multiple Oracle servers form a shared
The following database version is Oracle 9i (9.2.0). When the database is installed, the database system creates a database instance. The installation directory is/Oracle, enter the Database Name and database SID number ora9i.
1. parameter
The URI Method for connecting to the Oracle cluster by using thin in Java was recorded last time. I have not tested the method, but I found that the OCI (Oracle call interface) is more stable, and finally decided to use this method. Follow these
Requirement: the number of appointment cases on the current day is at the beginning --> the number of cases that have never been handled --> the last handling time is sorted from small to large (that is, the closer the collection is, the more the
I. we can improve the performance by configuring the Shared Pool to ensure that users find cached statements in the memory. Another important method is: this allows users to find the data they requested in the memory! This requires the database
I. Although the SGA component can be adjusted to minimize the occurrence of physical I/O, it is inevitable that disk I/O will be generated during some activities. Note that the I/O activity in the memory is logical, and the I/O activity on the disk
Ora-1403: No data found
[Oracle] differences between UNIX and Oracle on Windows 2000 (I)
[Oracle] differences between Oracle on UNIX and Windows 2000 (II)
[Oracle] differences between UNIX and Oracle on Windows 2000 (III)
Dbms_stats package
How
1. Oracle database character set (NLS) is used to store, process, and retrieve data in their own languages and formats. With global support, Oracle provides users with familiar database mother-tongue environments, such as date formats, digital
Windows 2000 + Oracle9i hardware environment CPU 1.8g + Ram 512 m now we have two tables as follows: t1 -- large table 10000 t1_fk_id T2 -- small table 5000 t2_pk_idt1 join the simulation data through the field ID in the table with the primary key
-- 1. Retrieve the first 10 rows
Select * from HR. Employees where rownum -- 2. in ascending order of first_name, take the first 10 digits -- correct method: Oracle processing mechanism: --> HR. employees full table scan --> sort order by stopkey
In many cases, the local test environment cannot simulate all the performance problems of the customer's production system. It may take only a few minutes to quickly run in the local environment, but it usually takes several hours for the customer
1. Perform a statspack when the system works well! Save the result file as the criterion for future judgment. 2. create a table script for storing execution plans in Oracle as follows: -- create a table named plan_hashes (SQL _text varchar2 (1000),
1. Oracle instance = the memory (SGA) instance used by the background process + process is a temporary thing. You can also think that it represents the status of the database at a certain time point! SGA (system global area) = Shared Pool + block
The advantage of using package is that it provides the necessary program design structure and promotes Modular programming design. The most important thing is that package disconnects the dependency chain, changes to a database mode will not
Common online copy
1./* + all_rows */It indicates that the overhead-based optimization method is selected for the statement block, and the optimal throughput is obtained to minimize the resource consumption.For example:Select/* + all + _ rows
Jdeveloper has two types of installation packages: full installation package and basic installation package.
After the full installation package is downloaded, you only need to decompress the package.
To install the Basic installation package,
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