Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance tests jsonb #8

Open
hvanreenen opened this issue Oct 21, 2016 · 0 comments
Open

performance tests jsonb #8

hvanreenen opened this issue Oct 21, 2016 · 0 comments

Comments

@hvanreenen
Copy link
Contributor

Uitzoeken hoe de performance is van jsonb velden in vergelijking met gewone velden.

Maak bijvoorbeeld gewone tabel met id, waarde1, waarde2, waarde3
Maak andere json tabel met alleen id, jsonveld, of alleen json veld
Stop in beide de zelfde 1 milj rijen met random text, in jsonveld stop je ook de 3 waardes
kijk naar verschillen in inserts, zoeken, opvragen ed.

alternatief: stop de miljoen rijen in 1 rij als een json-array. Hoe is dan de performance?
Hoe is het met 10.000 rijen?
Hoe is het als je joint met een andere tabel?

Achtergrond van deze vraag: gaan we valuesets (refs) als jsonb opslaan of niet.

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

No branches or pull requests

3 participants