A job running on the 22nd has not been completed in one day! This job calls a job process. The job process calls eight statistical processes.
The update process was slow, and later I learned that there was too much data to access.
Job I killed
It is good to bind a variable to Oracle, and hard parse is not required. But it is also a bad thing. optimizer will become silly, obviously full table scan will cause index scan, so we have to pay attention to how to snoop and bind variables. Having
Oracle released its first quarterly performance report on Tuesday, with its quarterly profit increasing by 16% due to a rise in demand for database software.
Oracle's quarterly net income reached $0.509 billion, equivalent to 10 cents per share,
How table compression works
In orcle9i 2nd, table compression saves space by deleting duplicate data values found in database tables. Compression is performed at the database block level. When a table is determined to be compressed, the database
Once upon a time, the Network passed a rule to allocate memory to Oracle databases: allocate 80% of memory to Oracle, and allocate 80% of memory to Oracle's SGA, the remaining 20% is allocated to the PGA of Oracle. I remember that Tom once said
ORACLE was originally designed to be transaction-based, so it won't be authentic in terms of processing analyticdb. Recent developments in ORACLE-related technologies have gradually adapted to OLAP needs.
1 partition technology 2 compression
ORACLE: dbms_metadata.get_ddl usage
Get_ddl function in the DBMS_METADATA Package
-- Get_ddl: return the metadata for a single object as DDL.-- This inte *** CE is meant for casual browsing (e.g., from sqlplus)-- Vs. The programmatic
I started to write a trigger to determine the value of the MASTER_SESS_ID FIELD IN THE SSO_SP_LIST table andWhether the record with the same value as the MASTER_SESS_ID field of the deleted record in the table is empty. I select the MASTER_SESS_ID
81 53,5297 P_Base_Day_ I _NewTaredUser 17:28:56 18:24:21 55 insert success base82 53,5300 P_BASE_DAY_ I _NEWTAREDUSER_test 17:29:31 17:54:21 24 insert success base
This is two identical processes that access 10 million data for inner join
In a monitoring statement
Selec B. logon_time "Logon Time",. first_load_time "first execution plan generation time",. last_load_time "last execution plan generation time",. last_active_time "last execution time", from ....
This statement runs
Operator Optimization
INOperator
SQL statements written in are easy to write and understand, which is suitable for modern software development.
However, SQL statements using in always have low performance. The following differences exist between SQL
Lead () over () is used to calculate the current cursor position of a set and obtain the value of a field at the nth position in a certain order, the default value is the next position.
Select incid_id, acty_id,Lead (acty_ts) over (partition by
Combined Query, as its name implies, combines two or more tables to perform complex queries. The combined query is a bit similar to the high mathematics: Set. It is further divided into: full set, subset, union, and intersection.
First, preview the
Environment: xp sp3 + eclipse + pydev 2.2 + Python 3.2 + Oracle 10g client + cx_Oracle-5.1.1-10g
Assume that your pydev environment has been configured, if not, the online Plugin: first install python, then install JDK-SE, eclipse decompression can
1. Do not use the in operator. in this way, the database performs a full table scan,Recommended Solution: avoid using the IN operator IN business-intensive SQL statements
2. if not in is used, the index is not used.Recommended Solution: use not
1. Start from the root node and find the child node
/*Create table test (id int, pid int, name varchar (10 ));Insert into test values (1, 0, 'n1 ');Insert into test values (2, 1, 'n12 ');Insert into test values (3, 1, 'n13 ');Insert into test values
Oracle job Usage Details
In project development, we often have complicated business logic. Oracle stored procedures can be greatly reducedThe compilation workload of program code, and the stored procedure is executed on the database, so that the
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.