Page MenuHomeSoftware Heritage

DB schema: merge directory_list_* tables into directory
Closed, MigratedEdits Locked

Description

It is kinda pointless to have 3 tables (directory_list_{file,dir,rev}) that only add one field each to the directory table. As we are using arrays anyhow, they could as well be fields in the directory table itself.

Work in progress to fix this is in the branch zack/dir-lists-in-directory of swh-storage. It includes schema changes and SQL upgrade script, but not yet the porting of existing stored procedures. This work should be merged with care, as it impacts the git loader.

Also: size impact hasn't yet been quantitatively evaluated yet.

Event Timeline

zack claimed this task.
zack raised the priority of this task from to High.
zack updated the task description. (Show Details)
zack added a project: Developers.
zack added a subscriber: olasd.
olasd changed the visibility from "All Users" to "Public (No Login Required)".May 13 2016, 5:05 PM