"Shared sql:1. Unified writing Style2. Using bound variables"To find the SQL statement that is not shared:Look for SQL statements with smaller executions in v$sql to see if these SQL statements are executed frequently.Select Sql_fulltext from V$sql
The composition of the 1.shared pool (shared pool)3 Block Area: Free cache, library cache, row cacheFree Cache: Idle spaceLibrary cache: Main cache SQL statements and execution plans for SQL statementsRow cache: Data dictionary cacheSELECT * from
1. Order of execution:Client input SQL statementSQL statements reach the DB instance over the networkAfter the server porcess receives the SQL statementA. Parse the SQL statement into an execution plan before executingB, parsing: Consume a lot of
The bulk collect feature has been introduced for the first time in Oracle8i, which allows us to use batch queries in PL/SQL, which in some cases can significantly improve query efficiency. With bulk collect, query results can be loaded into
One, sub-typeThis type is the simplest, similar type of an alias, mainly for some commonly used types of simplification, it is based on a primitive type. Such as:Some applications often use some currency types: number (16,2). If you define this type
First of all, the Oracle 9i added a new system comes with the sorting function1. Sort by first letterNew in oracle9i, according to pinyin, radicals, stroke sorting function. Setting the Nls_sort valueSchinese_radical_m Sort by radical (first order),
Problem: An error occurred: Unable to create a trigger on the SYS owned objectSolution:Problem exclusion:Question 1, first of all to know that the start is unable to build on the SYS user, first of all to determine the user is now logged into the
Order form. Same Order ID as order Information table (multiple order information columns)Find out all orders and their information and page them according to the orderSELECT * FROM (Select a. *, (Dense_rank () over (order by ID DESC)) as Numindex
1: Create UserCreate user username identified by password;Note: The password starts with a letter2: Change Passwordyourself: PasswordOthers: Password username (System administrator can change others)3: Delete UserDrop user username [cascade]DBA
ORACLE 11GR2 is configured with a domain during installation and will be deleted later. oracle11gr2
Because a security platform is used. Does this platform not support services in oracle? "." This is because oracle was installed and entered into
Solve ORA-00824: cannot set sga_target due to existing, sgatargetToday Linux server machine restarted, Oracle cannot start up, prompt: Solve the ORA-00824: cannot set sga_target due to existing saw a lot of solutions, found below this particularly
Simple Oracle REGEXP_REPLACE function usage
REGEXP_REPLACE allows you to search for the function of the string's regular expression mode REPLACE function. By default,
This function returns source_char and replace_string to replace each instance in
How to modify the tablespace size in Oracle, and modify the tablespace size in oracle
This article describes how to modify the tablespace size in Oracle. We will share this with you for your reference. The details are as follows:
1) view the
ORACLE queries the locked object and ends its session. oracle locks the object.
What should I do if I find that a table is locked and I don't know who (or which program) is locked when I use Oracle?
Two steps:
1. Find the session ID and serial
Simple usage of substr and instr functions in Oracle, oraclesubstrinstr
Simple usage of the substr function in Oracle
Substr (string, truncation start position, truncation length) // returns the truncated word
Substr ('Hello world',) // return 'H' *
I just set up 10.2.0.4RAC.
I just set up 10.2.0.4RAC today. I cannot get up after I shut down and restart it. I'm glad to start filling in the problem:
[oracle@rac2 ~]$ crs_stat -t -vName Type R/RA F/FT Target State
RHEL5.8 reports a version error when installing Oracle10
RHEL5.8 reports a version error when installing Oracle10. If it is not supported, modify oraparam. ini # RUN_OUICA specifies the batch script name that needs to be run # The script is ouica.
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