Replies: 2 comments 1 reply
-
|
Hey @volker-fr , trying to understand what you mean by "old chunks" - is it from the consequent runs of slackdump archive -legacy? |
Beta Was this translation helpful? Give feedback.
-
|
@rusq if I run If I run The This is with latest Slackdump 4.1.0. # after slackdump archive in a free slack (90 day history)
% ./slackdump-4.1.0 archive -o test-slackdump <CHANNEL_ID>
% sqlite3 test-slackdump/slackdump.sqlite 'select count(*) from CHUNK; select count(*) from MESSAGE;'
40
292
# Single resume
% ./slackdump-4.1.0 resume -lookback 100d test-slackdump
% sqlite3 test-slackdump/slackdump.sqlite 'select count(*) from CHUNK; select count(*) from MESSAGE;'
80
584You can see how messages double The message count & the chunk size grew. At the same time there has been no new message and both runs have been less as 1min apart). This is a single slack channel with only 90 days of history. Therefore it is not clear if we need to keep all the chunks (and duplicate messages) around. The only difference between those duplicates is the CHUNK_ID, message id (incremental number) and LOAD_DTTM. It is for sure faster to just append data, but with large slacks & recurring resumes the amount grows significantly on each run. In my case I run it daily for the last 3 months & weekly for the entire history. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to understand the need of keeping old chunks around. The use case for them seem to be limited and mostly around debugging or auditing (e.g. message got deleted?)
For auditing, having changes here handled by Slackdump itself to log changes would be more beneficial over having chunks of every old run stored indefinitely.
I understand the need to keep the latest successful completed information around. I am not sure if this even needs to be in the chunk format, too.
I am curious to learn more about the idea behind keeping all chunks around or what I am overseeing.
Beta Was this translation helpful? Give feedback.
All reactions