4paradigm / 4paradigm/OpenMLDB

docs about ttl and auto index

Offen
#2,600 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @zhanghaohit Auf GitHub ansehen
documentation
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

**Describe the feature you'd like**

Currently there is no place discussing about how the index ttl will be updated / set in our system. We may need a blog/page discussing how it works. It may include:
- how user define an index with ttl (it is currently covered in the `Create Index` and `Create Table`)?
- how the existing ttl (user defined) may be changed by the system? Upon a deployment, there may be an update on the ttl if the window is larger than existing ttl.
- there is also some restrictions. We may discuss it is reasonable to have such restrictions.
- If ttl is defined as `absolute`, `ROWS` window is not allowed.
- if ttl is defined as `latest`, `ROWS_RANGE` window is not allowed
- how we auto create indexes and set the ttl when `deploy`

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look at the 'Create Index' and 'Create Table' documentation to understand current TTL coverage. Examine the code for index creation and deployment logic to see how TTL is set and updated. Review any existing restrictions on TTL types and window definitions. The goal is to produce a new document or blog post explaining TTL behavior and auto-indexing.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
sql
Bereich
databases, documentation
Issue-Typ
Dokumentation
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.