-
Notifications
You must be signed in to change notification settings - Fork 12
Partition time of rolling tables
Shamis Shukoor edited this page Jan 22, 2019
·
1 revision
- partition time in the dderl tables are saved in seconds. So 86400 corresponds to a day
- On line 65 in dderl.erl change the number at the end of the table name to the partion time that you want to set. For example setting the partition time from day to a minute you have replace
-define(cproLogTable,"dderlLog_86400@_").
with
-define(cproLogTable,"dderlLog_60@_").
- Compile and load the code hot update the code into the node.
- In dderl on table ddAlias change the row with qname as
{sbsgui,dderlLog_86400@}
to
{sbsgui,dderlLog_60@}
for partitioning the table every minute. 5. Also make the similar change in table ddConfig for the record with hkl value [{dderl,dderl,dderlLogTable}]. Edit the column val.