> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# decode_records_parallel

> decode_records_parallel — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[avro](https://docs.kinetica.com/content/api/rust/avro/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/avro.rs#L432-L443)&#x20;

<pre>`pub fn decode_records_parallel<T: DeserializeOwned + Send, B: AsRef<[u8]> + Sync>(    schema: &Schema,    binary_records: &[B],) -> Result<Vec<T>, KineticaError>`</pre>

Decodes binary Avro records in parallel using serde\_avro\_fast + rayon.Use this when you have a large number of records (500+) and want maximum throughput. For automatic threshold handling, use `decode_records`.

## Performance

Achieves up to 5.3M records/second on modern hardware.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.