Slow SQL query performance after integrating external data source with ThingWorx mashups

alexsolver
Tue, 10 Jun 2025 11:55:47 +0000

Returning thousands of rows to a mashup is killing performance. Implement server-side pagination using SQL OFFSET/FETCH. Modify your service to accept page number and page size parameters, then use OFFSET (page * pageSize) ROWS FETCH NEXT pageSize ROWS ONLY. Return only 50-100 rows per request. Let users page through results rather than loading everything at once.