×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




On 6/20/05, Nathan Andelin <nandelin@xxxxxxxxx> wrote:
> 
> Under the SQL CLI interface, you can do file
> overrides, just before generating a result set, but
> I'm not sure how it might improve performance.


I was thinking about using SEQONLY(*YES XXXX) on the override to improve 
block sizing of the file accessed by the SELECT statement. When reading all 
or a great number of records, this works well for RPG, not sure about SQL. 

I've noticed quite a bit of "initialization" overhead
> associated with SQL CLI, but runtime performance is
> comparable to what I get while using SQL
> interactively, via the STRSQL command, which has been
> "good enough" for me. Are you comparing
> initialization, or runtime performance?


I am comparing total runtime, so all initialization tasks are included. In 
the test I did, I ran the program a few times before recording the time. I 
wanted to how the app would run in production. 

I've never run into a case where traditional I/O
> couldn't beat an SQL statement.


I have always heard that SQL was faster also. It must be the initialization 
phase that is slowing it down. Thanks for the info. 




This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.