Data warehouses
Data warehouses in the Carbium Library: 8 working Solana examples, among them Snowflake 30-day program load and Iceberg program log table.
- Snowflake 30-day program load I0127
Pull one program's transactions from the last 30 days into newline JSON that Snowflake's COPY INTO can load, read through your Carbium RPC.
- Iceberg program log table I0125
Read the logs of several Solana programs over a span of slots from Carbium RPC and write rows an Iceberg table loads with one MERGE.
- Airflow block-by-block ingest I0124
An Airflow task that reads a range of consecutive finalized Solana blocks from Carbium RPC, writes them as NDJSON and reports its last slot for the next run.
- Athena SQL over Parquet blocks I0123
Read the newest Solana blocks from Carbium RPC into JSON Lines, load them to S3 and let one Athena CTAS statement turn them into a Parquet table for SQL.
- Snowflake balance snapshots I0025
Read SOL balances for a wallet list from Carbium on a schedule, write one CSV per snapshot, and load it into a Snowflake table with PUT and COPY INTO.
- DuckDB flat transfer table I0024
Decode the newest transactions of a Solana program from Carbium RPC into one flat row per owner and mint, written as JSON Lines for DuckDB to load.
- ClickHouse throughput loader I0013
A Node job that reads Solana's slot, block height and transaction count from Carbium RPC and inserts one row per run into ClickHouse over HTTP.
- BigQuery chain dataset I0012
Pull one address's transactions from Carbium RPC, flatten them to newline-delimited JSON with a schema file, and load the file into a BigQuery table.