Home » Developer & Programmer » Forms » Orcale Forms Program Units Versus Database Stored Subprograms
Orcale Forms Program Units Versus Database Stored Subprograms [message #79555] Fri, 21 June 2002 03:50 Go to next message
Praveen
Messages: 57
Registered: November 2001
Member
Hi,
When creating a procedure or function in Oracle Forms, should I use a program unit in the form itself, a form library program unit, or a database stored subprogram(Including packages).
Re: Orcale Forms Program Units Versus Database Stored Subprograms [message #79558 is a reply to message #79555] Fri, 21 June 2002 07:28 Go to previous messageGo to next message
HI , Why notry this one
Messages: 1
Registered: June 2002
Junior Member
6. Program Units and Libraries.

Question
--------

If I want to create a procedure should I use a library, a
database stored procedure or a local form procedure ?

Answer
------

These different forms of procedures will produce different
performance results depending on what you are trying to
achieve. The database procedure will be invoked on the
server side and will perform all of the processing there.
This may help reduce network traffic, but may overload the
server if many clients are doing this.

Local form and library procedures are quite similar in that
they are both stored and run on the client with any SQL
statements being passed to the server.

The local procedures are typically faster on execution
because they are actually part of the .fmx file, but may use
more memory and have a longer startup time when the .fmx
file is initially invoked.

Library procedures may be better in terms of overall memory
as procedures are only loaded into memory in 4K chunks when
they are required. However, once loaded they are read from
memory.

They have the additional advantage that the library can be
attached to a number of forms and the code within the
library is then available to the forms.

If the code within the library procedures is altered, the
form does not require re-generation. That can be a *big*
advantage.

Arios Omego.
n
Re: Orcale Forms Program Units Versus Database Stored Subprograms [message #80029 is a reply to message #79555] Sun, 04 August 2002 18:36 Go to previous message
Faisal
Messages: 16
Registered: November 2001
Junior Member
hello sir
i want some starts queary of aql.
thanks.
Previous Topic: OCP 8i and 9i Help
Next Topic: Re: generate forms in designer
Goto Forum:
  


Current Time: Tue Apr 23 16:39:46 CDT 2024