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
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 actual application, sum () can be used to calculate the total or accumulated values in the group. The specific example is as follows:
1. Create a demo tableCreate Table EMP
As
Select * from Scott. EMP;
ALTER TABLE EMP
Add constraint
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
A table connection refers to the association between tables in an SQL statement to retrieve relevant data from one or more tables, in general, the table and table connections can be divided into four types: equal connection, external connection,
Many of my friends asked me what is the main difference between genuine Oracle database products and pirated products. In fact, there is little difference in the product technology itself. You can download a database product from the OTN website and
1. Export tool exp
1. It is the directory for storing the next executable file in the operating system/ORACLE_HOME/bin
The exp export tool compresses data backup in the database into a binary system file, which can be migrated between different
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,
Linux environment Configuration
OS: fedora 15 DB: Oracle 11gr2 install oracle in the home/oracle_11 directory
Configuration process: This article is from the Oracle official documentation + online materials
Oracle official documentation:
I usually use fewer triggers, mainly because errors are not easy to find when the program logic is incorrect, and sometimes the data volume is too large.Performance problems occur, but this is always useful and will play a huge role in many
Recently, I was using vc6 to develop a console program to connect to the Oracle database. The program was compiled, but the operation was. When I created _ connectionptr, it was always unsuccessful. Now I finally found the problem, the code for
Oracle obtains the current date and Date Format
Get system date: sysdate ()Format Date: to_char (sysdate (), 'yy/MM/DD hh24: MI: SS)Or to_date (sysdate (), 'yy/MM/DD hh24: MI: SS)Format the number: to_number
Note: to_char converts a date or number
The Stored Procedure contains three parts: Declaration, execution, and exception.
There are no parameter programs or stored procedures with parameters.
No parameter program syntax
1 create or replace procedure noparpro
2;
3 begin
4;
5
To_date formatDay:Dd number 12Dy abbreviated FriDay spelled out FridayDdspth spelled out, ordinal twelfthMonth:MM number 03Mon abbreviated MARMonth spelled out MarchYear:YY two digits 98Yyyy four digits 1998
The time range in the 24-hour format is: 0
Operators in Oracle
Arithmetic Operators:
Whether in sqlserver or Java, each language has arithmetic operators, which are similar.
Oracle Arithmetic Operators (+ )(-)(*)(/)It is worth noting that :/In Oracle, it is equivalent to division in display.5
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