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
Oracle complains when deleting table A records: "ORA-02292: Violation of full constraint (XXX.FKXXX)-Child records found
1, find the "fkxxx" as a foreign key table a child table, run directly
Select A.constraint_name, A.table_name,
First, view
RAC
Environment
RAC Architecture, 2 node information
Node 1
Sql> Show Parameter instance
NAME TYPE VALUE
------------------------------------ ----------- -----------------------------------------------
Active_instance_count
The Oracle 11g listening and warning logs are both in the/u01/oracle/diag/tnslsnr/oracle/listener directory and the/u01/oracle/diag/rdbms/db1/ The DB1 directory has the following names, respectively, listener directories and DB1 directories. Both
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.
In Oracle/plsql, the trim function removes all specified characters either from the beginning or the ending of a string. The syntax for the TRIM function is:Trim ([Leading|trailing|both[trim_character]] string1) Leading-remove trim_string from the
If you are in the retail business, would you like to be able to get a more personalized recommendation and a better user experience when the customer enters the store?
If you are in the financial industry, do you want to find out more quickly the
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
I. Database user management
1. Users and Security
The security of Oracle databases includes the mechanism for controlling database access and use at the object level, which is implemented by database users. The database user is defined in the
Stored Procedures
1 CREATE OR REPLACE PROCEDURE Stored procedure name
2 is
3 BEGIN
4 NULL;
5 end;
Line 1:
The Create OR REPLACE PROCEDURE is an SQL statement that notifies the Oracle database to create a stored procedure called skeleton,
1.
IP error. Error in setting URL, for example: Jdbc:oracle:thin:@192.168.0.36:1521:sharp database server is incorrect: Ping server IP is correct.
Incorrect, change URL to correct port number error: generally not error.
To do this: type Sqlplus on
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