Learn about global temporary table oracle 11g performance, we have the largest and most updated global temporary table oracle 11g performance information on alibabacloud.com
tmp_cust_city b where b.customer_id=a.customer_id)Returns the case of excess 1, the following error is reported:SQL Code01427 00000 " Single-row subquery returns more than one row " // *cause: // *action:A comparatively simple approximation to irresponsible practice isSQL CodeUpdate customers A-- using the alias set city_name= (selectfromwhere b.customer_id=a.customer_id and rownum=1)How to understand the 01427 error, in a very complex multi-table co
to select the crosstab (intersection table) as the underlying table, which is the table referenced by the other table.Like what: The EMP table description describes the intersection of the location table and the category table.
Select the most efficient table name order (valid only in the rule-based optimizer)the parser for Oracle processes the table names in the FROM clause in a right-to-left order, so the table that is written in the FROM clause (the underlying table, driving tables) is processed
According to Oracle's documentation, the data pump in different ways to export imports, performance can be significantly different, this time just have the opportunity to test, migration table space, direct path, external table, and database chain export, import performance differences.
This test external
necessary, and if multiple rows are deleted from the parent table, the child table is scanned once per row in the parent table. 2) Query the child table from the parent table: Consider the emp/dept example again. Using Deptno to query the EMP
Oracle performance optimization operation 18: whether to use full table scan or index
Like all tips, the last trick will go back to the starting point. Finally, let's discuss whether to create an index, maybe it is faster to perform a full table scan.
In most cases, full table
| Rows | Bytes | Cost |
---------------------------------------------------------------------------
| 0 | select statement | 29M | 1583M | 37405 |
| * 1 | hash join | 29M | 1583M | 37405 |
| 2 | index fast full scan | PK_PAYCODE1MMFLAT | 323 | 1615 | 1 |
| 3 | table access full | WFCTOTAL | 8938K | 443M | 37317 |
The Cardinality show 29,135,142, it is already close to the correct value.
The base is 29,135,142, which is close to the correct result.
So
represents the Create table,3 representative select.
TADDR: The current transaction address. The addr field that can be used to associate v$transaction.
Status: Used to determine session status. Active: Executing SQL statement. Inactive: Wait for operation. Killed: is marked for deletion.
Server:server type (dedicated or shared)
Server Type:
Dedicated
SHARED
PSEUDO (. )
Pooled (. )
NONE Comment:
when the server field in V$session is none.
type
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.