↧
Postgresql speedup of length measurements: use octet_length
I was looking at some very rough metrics of JSON blobs stored in Postgres, mainly doing some stats on the total size of the blob. What I really cared about was the amount of data coming back from an...
View ArticleAvoid sequential scan in PostgreSQL link table with highly variant density
I had a particularly knotty problem today. I have two tables: data_file (id, filename, source, stuff) extracted_item (id, item_name, stuff) A data file comes in and we store mention of it in data_file....
View Article