Skip to content
This repository was archived by the owner on Mar 3, 2024. It is now read-only.

Conversation

maksim77
Copy link

@maksim77 maksim77 commented Jul 7, 2023

Thanks for the great plugin!
It seems to me that it doesn't make sense to use JSON type to store metainformation data. JSONB essentially has only one disadvantage over JSON, which is write speed. But with as much data as in Obsidian storage it shouldn't make any difference. But the speed and capabilities of the binary format is significantly better.
You can read some details for example here.

For users who already have databases created, you can probably add a line to the migrate function. But here I'm not sure, because this ALTER will be done for each insertion into the database

ALTER TABLE obsidian.file ALTER COLUMN dataview_data TYPE JSONB;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant