Roj Codeur
01/19/2023, 4:01 PMAndrey Pechkurov
01/19/2023, 4:16 PMRoj Codeur
01/19/2023, 4:26 PMNicolas Hourcard
01/19/2023, 5:42 PMAndrey Pechkurov
01/19/2023, 5:52 PMcairo.o3.min.lag=60000
config property in <db_root_dir>/conf/server.conf
. I've checked your server logs and seems that you have heavily O3 data. The above setting will help the database to commit less frequently leading to lower write amplificationRoj Codeur
01/19/2023, 6:09 PMAndrey Pechkurov
01/19/2023, 6:20 PMRoj Codeur
01/19/2023, 6:32 PMcairo.o3.min.lag=60000
property. I am afraid the results are still the sameAndrey Pechkurov
01/21/2023, 11:59 AMRoj Codeur
01/21/2023, 12:00 PMAndrey Pechkurov
01/21/2023, 12:25 PMcairo.o3.min.lag=60
is not correctcairo.o3.min.lag=60000
Roj Codeur
01/21/2023, 12:25 PMAndrey Pechkurov
01/21/2023, 12:26 PMRoj Codeur
01/21/2023, 12:26 PMAndrey Pechkurov
01/21/2023, 12:26 PMRoj Codeur
01/21/2023, 12:28 PMAndrey Pechkurov
01/21/2023, 12:33 PMRoj Codeur
01/21/2023, 12:35 PMAndrey Pechkurov
01/21/2023, 12:41 PMRoj Codeur
01/21/2023, 12:42 PMDROP TABLE IF EXISTS ohlcv;
CREATE TABLE ohlcv(
Ticker SYMBOL CAPACITY 10000,
Exchange SYMBOL CAPACITY 50,
DataSource SYMBOL CAPACITY 50,
Date TIMESTAMP,
Open double,
High double,
Low double,
Close double,
AdjustedClose double,
Volume double,
timestamp TIMESTAMP)
TIMESTAMP(date)
PARTITION BY MONTH;
I then proceed to iterate over the dataframe and call sender.row()Andrey Pechkurov
01/21/2023, 12:51 PMRoj Codeur
01/21/2023, 12:51 PMAndrey Pechkurov
01/21/2023, 12:52 PMRoj Codeur
01/21/2023, 12:53 PMAndrey Pechkurov
01/21/2023, 12:57 PMcairo.o3.min.lag=300000
Roj Codeur
01/21/2023, 1:07 PMAndrey Pechkurov
01/21/2023, 1:12 PMRoj Codeur
01/21/2023, 1:14 PMcairo.o3.min.lag=300000
Andrey Pechkurov
01/21/2023, 1:17 PMRoj Codeur
01/21/2023, 1:18 PM