Partition Table basic knowledge

The partition table Oracle provides the following methods for range partitioning, hash partitioning, list partitioning, and combined partitioning: distribute data to different partitions by column value range SQL> Create Table ran_tab (2

Delete table data to improve SQL Efficiency

This morning, I checked the EM tool. At half past nine, applications were upgraded.When it reaches 60, although it is released quickly, it does not cause the database to slow down, but this. Create an AWR report with a snapshot from eight o'clock

Several commonly used hints optimize an SQL statement

Environment: Oracle 10g R2 select count (*) from t_ho_order_statistics -- 2032946 select count (*) from t_ho_order_info -- 2032946 others are small dimension tables. The statistical information has been checked, about 10 days ago (but I ran this SQL

Anti-connection Experiment

Anti-connection experiment: not exists and not in all belong to anti-connection ---------------------------------------------------------------------------- Experiment 1: SQL> explain Plan for select * from EMP 2 where not exists 3 (select * from

View the execution plan of a stored procedure

There is no execution plan for the stored procedure. You can view the execution plan of the SQL statement in the stored procedure. Here we use 10046 to view the create or replace procedure lee_xc (ENO number) isbegin select empno, ename, dname from

Optimize an SQL statement by combining Indexes

The raw SQL statement generates zero rows of data, which is not the focus and the statistical information has not expired. The statistical information is not considered here.View the number of rows from the tableSelect count (*) from t_ho_room_price

When the index fails

select count(0) from creditguarantee cg where 1=1 and cg.createddate>=to_date('2012-02-23','yyyy-MM-dd') and cg.createddate0 then (select newlevel from creditlevelchange where

Query two indexes that access a table

Original article address: Workshop. Generally, there are three common conditions for accessing more than two indexes of the same table: And-equal, Index HASH join, and bitmap index and/or. In addition, there is still a design question. If there are

And_equal and composite index optimize an SQL statement

When the system load is high, capture an SQL statement and output 152 rows of select a around 1 minute 23 seconds. case_id,. case_type_id,. case_subject,. case_content,. create_employee_id,. case_create_time,. customer_id,. dept_id,.

Help itpub users tune SQL

Http://www.itpub.net/viewthread.php? Tid = 1462612 & extra = Page % 3d1 & page = 1 SQL> explain Plan for select (v. yvalue * 300)/(U. xvalue * 50), U. xtime 2 from (select X. index_value xvalue, substr (X. update_time, 1, 14) xtime 3 from tb_indexs

Use with as to optimize SQL

I am about to join the Singles' Day. I am wondering which girl I want to harm this year. I suddenly sent a message from my QQ friend asking if I could help optimize an SQL statement. I have done too much SQL tuning, all of them are numb.

Secure CRT automatically records log configuration note

    As an O & M dBA, you should generate a log record when handling faults or operations. Of course, we usually connect to the system through securecrt, so we use this tool to record logs. Before each operation, I click to record logs. The trouble

Get cmainframe class pointer

1) cmainframe: getactiveview () to get the view pointer. Getactivedocument () to get the document pointer. 2) cdoc: Position Pos = getfirstviewposition (); cview * pview = getnextview (POS); // obtain the view pointer afxgetmainwnd () to obtain the

Data guard wonderful ORA-16191: Primary log shipping client not logged on standby Problem

After creating a data gurad and switchover, check the Configuration: SQL> select dest_name, status, error from V $ archive_dest where rownum   Dest_name status Error ------------------------------------------------------------ Log_archive_dest_1

Use merge to replace complex update statements

A friend asked me about an update statement. Which of the following two statements has higher performance? One is without hint and the other is with hint? Update cs_performance_current C set C. performance_score = '0. 00', C. assess_desc = 'Labor

Optimize self-connection using analysis functions

The first day of spring festival is also a headache. Geer sent me another SQL statement. He said that the SQL dB file sequential read is very high and it takes 120 seconds to run, I can help optimize the logic read by 1626677. The SQL statement is

Optimization of SQL with beauty

A beautiful female DBA wants to learn SQL optimization, and is often confused with me. My favorite beauty. Today, he sent an SQL statement asking me to help you. The execution plan is as follows: Select "A1 ". "code", "A1 ". "device_id", "A1 ".

Row level security (RLS) performance problems

I remember that when I was at HP, I encountered a row level security performance problem. At that time, I also posted a blog on csdn, But I deleted the blog because it involved user information leaks. Recently, a netizen also encountered the

Delete deletion performance optimization

Please wait until me ² ° then until 23:08:57 Are you there? Do you think this statement is saved? Delete from I _br_all_user_real t Where exists (select 1 from I _br_card_return Where T. imsi_no = A. imsi_no and T. oper_date 23:10:54 Saved Must be

RMAN backups in Max performance/MAX Availability Data guard Environment [ID 331924.1]

RMAN backups in Max performance/MAX Availability Data guard Environment [ID 331924.1]   Modified28-dec-2010TypeBulletinStatusPublished   In this documentPurposeScope and applicationRMAN backups in Max

Total Pages: 64722 1 .... 40861 40862 40863 40864 40865 .... 64722 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.