My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
CRDSS_Task1_05-7_UseOFEmbeddedSQLInCRDSS
CWCB
>
Decision Support Systems
>
DayForward
>
CRDSS_Task1_05-7_UseOFEmbeddedSQLInCRDSS
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
9/25/2011 10:18:52 AM
Creation date
5/30/2008 2:24:12 PM
Metadata
Fields
Template:
Decision Support Systems
Title
CRDSS Task 1.05-7 - Study of System Integration Issues Database - Use of Embedded SQL in CRDSS
Description
This memorandum discusses the related to using ESQL in the CRDSS.
Decision Support - Doc Type
Task Memorandum
Date
5/10/1994
DSS Category
DMI Utilities
DSS
Colorado River
Basin
Colorado Mainstem
Contract/PO #
C153658, C153727, C153752
Grant Type
Non-Reimbursable
Bill Number
SB92-87, HB93-1273, SB94-029, HB95-1155, SB96-153, HB97-008
Prepared By
Riverside Technology inc.
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
5
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
What performance issues must be addressed (are there different ways of using ESQL, some <br />? <br />of which are more efficient than others)? <br />The issue of performance is always one to be sensitive to, especially when the system, programs, and <br />database are large. Coding practices are one of the areas that can significantly affect the <br />performance of a system as well as database design, including physical and logical and the overall <br />processing speed of the machine(s) used. ESQL/C programs are created by writing C statements, <br />including special header files, and including SQL statements into the program (see the attached <br />example ESQL/C program). After the program is written the ESQL preprocessor is run on that <br />program. ESQL takes the code, reads all the embedded SQL statements, and turns them into C code. <br />There are many ways to access a database through ESQL. Depending on the type of access some <br />approaches are more efficient than others. When accessing a database through ESQL for viewing <br />data, the program could execute the same select code over and over in a loop to retrieve each record. <br />The program could also open a cursor into the database, process the select code once, and let the <br />database engine handle the rest. The latter method in this case would prove most efficient. In <br />addition to the efficient use of coding constructs, the SQL statements themselves must be closely <br />examined for the best performance. Constructing SQL statements for efficient operation requires <br />that the programmers have knowledge of the underlying database design, making sure that indexed <br />data are used whenever possible and that indices are on the appropriate data elements. This latter <br />process is usually accomplished through testing and use. However, with the use of INFORMIX <br />performance monitoring utilities this is not difficult to accomplish. <br />3.0 CONCLUSIONS AND RECOMMENDATIONS <br />RTi currently has all of the components required to develop, test, execute, and tune ESQL/C <br />programs on the CRDSS database servers as well as ESQL runtime environment product for the <br />CRDSS workstations. The required documentation and resources are also in place to support the <br />above-mentioned activity. As with any new system, resource limitations, such as insufficient <br />memory, will only present themselves as the system evolves and is tested. The resources initially <br />available appear to be adequate for the development effort. Security should not be a significant <br />concern during the early phases of the CRDSS. If a decision is made for the CRDSS to be publicly <br />accessible, then security issues will need to be revisited. <br />3 <br />A275 05.10.94 1.05-7 Malers, Rohlfs <br />
The URL can be used to link to this page
Your browser does not support the video tag.