I have a view that is referencing two tables by a simple left join and 18 columns that takes about 2 seconds to build the table.
I have another view that is referencing two tables, has an expensive subquery, and has 18 columns yet takes 1.5 seconds to build the table.
I have another view that is referencing one table but has 31 columns with formulas that takes less than a second to load.
All queries load in less than 50ms. Do you know what may be causing the first table in dadabik to load so slowly? At first I thought that it might just be the time required to build the webpage, but it didn't make sense that a table that has even more columns (31) loads faster than one that has 18 columns.
EDIT: One thing I forgot to mention is that the first view has the least amount of rows being returned, but they each have a minimum of 20 rows being returned and the # of items being shown per page is 20.
I have another view that is referencing two tables, has an expensive subquery, and has 18 columns yet takes 1.5 seconds to build the table.
I have another view that is referencing one table but has 31 columns with formulas that takes less than a second to load.
All queries load in less than 50ms. Do you know what may be causing the first table in dadabik to load so slowly? At first I thought that it might just be the time required to build the webpage, but it didn't make sense that a table that has even more columns (31) loads faster than one that has 18 columns.
EDIT: One thing I forgot to mention is that the first view has the least amount of rows being returned, but they each have a minimum of 20 rows being returned and the # of items being shown per page is 20.