> ## 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_sequential

> decode_records_sequential — 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#L453-L462)&#x20;

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

Decodes binary Avro records sequentially using serde\_avro\_fast.Use this for small result sets (\<500 records) where parallel overhead would outweigh benefits. For automatic threshold handling, use `decode_records`.

## Performance

Achieves 2-4M records/second, 3-5x faster than apache\_avro.


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