[MCOL-5038] Add timer for Insert Cache flush Created: 2022-03-31  Updated: 2023-12-15

Status: Open
Project: MariaDB ColumnStore
Component/s: cache_insert
Affects Version/s: 6.2.3
Fix Version/s: 23.10

Type: New Feature Priority: Major
Reporter: David Hall (Inactive) Assignee: Leonid Fedorov
Resolution: Unresolved Votes: 1
Labels: None

Issue Links:
Relates
relates to MXS-4554 route the first select after insert o... Closed
relates to MCOL-4914 Complete ColumnStore Cache Part 2 Open

 Description   

1) Add timer to flush every time period. (in seconds)
2) Add option to not flush upon select.
3) Ensure at least one of the above is on, but allow for both.

Suggested names for variables are:
columnstore_cache_flush_type=SELECT
columnstore_cache_flush_type=TIMER
columnstore_cache_flush_type=BOTH <default>
columnstore_cache_flush_time=300

Documentation: When Cache Insert is on, all traffic should go to primary PM only.

If columnstore_cache_flush_type=SELECT, MaxScale can be configured using the CCR filter:

https://mariadb.com/kb/en/mariadb-maxscale-2208-consistent-critical-read-filter/


Generated at Thu Feb 08 02:54:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.