When oracle is commonly used, it will be uninstalled:
Write down the steps yourself:
Disable all Oracle services andProgram Select Start | program | Oracle Installation products command to run universal Installer. The welcome dialog box is
Drop table test;
Select count (*) from test;-- Create a test tableCreate Table Test(ID number (9 ),Nick varchar2 (30));
-- Insert Test DataBeginFor I in 1 .. 100000 LoopInsert into test (ID) values (I );End loop;Commit;End;
Select * from test;
--
All versions of Oracle 9i/10gr2 (Please download them with download tools such as thunder ):
Bytes ---------------------------------------------------------------------------------------------------Oracle 9i
Oracle9i Database Release 2
We know that in the Oracle database, a process can be terminated by kill session. The basic syntax structure is as follows:
Alter system kill session'Sid, serial #';
The kill session will be marked as killed, and Oracle will clear the process
Oracle logical read and physical read1. Physical reading is the process of reading data from the disk to buffer catch.Generally, if you find that the data does not exist in buffer catch when you need the data, that is, Oracle performs physical
There are several startup methods:
1. startup nomount
Non-installation startup. In this mode, you can execute: re-build the control file and re-build the database.
Read the init. ora file and start the instance, that is, start the SGA and background
Ladies and gentlemen, please help younger brother, I installed Oracle, login can not sqlplus prompt error is: ora-01017: invalid username/password; logon denied. the username and password of the database I created are slzyy. It is strange that I can
1) create a package firstCreate or replace package apps. crackpwd authid CURRENT_USERAsFunction getpwd (orauser in varchar2, appuserpwd in varchar2)Return varchar2;End crackpwd;/Create or replace package body apps. crackpwdAsFunction getpwd (orauser
1. Remove the HBA fiber of rac2, interrupt rac2 and storage cabinet, and find that rac2 reboot and Rac1 work normally.
[Oracle @ racdb01 ~] $ Crs_stat-TOra. RAC. DB application online racdb01Ora... s1.inst application online racdb01Ora... s2.inst
The Oracle component information can be viewed through V $ option and dba_registry:
-- View v $ option:
V $ option displaysoracle Database options and features. typically, although not always, optionsmust be separately licensed, whereas features
Operating System: oraclelinux 6.1 32-bit
Database: oracle11.2.0.3
Because the patchset after the Oracle 11g can be directly used for installation, I also directly installed it into 11.2.0.3, which saves the trouble of upgrading, during which two
Run the dbca command on a set of DB servers and report the following error:
[Oracle @ game_db ~] $ Dbca
Exception in thread "Main"
[Oracle @ game_db ~] $
[Oracle @ game_db ~] $ Exportdisplay = 1921.68.3.189: 0.0
[Oracle @ game_db ~] $
Note: This example is transferred from the DBA diary of the old white.
Just as I sat down, the phone rang. A customer called me and said it was a strange problem. In a large table with tens of millions of records, select * from where rownum
--
It took more than half a month to study Oracle Golden Gate. Let's talk about a process of learning Gg first.
All references are official documents. The links to the official website are as
When you use set autotrace or explain Plan for to generate an execution plan, the following message is displayed:
Note
------'Plan _ table' is old version
The cause of this error is that the execution plan of Toad has been analyzed. Therefore,
Having is mainly used to filter grouped data,
Generally, we connect the aggregate function (sum, Count, etc.) after it ),
In addition, we can use the fields following group by to form the having filter conditions.
SQL> select * from Dept; deptno
1. Official Website description 1.1 Processes
11gr2 documentation:
Property
Description
Parameter type
Integer
Default Value
100
Modifiable
No
Range of Values
6 to operating system
My colleague added a field to a table in the test database, prompting ORA-00054, resource busy. The table object lock is not released.
Use the following SQL statement to check the locking status of related objects in the system:
/* formatted
When you look at Oracle constraints, you can see enable novalidate, which means to enable constraints for data from now on and later, regardless of the previous data.
However, there was a small problem during the experiment:
SQL> Create Table dept
Record the experiment that we just created to configure multiple listeners for a database (t02). The process is a little tortuous.
(1) added two test listeners. The configuration content of listener. ora (you can manually edit the file or use
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