Oracle SQL statement Optimization
Although orm ing is used in the project, the optimization of the Oracle system is very valuable. Here we will summarize the commonly used statements from the perspective of SQL statements.
1. Optimization in the
Internal Management Mechanism of Oracle Share Pool
The share pool is managed using HEAP memory management. It is physically composed of multiple memory zones (EXTENT) and consists of multiple chunks of different sizes. The CHUNK can be reused and
In-depth analysis of MySQL ERROR 1045 (28000)
After a user is created in MySQL over the past few days, the access request is denied. The ERROR code is ERROR 1045 (28000 ). I searched the internet for a long time and found many solutions, but
When importing a batch of data to Oracle today, I encountered a problem: Toad prompts me to assign a value to a custom variable AMP. At first I was wondering that data is a series of Insert statements, how can I have custom variables? Then I
Keywords: host string in Oracle
If the local SQL * Plus is used to connect to the local database, the "host string" can be blank.
To remotely connect to the xp oracle database, use the following method:1. Start oracle-related servers in windows;2.
1. Oracle Installation RequirementsDatabase Installation Requirements:Database Installation requirements are as follows:
1. Currently, it is installed on a file system.2. Install oracle. The default user password is oracle.3. Database sid: taac4.
I. Introduce a concept:NLS 'national Language Support (NLS) 'from the concept we can see that this parameter actually defines the Language environment for storing data in the database, when we set an nls, we actually specify some expressions
Oracle SQL statement optimization, oraclesql statement
Although orm ing is used in the project, the optimization of the Oracle system is very valuable. Here we will summarize the commonly used statements from the perspective of SQL statements.
1.
Use left join and inner join in SQL.
Left join on is a left Outer join. The data is based on the table on the left. The table data on the right is queried even if it is null,
Inner join on means that the data in the tables on both sides of the left
In the oracle database, the connection test statements in the application are correctly used.Correct use of connection detection statements in applications in oracle databases
This article is the original article, reprint please indicate the source:
Integrity constraints (Chapter Summary), integrity constraints Chapter Summary1. The Integrity Constraint of the database is a check measure for data updating. One or more constraints exist on a data table.2. constraints are divided into five types:
Notes on truncate table
--- The following is a summary of the quotations of itpub's predecessors.
After truncate table, oracle recycles the index of the table and its table to the initial size, that is, the size of the initial allocated
ORA-00911: Invalid character error, invalid ora-00911 character
ORA-00911: Invalid character error -- caused by a minor error in the compilation environment
Implementation of a function script statement, compile, there is a ORA-00911 error, at
Mysql remote connection is acceptable. Local Connection reports an error. mysql local connection
Use the MySQLdb library of python to connect to the local mysql database. The error is as follows:
File "/usr/lib/python2.7/dist-packages/MySQLdb/_
[Translated from mos] The asmcmd cp command cannot copy files larger than 2 GB ., MosasmcmdThe asmcmd cp command cannot copy files larger than 2 GB.Reference Original:Asmcmd CP Command Can Not Copy Files Larger Than 2 GB (Doc ID
9. Which statement is true regarding the INTERSECT operator?
A. It ignores NULL values.
B. Reversing the order of the intersected tables alters the result.
C. The names of columns in all SELECT statements must be identical.
D. The number of
1. By default, no segment is assigned to the empty table at Oracle11g. Therefore, when you use exp to export the Oracle11g database, the empty table is not exported.
2. After the deferred_segment_creation parameter is set to FALSE, segment is
The distributed document storage database MongoDB is so popular now. In response to the requirements of cloud computing last year, I tried it a little.
However, at the time of the test, version 1.8.1 was now available in version 2.4, but NoSQL was
A developer encountered an error: ORA-01795: the maximum number of expressions in the list is 1000
Statement is a select xxx from xxx where xxx in (xx, xx ,.....);
Let's take a look at the error:
01795,000 00, "maximum number of expressions in a
% T: Number of the redo thread. % S: log serial number. The ID value of % rRESETLOGS. These three matching characters must exist. If the online configuration file format is used, you must restart the database.
10.1 view the location where archive
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