Hello guys, Ignition 8.1.45 Perspective
I want to know the differences in fact of performance and behavior in a Perspective table when using properties "Virtualized" and "Pager".
I need to display tables with a large dataset retrieved from a SQL Select query, but optimizing and not load all data in the same time.
I understood Virtualized works as "load more rows when scroll", but if I ask the query to retrieve all rows from Database, the workload on the it will be high, correct?
Using the pager also will only limit the number of rows displayed on the screen but the load on the database will be high too.
I thought to implement a logic to make Select query with "OFFSET" based on current pager page, but I can't see a way to create the number of total pages (seems that it is automatically generated based on the total rows of the table data property) and need to re-execute the query with new OFFSET value changing the page.
Also, virtualized and pager can work together or one exclude the other if we display only for example 10rows/page and all are displayed without scroll?
I don't know if this is the best approach, what do you do in these situations?