Query |
Response | ||||||||||
When I try to fetch data it works very slowly.My computer has 64 gb RAM and SSDs but fetching 400 rows of data takes 45 seconds..Can somebody point me how to figure out it? |
Reason for Slow Performance:
Please find a sample query that will be generated by the dashboard to fetch data by hive server and bind the data in the selected widgets in the dashboard as follows, It is a sample query by adding the “contactname” column from the table “ Customer2” into the selected widget.
Metrics:
Recommended Solution:
As Hive Server2(Map Reduce) is well suited for batch processing with large data set, We recommend you to use Spark SQL data source for near real time analytics such as dashboard visualization. Because Spark SQL process data in-memory to avoid multiple disk I/O operations.
|
Nandhini, thanks for your answer!
One more thing I would like to ask:
When I try to create Spark SQL data source I don't see my tables.
I created tables in several ways:
Thanks!