Home / Companies / Cube / Blog / Post Details
Content Deep Dive

Loading Terabytes of Data from Postgres into BigQuery

Blog post from Cube

Post Details
Company
Date Published
Author
Pavel Tiunov
Word Count
601
Company Posts That Month
2
Language
English
Hacker News Points
-
Post removed?
No
Summary

BigQuery and Postgres have great tools for loading Big Data efficiently when data is immutable, distributed across tables with timestamp columns. To prepare for this, indexes must be created in the Postgres database before loading processes into BigQuery. The use of wild card tables pattern allows for efficient storage on both sides. A script can be used to automate the uploading process by using the BigQuery CLI and a bash script that compresses data before uploading it. This enables real-time data loading with just a single day's data, making it suitable for large-scale projects. The script can be scheduled to run daily or hourly, allowing for nearly real-time data updates.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Data Pipeline 1 32 14 11 -14%
Real-time 1 213 87 42 +20%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.