I have built an app that connects R to Hadoop via ODBC driver and downloads 300K rows.
Currently, it takes 3-4 minutes to kickstart the app.
My need is to handle 6 million rows and reduce the start time significantly.
shinyServer(function(input, output) {
# Filter data based on selections
# Connect to Chandler and load XXXXX
options (encoding = "UTF-8")
dbConn <- odbcConnect(dsn = "XXXXX",uid="XXXX")
test <- sqlQuery(dbConn,"select * from XXXX where
DateID > DATE_SUB(current_date(), 17)
and DateID < DATE_SUB(current_date(), 1)")
Thanks in Advance.