{"slug":"compressing-market-data-zstd-vs-gzip","qid":"tape_volume","label":"tape_volume","post_title":"compressing-market-data-zstd-vs-gzip","post_url":"/blog/compressing-market-data-zstd-vs-gzip#q-tape_volume","columns":["ticker","trades_label","megabytes_at_64b_row"],"rows":[{"ticker":"NVDA","trades_label":"2.00 million","megabytes_at_64b_row":121.9},{"ticker":"AAPL","trades_label":"688.37 thousand","megabytes_at_64b_row":42},{"ticker":"SPY","trades_label":"495.56 thousand","megabytes_at_64b_row":30.2},{"ticker":"MSFT","trades_label":"399.64 thousand","megabytes_at_64b_row":24.4},{"ticker":"KO","trades_label":"236.18 thousand","megabytes_at_64b_row":14.4}],"shape":"ranking","sql":"SELECT\n    ticker,\n    formatReadableQuantity(count())    AS trades_label,\n    round(count() * 64 / 1048576, 1)   AS megabytes_at_64b_row\nFROM global_markets.stocks_trades\nWHERE ticker IN ('AAPL', 'MSFT', 'NVDA', 'SPY', 'KO')\n  AND sip_timestamp >= toDateTime64('2026-09-15 04:00:00', 9, 'UTC')\n  AND sip_timestamp <  toDateTime64('2026-09-16 04:00:00', 9, 'UTC')\nGROUP BY ticker\nORDER BY megabytes_at_64b_row DESC","computed_at":"2026-09-28T15:16:07.069788+00:00","elapsed":0.001998016}