on 2021 Jun 11 8:24 AM
Hi,
Still searching for a problem of our largest customer. Users complain that the application (PowerBuilder) is teriible slow. Mostly it works fine after a restart of the databaseserver.
We did a lot already. Also running Foxhounds for months. That gives not a clue for the moment.
One very weird thing was that sometimes even a 'select * from dummy' takes seconds. (also visible in Foxhound, because the liveness is timing out)
Question: We use a lot of these constructions in PowerBuilder: SELECT fn_xxxx(:ls_parm1) INTO :li_local_pb_var FROM SYS.DUMMY ; (that is because PowerBuilder needss a FROM clause, this method is advised in the manual)
fn_xxx is a database function in SQL Anywhere. That can be a functions that does a lot and can take several seconds, even minutes, to execute.
When dozens of users call that kind of functions, could it be that this construction leads to a performance penalty? Because they all need the same row of table dummy? If so, we should change that into another construction.
Any ideas on that?
Tia Hans
Request clarification before answering.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.