I know everyone likes to use the latest thing but I've got SQLite running for Spartan (my trading/backtest platform) where it is currently:
1. Managing and adding to 7 million rows of quotes at the rate of about 1 million/day
2. Allowing complex instantaneous queries from the same DB for backtesting
3. Updating bar data
All 3 of these are occuring at the same instant and SQLite barely hiccups.
Don't knock it till you try it.
The database is around 1G right now.
1. Managing and adding to 7 million rows of quotes at the rate of about 1 million/day
2. Allowing complex instantaneous queries from the same DB for backtesting
3. Updating bar data
All 3 of these are occuring at the same instant and SQLite barely hiccups.
Don't knock it till you try it.
Code:
sqlite> select date(datetime),count(*) from quote group by date(datetime);
2019-02-28|139487
2019-03-01|3335677
2019-03-03|416006
2019-03-04|3225579
The database is around 1G right now.