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,
PL/SQL development that little thing----->pl/sql exception handling during developmentA user-written PL/SQL block inevitably has some errors during execution.The errors involved are not caused by the syntax errors of the program, but because the
I. Description
Oracle provides a profiler toolkit that allows you to view the performance of each module during PL/SQL Execution. You can download this script from MOS:
Implementing andusing the PL/SQL profiler [ID 243755.1]
You can also download
http://uule.iteye.com/blog/2061773 (source)Bulk Import Script :Open a Command Window > enter @ > It will let you select the file you want to import (you need to know the order of the imported files, Plsql will not automatically recognize this or
Http://hi.baidu.com/yunfanleo/blog/item/fa65fcfd91916346d7887d25.html
PL/SQL developer
PL/SQL developer is an integrated development environment dedicated to the development of Oracle database storage program units. Nowadays,
PL/SQL usage tipsEdit/undo Ctrl+zedit/redo shift+ctrl+zedit/pl/sql beautifier ctrl+w (Custom) Shift+home Select the cursor position to the beginning of the line Shift+end select the cursor position To the end of the line Ctrl+shift+home select the
Shortcut:===============================================================================Edit/undo Ctrl + ZEdit/redo shift+ctrl+zEdit/pl/sql beautifier ctrl+w (Custom) shift+home Select the cursor position to the beginning of the line
1. PL/SQL Developer remember login password when using PL/SQL developer, in order to work conveniently hope PL/SQL Developer remember login Oracle user name and password; Setup method: PL/SQL Developer->tools->preferences->oracle->logon history,
-- Exception test declarev_ename EMP. empno % type; -- defines the variable beginselect ename into v_ename from EMP where empno = & gno; dbms_output.put_line ('name: '| v_ename ); exception when no_data_found then dbms_output.put_line ('unfound');
Abstract: In the PLSQL development process, the use of SQL and PLSQL can meet most of the requirements, but in some special circumstances, using standard SQL statements or DML statements in PLSQL cannot meet your needs. for example, dynamic table
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.