You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> system.time(DBI::dbReadTableArrow(conn, table))
user system elapsed
1.623 0.020 1.757
> system.time(DBI::dbReadTable(conn, table))
user system elapsed
0.706 0.005 0.727
Note: this is from a SAP HANA database, connected via their odbc driver libodbcHDB.so.
The text was updated successfully, but these errors were encountered:
Thanks. This is expected, until the odbc package implements this. The fallback is to use dbSendQuery() and to convert the resulting data frame chunks to Arrow.
You can still use this interface today to take advantage of free performance improvements once this is implemented, if you want to consume the data in Arrow format.
Ah thanks for the speedy response :)
Is there a timeline for this ?
Edit: I need the data in tibble format, so will cast from Arrow to tibble anyway, I would just like the fetches themselves to be faster. This would be the case once odbc implements it right ?
Using
dbReadTableArrow
seems to be much slower than the standarddbReadTable
.Note: this is from a SAP HANA database, connected via their odbc driver
libodbcHDB.so
.The text was updated successfully, but these errors were encountered: