Title: Reduce size of refs table · Issue #44 · Unity-Technologies/UnityDataTools · GitHub
Open Graph Title: Reduce size of refs table · Issue #44 · Unity-Technologies/UnityDataTools
X Title: Reduce size of refs table · Issue #44 · Unity-Technologies/UnityDataTools
Description: When analyzing a large build found the size of the refs table and its indexes dwarfed the rest of the database: Looking at the table its clear that there is a huge amount repeated string content in this table. The most important data is ...
Open Graph Description: When analyzing a large build found the size of the refs table and its indexes dwarfed the rest of the database: Looking at the table its clear that there is a huge amount repeated string content in...
X Description: When analyzing a large build found the size of the refs table and its indexes dwarfed the rest of the database: Looking at the table its clear that there is a huge amount repeated string content in...
Opengraph URL: https://github.com/Unity-Technologies/UnityDataTools/issues/44
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reduce size of refs table","articleBody":"When analyzing a large build found the size of the refs table and its indexes dwarfed the rest of the database:\n\n\u003cimg width=\"642\" height=\"861\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/349cfea1-fb0f-4cf0-b744-c998e18c2574\" /\u003e\n\nLooking at the table its clear that there is a huge amount repeated string content in this table.\nThe most important data is object, referenced_object columns. But tracking the property_path and property_type as strings is contributing a lot to the table and index sizes.\n\n\u003cimg width=\"682\" height=\"591\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/635d9c8e-8e69-40d6-ba5c-49cea8b46f09\" /\u003e\n\nDeduplicating those strings into side tables would complicate any queries a little bit if they are accessing those strings (e.g. to add another JOIN). But this can potentially make a huge different in database size, and creating a smaller database could probably improve analyze times.","author":{"url":"https://github.com/SkowronskiAndrew","@type":"Person","name":"SkowronskiAndrew"},"datePublished":"2025-12-19T14:53:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/44/UnityDataTools/issues/44"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f1e7c435-f70e-f127-7652-5114c8239932 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC04:33B318:99E1E5F:D027AAB:6A5E8C9A |
| html-safe-nonce | 888e30b09cca2a4cafdefbb250414000e5d6b465efa66e335a980c8665e72554 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzA0OjMzQjMxODo5OUUxRTVGOkQwMjdBQUI6NkE1RThDOUEiLCJ2aXNpdG9yX2lkIjoiMjYzMjE3OTkxMzI1MzA5NjYwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45bf49cfad4ac358149732e2a29c85293cb0d2b03c2e2c79b131d91740e990cd |
| hovercard-subject-tag | issue:3747791750 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Unity-Technologies/UnityDataTools/44/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d40c1cfbf2584ca26eab3dbb78b1f6fba4a7c39b2d4e43502bbd0781493704e1/Unity-Technologies/UnityDataTools/issues/44 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d40c1cfbf2584ca26eab3dbb78b1f6fba4a7c39b2d4e43502bbd0781493704e1/Unity-Technologies/UnityDataTools/issues/44 |
| og:image:alt | When analyzing a large build found the size of the refs table and its indexes dwarfed the rest of the database: Looking at the table its clear that there is a huge amount repeated string content in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SkowronskiAndrew |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6846168613b61074bf9dc18814ffe7596f4950f1f3b3070cfea5af602ccb3327 |
| turbo-cache-control | no-preview |
| go-import | github.com/Unity-Technologies/UnityDataTools git https://github.com/Unity-Technologies/UnityDataTools.git |
| octolytics-dimension-user_id | 426196 |
| octolytics-dimension-user_login | Unity-Technologies |
| octolytics-dimension-repository_id | 472365703 |
| octolytics-dimension-repository_nwo | Unity-Technologies/UnityDataTools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 472365703 |
| octolytics-dimension-repository_network_root_nwo | Unity-Technologies/UnityDataTools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5d2e2a84380a21e7a59801a38bee3d8a5f0e822d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width