|
One other thing to remember here. On the green screen the first time that
you open the program, the access plan for the query is store in the program
and reused each time. From the ASP .Net every time you run this it has to
go through and redevelop the access plan. If you recompile the green screen
program and call it how long does it take for the results on the first
call? Long time?
On Mon, Mar 11, 2013 at 2:05 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:
The question is the connection. Do you open and close connection to thethen
AS/400 with every call? If you maintain the connection between calls,
you have state because it is running in a single job on the iSeries untilthe
the connection is closed.
The other way to do this in a stored procedure is to use the fetch
multiple rows. That is extremely fast. On the first page you only fetch
first less say 25 records and return them. On the next page you fetch 50connections
records and return only the last 25. Each page you fetch more but because
you are using fetch multiple rows you would probably never even notice it
and they would already be cached.
On Mon, Mar 11, 2013 at 1:59 PM, Mike Wills <mike@xxxxxxxxxxxx> wrote:
We don't maintain state and I am not sure how I could in .NET if
our architecture would allow it.
--
Mike Wills
http://mikewills.me
On Mon, Mar 11, 2013 at 2:57 PM, Nathan Andelin <nandelin@xxxxxxxxx>
wrote:
workedA stored procedure maintains state ...
That works IF the client maintains a persistent connection. I once
with a group Java developers who vowed that they would never usepersistent
connections. Later they caved in and implemented "stateful"
soundsto
QZDASOINIT jobs in order to implement paging and offer betterperformance.
Frankly, I think IBM i handles stateful connections well, so this
--like a good solution.list
-Nathan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.