# write_bitz

> Documentation index: http://docs.tenzir.com/llms.txt

Writes events in *BITZ* format.

```tql
write_bitz
```

## Description

BITZ is short for **Bi**nary **T**en**z**ir and is our internal wire format.

Use BITZ when you need high-throughput structured data exchange with minimal overhead. BITZ is a thin wrapper around Arrow’s record batches. That is, BITZ lays out data in a (compressed) columnar fashion that makes it conducive for analytical workloads. Since it’s padded and byte-aligned, it is portable and doesn’t induce any deserialization cost, making it suitable for write-once-read-many use cases.

Internally, BITZ uses Arrow’s IPC format for serialization and deserialization, but prefixes each message with a 64 bit size prefix to support changing schemas between batches—something that Arrow’s IPC format does not support on its own. Use [`write_bitz`](http://docs.tenzir.com/reference/operators/write_bitz.md) when you want to persist events in a compact columnar format and later load them again with [`read_bitz`](http://docs.tenzir.com/reference/operators/read_bitz.md).

## See Also

* [`read_bitz`](http://docs.tenzir.com/reference/operators/read_bitz.md)
* [`write_feather`](http://docs.tenzir.com/reference/operators/write_feather.md)
* [`write_parquet`](http://docs.tenzir.com/reference/operators/write_parquet.md)
* [Parse binary data](http://docs.tenzir.com/guides/parsing/parse-binary-data.md)