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

# Stream onchain data with Mirror

> Stream onchain data directly to your database with sub-second latency using Goldsky Mirror.

<Tip>
  Building a new pipeline? Consider [Turbo](/turbo-pipelines/introduction) — Goldsky's next-generation pipeline engine. Turbo is a drop-in alternative to Mirror for most EVM use cases (every Mirror EVM chain is supported, same datasets, , and adds Solana / Bitcoin / Stellar / NEAR sources, [TypeScript transforms](/turbo-pipelines/transforms/typescript), [dynamic tables](/turbo-pipelines/transforms/dynamic-tables), [live inspect](/turbo-pipelines/live-inspect), and [job mode](/turbo-pipelines/job-mode). See the [Mirror vs. Turbo comparison](/mirror-vs-turbo) or the [migration guide](/turbo-pipelines/migrate-from-mirror) if you have an existing Mirror pipeline.
</Tip>

Mirror streams **onchain data directly to your database**, with \<1s latency.

Using a database offers unlimited queries and the flexibility to easily combine onchain and offchain data together in one place.

<Steps>
  <Step title="Choose a chain">
    <Card title="Mirror supports over 130+ chains." icon="arrow-right-from-line" href="/mirror/sources/supported-sources">
      You can [source](/mirror/sources/supported-sources) the data you want via
      a subgraph or direct indexing, then use
      [transforms](/mirror/transforms/transforms-overview) to further filter or
      map that data.
    </Card>
  </Step>

  <Step title="Choose a database">
    <Card title="Optimize your DB for what you do." icon="arrow-right-to-line" href="/mirror/sinks/supported-sinks">
      Mirror can minimize your latency if you're [running an
      app](/mirror/sinks/supported-sinks#for-apis-for-apps), or maximize your
      efficiency if you're [calculating analytics](/mirror/sinks/supported-sinks#for-analytics).
    </Card>
  </Step>
</Steps>

Behind the scenes, Mirror automatically creates and runs data pipelines for you off a `.yaml` config file. Pipelines:

1. Are reorg-aware and update your datastores with the latest information
2. Fully manage backfills + edge streaming so you can focus on your product
3. Benefit from quality checks and automated fixes & improvements
4. Work with data across chains, harmonizing timestamps, etc. automatically

Set up your first database by [creating a pipeline](/mirror/create-a-pipeline) in 5 minutes.

Can't find what you're looking for? Reach out to us at [support@goldsky.com](mailto:support@goldsky.com) for help.


## Related topics

- [Stream onchain data with Turbo](/turbo-pipelines/introduction.md)
- [Mirror vs. Turbo pipelines](/mirror-vs-turbo.md)
- [PostgreSQL](/mirror/sinks/postgres.md)
- [Stream DEX trades](/mirror/guides/stream-DEX-trades.md)
- [Decode traces](/mirror/guides/decoding-traces.md)
