Chapter 2 procedural performance tuning of PL/SQL applications
I. Reasons for PL/SQL Performance problems
When the execution efficiency of PL/SQL-based applications is low, it is usually caused by poor SQL statements and programming methods,
A6l 06,200 4
Venkat -- thanks for the question regarding "passing an array from Java to PL/SQL", version 8.1.7
You asked Hi Tom, I need to pass String Array from Java to PL/SQL and also returnarray from PL/SQL. I refered your book and
*sql optimization based on ORACLE11GR2 reading notes * Third, cursor in OracleThe cursor in Oracle is a vector of SQL parsing and execution in an Oracle database and is a data structure for C (Oracle is written in C).There are two types of cursor in
1) classification of Sets
Oracle supports three types of collections:
Associative array (Index-by table)
Nested table)
Variable-length array (VARRAY)
One of their differences is that the Nested table and VARRY can be used either in PL/SQL or
Variable introduction when writing a PL/SQL program, you can define variables and constants, including: 1 in a PL/SQL program, scalar type (scalar) 2), composite type (composite)--for manipulating a single record 3), reference type (reference)--
First, Variable introductionWhen you write a PL/SQL program, you can define variables and constants, including the following in the PL/SQL program:1), scalar type (scalar)2), composite type (composite) --for manipulating individual records3),
Grammar:identifier [CONSTANT] datatype [not NULL] [: = | DEFAULT Expr]Identifier: Used to specify the name of a variable or constant.CONSTANT: Used to specify constants. When you define a constant, you must specify its initial value, and its value
Oracle Performance Analysis 1: Enabling SQL tracking and obtaining trace files when Oracle queries encounter efficiency problems, we often need to understand the problem so as to provide solutions to the problem. Oracle provides the trace
Common SQL * PLUS commands:Conn system/rr: log on to the databaseDisc: disconnectShow user: displays the current userExit: exit the system.Clear: clear screenStart d: \ aa. SQL [arg1 arg2 arg3]: run a script and specify parameters. Replace the
PL/SQL provides three common set union arrays, nested tables, and variable-length arrays, PL/SQL provides corresponding functions or procedures for operation.
Element or subscript in the vertical array. These functions or procedures are called set
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.