feat: sample recent business events
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- 为固定事件类别的短窗口运行观测提供有界索引。
|
||||
-- 事件仍是不可变业务证据;索引不改变事件语义,也不引入外键或级联。
|
||||
ALTER TABLE orbit_events
|
||||
ADD KEY ix_event_observe_type_occurred (type, occurred_at, id);
|
||||
Reference in New Issue
Block a user