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

Break up records into different tables for each type #6

Closed
simonw opened this issue Jul 22, 2019 · 1 comment
Closed

Break up records into different tables for each type #6

simonw opened this issue Jul 22, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Collaborator

simonw commented Jul 22, 2019

I don't think there's much benefit to having all of the different record types stored in the same enormous table. Here's what I get when I use _facet=type:

hello2__records__2_672_233_rows

I'm going to try splitting these up into separate tables - so HKQuantityTypeIdentifierBodyMassIndex becomes a table called rBodyMassIndex - and see if that's nicer to work with.

@simonw simonw added the enhancement New feature or request label Jul 22, 2019
@simonw simonw closed this as completed in f518d8c Jul 22, 2019
@simonw
Copy link
Collaborator Author

simonw commented Jul 22, 2019

Here's what it looks like now as separate tables:

hello9_and_Populate__endpoint__key_in_ASGI_scope_·_Issue__537_·_simonw_datasette

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant