I. Description
With Oracle database, in many cases, Oracle's stored procedures will be used as data sets. In actual situations, when Oracle's tablespace data is more Oracle returns data sets through storage packages, when user add stored procedures in the designer, Will wait a little longer.
Here there are more table spaces in Oracle and more data. Using a stored procedure in Oracle as a data set will cause a longer waiting time, as shown in the following figure:
When the stored procedure on the left is displayed, enter the name of the stored procedure in the search box and wait for a while, as shown in the figure below:
II. Solution
1. Remove the configuration that shows all Oracle tables
Click onFile>Options,As follows:
Select Advanced to remove the selectedDisplay All Oracle Tables.
When creating a stored procedure in this way, only the data of the current table space will be displayed , but not all table space data. The storage process display and search speed is obviously accelerated.
2. Call a stored procedure in a database query
Example: In the Oracle stored procedure, obtain a piece of personnel information based on the user name and password, as shown in the following figure:
In the designer, create a new database query and directly call the stored procedure. This method does not need to create a new stored procedure data set, and the speed is faster than that of the first method, as shown in the following figure:
Input parameters${P_USERCODE}、${P_PASSWORD}Keep consistent with the stored procedure;
Output parametersP_DATA; Indicates the output data set, use "?" in the template instead;