Hi All,
I have issue while retrieving data from a view , I have a interface where it has one pie chart and one bar chart and one paging grid where for all these three data is coming from same view but for bar and pie chart data will be fetched again, and data also huge but not more than 5k rows but in view also it's taking 3sec . I am not sure this error is because of huge data or what bcz I could see no error in logs . Could someone help me here please? It's MySQL
Thanks,
Bhargavi
Discussion posts and replies are publicly visible
Hi bhargavip0001 Yes, generally you may get this error(An error occurred while retrieving the data) when a query entity takes more time than expected while fetching the data from the Database.
As per my understanding, please find my suggestions mentioned below:
Now I have couple of questions to understand the actual issue:
Possible Resolution for this issue:
Views are not stored physically on the disk and hence this can be defined as a virtual table created as a result of the query expression. However, Materialized View is a physical copy of the base table.
In other words:
Materialized Views are disk based and are updated periodically based upon the query definition, whereas Views are virtual only and run the query definition each time they are accessed.
Hope this will give you some idea in resolving this issue and building a better solution.
This problem has been addressed in my other post.
community.appian.com/.../71096