Thanks Ed, Appreciated your clarification!
-S From: dev1 <d...@etcoleman.com> Sent: Thursday, April 14, 2022 9:36 AM To: 'user@accumulo.apache.org' <user@accumulo.apache.org> Subject: [External] RE: minor compaction same as flush Flush and compactions are different actions. Flush - sorts and writes current, in-memory changes to a file. This can reduce the amount of recovery in case of a failure because the flushed entries do not need to be processed from the WAL. Compactions combine multiple files into a single file. Major compactions combine all files into a single file. Minor compactions select a subset of files can combines them into a file. See: https://accumulo.apache.org/1.10/accumulo_user_manual.html#_compaction<https://urldefense.com/v3/__https:/accumulo.apache.org/1.10/accumulo_user_manual.html*_compaction__;Iw!!May37g!JtX1JIc70ShpH3ztLGbjVuBPxlur4g_WBBG-NrAM5Ax5VOPy_41RN4hS2YuaHh9kaQaG5pPpAbdz8m2C$> Flushing will increase the number of files generated, this will potentially increase the number of compactions. There are tradeoffs. If you are asking will frequent flushes reduce the time required to perform a major compaction? Probably not much, if at all. Ed Coleman From: Ligade, Shailesh [USA] <ligade_shail...@bah.com<mailto:ligade_shail...@bah.com>> Sent: Thursday, April 14, 2022 9:14 AM To: user@accumulo.apache.org<mailto:user@accumulo.apache.org> Subject: minor compaction same as flush Hello just wanted to some clarification, Is the flush same as minor compaction? Is flush better (performance wise) than running say range compaction? Having flush often, will it help major compaction performance or no difference?? Thanks -S