Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Discussion thread
Vote threadTBD
ISSUEhttps://github.com/apache/incubator-paimon/issues/1224
ReleaseTBD

Motivation

Currently, paimon has very high support for stream write and stream read, but not enough for traditional batch processing. After the table is created, you need to display the specified bucket key and bucket number; otherwise, the AppendOnly table or changelog table for a single bucket is created. When there is only one bucket, concurrent read/write and compact cannot be performed, resulting in poor batch performance.

...

  • Still put compaction in writers, but only one writer could trigger compaction at a time. (rejected: it will slow down the inserting. compaction writer will run in a poor performance.)
  • Start another compaction process to trigger compaction. (rejected: it's a waste of resource.)
  • Create a new table mode(batch) to realize all this. (rejected: it will make situations complex.)