Oracle client streamlined files that enable database communication, direct and software packaging:
The first step: Copy files: Mainly four directories: Bin,nls,oracore,network.
The list of documents is as follows (Bin DLL section below is the most
There is a CentOS machine installed Oracle, the error when starting the instance ORA-27125
Sql> StartupOra-27125:unable to create shared memory segmentlinux-x86_64 error:1: Operation not permitted
The Linux detailed version is
#
1. View Deadlock1 Execute the following statement with the DBA user
Select Username,lockwait,status,machine,program from v$session where SID in
(select session_id from V$locked_object )
If there is a result of the output, then there
Program apes know that other databases, such as MySQL, with the record inserted while the table ID will automatically increase the function, but Oracle does not have this function, the following two ways to solve the function of the growth of the
Initialization of experimental data:
Copy Code code as follows:
CREATE TABLE T as select * from Hr.employees;
CREATE index inx_t1 on T (Employee_id,first_name Desc,last_name);
CREATE index inx_t2 on T (job_id,hire_date);
View SQL for the first 10 of logical reads:
Copy Code code as follows:
Set Linesize 300;
Set pagesize 300;
Set long 50000;
SELECT *
From (
SELECT sql_fulltext as SQL, sql_id,buffer_gets/executions as "gets/exec",
The project began to get the DMP file, the database is 10g, but did not guide the success, then want to possibly export the time with 11, decided to try.
Just the machine is 11 of the client, the results do not recognize imp command, to the
Inserting a piece of article (1000~2000) into the CLOB attribute of a database in a project today will report an error with a string that is too long.
The net says to deal with the flow, did not do so. This is like a bug, as long as the inserted
1. NESTED LOOP
Nested loop joins are a good choice for smaller subsets of connected data. Nested loop is to scan a table, each read a record, based on the index to another table to find, no index is generally not nested loops. Generally in the
First step, at the cmd command line, enter Sqlplus
In the second step, enter the username and password according to the prompts
1. View processes and Sessions parameters
Sql> Show parameter processes
NAME TYPE VALUE
Db_writer_processes Integer 1
The steps to use the self-increasing ID field in Oracle are cumbersome, as summarized below:
--Create a table
CREATE TABLE ADVICE
(
ID INT not NULL,
ACTIVE INT DEFAULT 1 is not NULL,
TYPE int. NOT NULL,
MSG VARCHAR2 ( ) not NULL,
ADVICE
For many occasions we use Oracle's column merges, Oracle provides some of the following ways to implement column merging:
Oracle 10G previously used wmsys.wm_concat:
Wmsys.wm_concat the value of the field with "," to separate it.
Select Id,
When a deadlock occurs in an Oracle database, the following processing steps can be used to resolve it:
The first step: try to delete the SQL command in the Sqlplus , if you can delete the success, then everything! However, in general, when a
Sql> Show All--View all 68 system variable values
Sql> Show user--Displays current connected users
Sql> Show Error--Display errors
Sql> set heading off--Suppresses the output column header, the default value is on
Sql> set Feedback off--suppresses
1.intersect to take the intersection of multiple query results;
2. Query the SQL statements recorded in the table of two basic time periods;
SELECT * from Shengjibiao t where t.createtime between to_date (' 2009-7-26 ', ' yyyy-mm-dd ') and to_date ('
Not long ago a customer's core database (10.2.0.4.12), it is said that each interval must be restarted, because the ORA-04031 error will be reported. The query found that the shared pool looked like 5 GB. In fact, the ges resource consumed almost 3.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