using Oracle parallel queries to play the power of multiple CPUs2006-07-05 07:00 Author: Source: BLOG Editor: Ark the installation of more CPUs in a separate server is a current trend. With symmetric multi-processor (SMP), it is not surprising that
1. Choose the appropriate Oracle optimizer
There are 3 Oracle optimizer types:
1.RULE (rule-based) 2.COST (based on cost) 3.CHOOSE (optional)
Set the default optimizer to pass various declarations of optimizer_mode parameters in the Init.ora file,
Oracle Execution Plan (2)-Cardinality
Executes the cardinality column for the plan. Cardinality is the number of rows of data returned from a datasheet, result set, or index.
cardinality = table row Data * selection rate. So the cardinal point is to
1. Nls_lang parameter compositionThe Nls_lang parameter consists of the following sections:Nls_lang=_.
The meaning of each part of the Nls_lang is as follows:Language specify:Language used by-oracle messages-month and day display in dateTerritory
Oracle Stored procedures:
Grammar:CREATE [OR REPLACE] PROCEDURE procedure_name(Arg1 [Mode1] datatype1,arg2 [Mode2] datatype2,...)is [as]Pl/sql Block;Mode is used to specify the input and output parameters: In is an input parameter, out is an output
Indicates that it exists, but it complains when it is deleted: The table or view does not exist.One possible reason is that the table name contains lowercase and can be removed by using the drop command with double quotes containing the table
Pfile file
The Pfile (Parameter file) file is a text-formatted parameter file that contains configuration parameters for the database.
Oracle 9i establishes a pfile for each database at installation time, the default name is "init+ routine name. Ora"
Build sequence SequenceCREATE SEQUENCE sequence Name (for example: "Urlimage_seq") MinValue 1 MAXVALUE 999999999999999999999999999 INCREMENT by 1 START with CA CHE Noorder nocycle;
Build trigger TriggersCreate or Replace trigger trigger name (for
PPAs has two migration tools, a graphical interface, a command line, and the following is an example of a graphical interface.
1
First of all, we need to establish the corresponding user and peer permissions on the target database system PPAs, and
--oracle Jobs Batch Command Reference Qlplus/nolog connect Sys/lee as SYSDBA--The following sentences are executed under the SYS (that is, a user with DBA authority) to perform the show parameter job_queue_proces Ses alter system set
First of all, we need to rearrange the relevant concepts, functions in an Oracle database are invoked only by others, stored procedures can be executed separately, and a stored procedure can be invoked, and the package's action package can place any
A friend is doing map-related programs, the requirements of the program is: There are a lot of points on the map, stored in the database, input is a polygon, output is contained in this polygon point.
A friend discovers that there is a function in
use of the Exp/imp Export Import Tool
2004-02 Maple one. Export tool exp 1. It is the next operating system executable file storage Directory/oracle_home/bin exp Export tool compresses data backups in a database into a binary system file.
This is a header file with Otlv4.h, (Master package good, you can use it directly to the Oracle database), check for a long time, the network said a lot of information is not complete, I think we should make some contribution, I write down the
Statistical function Statistical functions include: count (): Sum of Statistics (): Calculate sum min (): Compute Minimum AVG (): Averaging Max (): Calculating the total number of people in the EMP table, average wage, total wage, minimum wage With
I. Oracle database installation PROCEDURE reference: https://jingyan.baidu.com/article/363872eccfb9266e4aa16f5d.htmlIi. Oracle Client Installation: https://www.jb51.net/article/101306.htmThird, plsql install or use the free installation version.Iv.
Today in the operation of the database, found that the data operation error, want to recover, but no transaction, supposedly, set to not default commit transaction, at this time the various operations do not respond to the database. At this point,
I. Operating frequency settings for the job1. Daily fixed time operation, such as morning 8:10 minutes: Trunc (sysdate+1) + (8*60+10)/24*60Available in 2.Toad:Daily: Trunc (sysdate+1)Weekly: Trunc (sysdate+7)Per month: trunc (sysdate+30)Each Sunday:
One, Data update operationDML syntax includes two main content: Query and update, update mainly include: Add data, modify data, delete data. These operations are inseparable from the query.1. Add DataSyntax: INSERT into table name [(Field name 1,
How to get the system current time in Oracle: With Sysdate ()The current time to get the system in MySQL mainly has the following points:(1) the Now () function returns the current datetime with (' Yyyy-mm-dd HH:mm:SS ') and can be stored directly
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