Last update: 2025-05-07T14:53:51.000Z
Content:
---
title: "Optimize · Tinybird Docs"
theme-color: "#171612"
description: "Learn how to optimize your project in Tinybird."
inkeep:version: "forward"
---




# Optimize [¶](https://www.tinybird.co/docs/forward/work-with-data/optimize#optimize)

Copy as MD When your data is in Tinybird, you can create intermediate data sources to preprocess data and make the endpoints faster. This can be done by using materialized views or copy pipes.

- **  Copy pipes**   capture the result of a pipe at a specific point in time and write it to a target data source. They can run on a schedule or run on demand, making them ideal for event-sourced snapshots, data experimentation, and deduplication with snapshots.
- **  Materialized views**   continuously re-evaluate a query as new events are inserted, maintaining an always up-to-date derived dataset. Unlike copy pipes which create point-in-time snapshots, materialized views provide real-time transformations of your data.

Each approach has its own strengths and use cases:

- Use copy pipes when you need scheduled or on-demand snapshots of your data.
- Use materialized views when you need continuous, real-time transformations.

## Next steps [¶](https://www.tinybird.co/docs/forward/work-with-data/optimize#next-steps)

- Learn about[  Copy pipes](/docs/forward/work-with-data/optimize/copy-pipes)  .
- Learn about[  Materialized views](/docs/forward/work-with-data/optimize/materialized-views)  .


