3 ms·
I’ve had a lot of success having a Postgres table with a json blob and then a bunch of columns of interest, populated by a trigger.
by fiddlerwoaroof 5y ago
I’ve had a lot of success having a Postgres table with a json blob and then a bunch of columns of interest, populated by a trigger.
- tomnipotent 5y agoThis works surprisingly well. I end up just doing both - having one table store the blob, and another with the copied values (shopify_sales, shopify_sales_jsonb). Databases are generally pretty good at handling large BLOBS/off-page heap values, but I prefer not to tempt the fates of buffer pool management.