Audit use of BigInt vs Int columns in the DB

Abierto
#613 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
databases

Línea de trabajo

Start by locating the database schema and migrations that define integer columns, then identify which columns use BigInt and how their values are generated. Check the database backend and any existing schema tests before deciding whether smaller integer types are safe. Done means documenting the columns that can be narrowed and validating the change against the schema and tests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

data savings database tech debt

BigInt takes twice as much storage space for int. Multiplied across many rows, this could add up very fast.

Evaluating whether or not we actually need integers this big could be helpful in saving some space.

Lenguaje dominante
Python
Estrellas
18
Forks
33
Merge medio
2 d 16 h
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de chaoss/CollectOSS

Todos los issues de chaoss/CollectOSS

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.