Hello everybody,
we are using:
- PB2019 (2082)
- SQL Anywhere 17
- using PFC
- typical Client-Server application
If we have a window, which has a business object with some datastores, the opening of the window is very slow, when all the datatstores will be retrieved during the opening process.
The problem of the slowing down is not a big amount of data or a complex SELECT, the problem is the "Ping-Pong-Conversation" for each single retrieve between the client and the database server.
For example:
- ds_1.retrieve:
ds_1.retrieve: wait for result from server - ds_2.retrieve:
ds_2.retrieve: wait for result from server - ...
- ds_n.retrieve:
ds_n.retrieve: wait for result from server
If the ping-time are very bad (eg. using WLAN or using mobile cellphone connection), the total time for opening a window increases many times over.
We think, this is a general Problem, when using PowerBuilder and a typical client-server architecture.
- Is there a easy solution? Maybe a configuration option, to combine serveral Retrieves within one Ping-Pong-Connection?
- Or is it possible to start a kind of transaction, prepare the Datastore-Retrieves and send them together to the server?
Thanks in advance for your ideas.
Best regards
Heiko