Partitions can be partitioned by two fields, compare the first column first, and if satisfied, ignore the second column, and if the first one does not, you need to compare the second column. This partitioning approach is a bit hard to understand and
Oracle Database defragmentation table Fragmentation reprint: Source of http://kyle.xlau.org/posts/table-fragmentation.html table fragmentsWhen there are many deletions for a table, the table generates a lot of fragmentation. The space freed by the
Oracle uses regular expressions without these 4 functions:1, Regexp_like2, Regexp_substr3, Regexp_instr4, Regexp_replaceLook at the function name and guess what the use is.Regexp_like can only be used for conditional expressions, similar to like,
Oracle initialization or shutdown in progress this error message when you log in to Oracle today, searching the web, trying a lot of ways, and finally combining several methods to successfully solve the problem! cause : I mistakenly delete a
Before Oracle 11g it was a bit of a hassle, after 11g, it was very simple. Now has the function business is, has a test table records is the document approval information, the ID is the approval information primary key, SHEET_ID is the foreign key,
The first thing to know about Undo is that undo is a very useful feature in OracleThe undo data is also known as rollback (ROLLBACK) data, which is used to ensure consistency of data. When a DML operation is performed, the data before the
Find the top 10 poor performance SQL.SELECT * from (SelectfromorderbyDESC ) where ROWNUMView a running session with a large IOSELECTSE.SID,SE.SERIAL#,PR. Spid,se.username,se.status, Se.terminal,se.program,se. Module,se.sql_address,st.event,st.
The following code can be added to the package to modify the language parameters of the current session.--Set Session language procedure p_set_nls_language (pi_nls_lang in varchar2 default ' Simplified chinese ') IS BEGIN
[Original link] http://nvd11.blog.163.com/blog/static/200018312201301310585758/[Original VIDEO] Http://www.jiagulun.com/thread-2674-1-1.html1. Database filesThe Oracle database file can be divided into 3 types, namely:control files: storing the
Syntax: drop table ... purge; example: Drop table Test Purge;purge is deleted directly from tables, not reserved to Recycle Bin, 10G start default drop table name change to recycle Bin; Flash back (Flashback) statement: 1, Can restore a table to a
SUBSTR () and SUBSTRB () differ in the interception of Chinese characters, a Chinese character may account for 2 or 3 characters, substr () the length of the Intercept refers to the length of the string, the length of the SUBSTRB () is the length of
We can use the Oracle Audit function to record user login information, but if opening the Audit function will degrade Oracle performance and even cause Oracle to crash. So how can we record user login information? We can actually do this by creating
Select Sys_guid () from dual;-->78ae331adb2b4ce7ab598b1317b39d58But the function has the following problem: 1 . The return type is raw 2 . No- (dash) delimiter 3 . Capitalization of letters returnedTo make the resulting UUID conform to the RFC
Exchange Partition provides a way for you to migrate data between a table and a table or partition and partition, noting that the table is not converted to a constituent or non-partitioned form, but only to the number of migrated tablesIt is the
1. First create a table to hold the error message
12345678
CREATETABLE TBL_PROC_ERRMSG( BIZ_CODE VARCHAR2(50), ERR_LINE VARCHAR2(10), ERR_CODE VARCHAR2(10), MSG VARCHAR2(200), CRT_TM DATE DEFAULTSYSDATE);
2.
Reprint Please specify source : http://blog.csdn.net/guoyjoe/article/details/386848191. Get the library cache Latch(1) The text of the SQL statement was not found in the handle of the parent cursor: SELECT * from Gyj_t1 where id=1;2. Release Library
How to check whether the SQL statements are correct when executing large SQL statements in Oracle stored procedures?
A large SQL statement is sometimes used in the preparation of a stored procedure in Oracle. However, you cannot see the SQL
ORA-01552: non-system tablespace & #39; xxxx & #39; do not use system rollback segments
ORA-01552: non-system tablespace 'xxxx 'cannot use system rollback segmentsFault analysis:The UNDO tablespace data file is damaged, causing the update operation
New Features of Oracle11g: invisibleindex (invisible index)
How do you feel if a table has more than a dozen indexes? Obviously, it will slow down the process of adding, deleting, and modifying data. Do not expect developers to build indexes. My
Differences between Oracle hard parsing and soft parsing: oracle and soft
I. Summary
Oracle hard parsing and soft parsing are common problems, so we need to consider when soft Parsing is generated, when hard Parsing is generated, and how to
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