4paradigm / 4paradigm/OpenMLDB
docs about ttl and auto index
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
**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`
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- sql
- Área
- databases, documentation
- Tipo de issue
- Documentación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100