we are trying to improve the performance of our application, we have a couples of Embedded SQLs and Datawindow retrieves called one after another.
so to improve the performance, we moved all the SQL DB calls in a PowerServerLabel Merge statement which reduces Multiple server calls to a single call. However we observed that these calls on not executed parallelly on DB server (noted via SQL Trace)and there is not much improvement seen at performance.
is there any setting we need to do on Powerserver project? so that these call are executed parallelly on DB
if not any plans to implement the same?
The return of the entire set of commands is broken down in the return so you know where the error occurred but does not require that all sql command are run synchronously.
if you are doing a set of updates and there is referential integrity, then yes, you *may* need to run synchronously. however, if it is a set of just selects then running synchronously does not really need to happen.
so it could be a great enhancement for selects - would require that all the sql be looked at by PS webapi to see whether it is all selects. maybe have an option for updates (non key updates would *probably* be fine), but that would be a whole other thing.
I can certainly envisage scenarios where Asynchronous would be OK. I would suggest though that either you or KiranKumar open an enhancement support ticket for this feature so that we can a) get Engineering's clear feedback on the current mechanism and b) their feedback on the enhancement "viability" and "impact" itself. Just my $0,02. HTH
Regards .. Chris
we will create an enhancement ticket with Appeon.