Hey Guys! Image may be NSFW.
Clik here to view.
I am using Xojo to construct a web application, and while doing so, I have run across several database query performance concerns. My application retrieves a substantial amount of data by connecting to a PostgreSQL database. Lately, I have seen that the queries are taking longer to complete, which is having an impact on the application’s overall performance.
Here are a few details about my setup:
- Xojo version: 2023r1.1
- Database: PostgreSQL 13
- Database connection: Using Xojo’s built-in PostgreSQLDatabase class
- Server specs: 4 CPUs, 16GB RAM
I have experimented with adding indexes and examining the database tables in an attempt to improve the searches, but the results have only been somewhat better. Any advice or best practices that are specific to Xojo would be very appreciated.
I also check this: https://forum.xojo.com/t/xojo-web-app-postgres-database-connection-question But I have not found any solution. Could anyone guide me the best solution for this? And has anyone else experienced anything similar? Which techniques or resources have you found useful for maximizing database interactions in Xojo web applications? I would be grateful for any guidance on query optimization, connection handling, or overall performance enhancements.
Thanks in advance! Image may be NSFW.
Clik here to view.
Respected community member Image may be NSFW.
Clik here to view.
4 posts - 4 participants