Skip to content

Move projects workbench column to projects_nodes table #5646

@sanderegg

Description

@sanderegg

Current projects table contain a workbench column of JSON type.
This was an easy way out 7 years ago but is now a bottleneck in many ways such as:

  • no relations options between the node_id or other useful parts of the workbench and anywhere else in the DB,
  • very poor performance when one needs to go through the DB information (1 row of projects contains all the nodes, so changing one node implies always locking the whole project) for patching, deleting nodes,

Nevertheless changing this fact is not a "piece of cake", as the projects table is sadly used by many different parts of oSparc and from many different processes, among others: webserver, director-v2, storage, others??? and multiple test fixtures and probably also other tests

Sub-issues

Metadata

Metadata

Labels

a:storageissue related to storage servicea:webserverwebserver's codebase. Assigning the area is particularly useful for bugs

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions