Support parameter SQLITE_CONFIG_MEMSTATUS in runtime

Abierto
#954 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
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
java, sqlite
Área
database

Línea de trabajo

Start by reading the SQLite JDBC runtime configuration entry points and how the driver calls sqlite3_config; the issue does not name specific files or tests. Check how initialization handles SQLITE_CONFIG_MEMSTATUS and what API could expose the runtime setting. Done means callers can disable it at runtime and a test verifies the setting reaches SQLite.

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

Descripción

enhancement:SQLite impacts:JNI

Is your feature request related to a problem? Please describe.
When enabling the parameter SQLITE_CONFIG_MEMSTATUS at compile time, the performance (read/write) is more than 2x slower

Describe the solution you'd like
I would like to have a way to disable this parameter at runtime as the native code already support it by sqlite3_config(SQLITE_CONFIG_MEMSTATUS,0)

Describe alternatives you've considered
Have different versions, two different jars. one compiled with this option enabled and one while it disabled

Additional context
Add any other context or screenshots about the feature request here.

Lenguaje dominante
Java
Estrellas
3.3k
Forks
676
Merge medio
1 d 15 h
PR fusionados (30 d)
18

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 xerial/sqlite-jdbc

Todos los issues de xerial/sqlite-jdbc

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.