add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
4 rows affected
row_to_json
{"hostname":"example.com",
 "visits":25,
 "referrers":[{"google": 12}, {"facebook": 1}, {"example2.com": 5}],
 "paths":[{"/about": 6}, {"/article/title2": 5}, {"/article/title1": 3}, {"/": 11}],
 "widths":[{"1680": 3}, {"1398": 1}, {"2560": 1}, {"360": 7}, {"1280": 7}, {"1440": 2}, {"1920": 2}, {"1283": 1}]}
hostname key rvalue key rvalue
example.com example2.com 4 /about 1
example.com example2.com 4 / 5
example.com google 6 /about 3
example.com google 6 /article/title1 1
example.com google 6 /article/title2 2
example.com google 6 / 1
example.com google 6 /about 1
example.com google 6 /article/title1 1
example.com google 6 /article/title2 3
example.com google 6 / 1
example.com facebook 1 /about 1
example.com facebook 1 /article/title1 1
example.com facebook 1 / 4
example.com example2.com 1 /about 1
example.com example2.com 1 /article/title1 1
example.com example2.com 1 / 4