PowerServer performance question
- New
- How-to
- John Raghanti
- PowerServer
- Tuesday, 7 January 2025 09:41 PM UTC
Hi all! I'm running PB 2022 R3 build 3391 and SQL Server database.
My DBParm is: SQLCA.DbParm = "CacheName='" + is_client + "',DelimitIdentifier='Yes',DisableBind=1,LongConnection=1"
We're still working on a production ready PowerServer version. I have our product installed on a local IIS server and we're seeing poor performance across the board, but I have one specific one that is confusing me and maybe someone has some suggestions?
We have a window with 1 command button, 1 textbox and 1 datawindow. The datawindow retrieve is a stored procedure with 1 parameter that is pulled from the textbox - searching for a customer name.
In the PB client server environment, I enter some text and click the button. I see 1 database call in the profiler and the return is immediate. The stored procedure executes in less than 50 ms most of the time.
In the PowerServer environment (both individual Kestrel and IIS), I enter the same text as above and click the button. The delay roughly timed is around 5 or 6 seconds before the datawindow populates. The issue is that I have no idea where the slowdown is to be able to make any adjustments.
What I'm seeing is, I click the button at 16:24:35.000. Nothing happens even on the profiler until 16:24:39.427 and it finishes at 16:24:39:447. It seems like immediately after I see the profiler entry, the PowerServer application finally responds and shows the data.
What's happening between 16:24:35 and 16:24:39? Is there any way for me to get visibility into that? Any way to enhance the performance?
Any pointers would be greatly appreciated! Thanks!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.