Skip to content

More efficient database management #6

@giocomai

Description

@giocomai

Cache less

  • cache only requested properties
  • enable pruning of properties: remove from the cache properties that are known to be unnecessary in a given project

Make cache more efficient

  • Use separate tables for properties (all P[:digit:]+), with content that is language agnostic, and other fields, such as label, description, alias, wikipedia link, etc., that are language specific
  • drop letter "P" from the property column, and turn the column into numeric type
  • drop letter "Q" from id column, and turn into numeric type
  • make sure new tables are created already indexed
  • prepare function for updating the database when deprecating old tables

Easier support for multi-lingual contexts

  • keep language-agnostic part of the properties in a separate property (see above)

Alternative backends

  • check and compare SQLite and DuckDB speed in this context

Cache more quickly

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions