Here's what I don't understand: Part of the value of doing an ETL pipeline via streaming replication is you get the full history of data in a table. An SCD type 2 table where each row also has a valid_from and valid_to timestamp column. How would someone do the same thing with this architecture?
Both Iceberg and Delta Lake support 'time travel' so you can query data as it was at a certain date. SELECT count * FROM my_table AS OF "2025-01-01" https://delta.io/blog/2023-02-01-delta-lake-time-travel/ https://iceberg.apache.org/docs/latest/spark-queries/#spark-...
Postgres data stored in Parquet on S3: LTAP architecture explained
11–20 of 66 posts
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#12Earlier quoted context omitted.
There are self hosted object stores which use the same protocol as S3. One example: https://github.com/minio/minio Parquet files are smaller than row based storage in a database (but not those databases with focus on strong compression). And for backup - the files are probably easier to just copy to multiple disks for redundancy, as opposed to database dumps and incremental backups which at the Petabyte scale will be…
your reply makes zero sense. there is a reason why people develop for S3: a lot of enterprise data is there. people ingest there from various sources. and it's not just parquet usually, it's multivendor sources writing to an iceberg catalog. nobody will run minio on AWS other than hobby projects and small demos. I regularly work with iceberg datasets in the double digit TB range per dataset. keep that in mind when yo…
You realise not every company uses AWS for any/all its needs?
There are datacenters around the world owned by individual companies or co-located. And many companies still have servers on prem.
Compute and disks are getting more dense & liquid cooled, so less rack space is needed for same power.
And Minio and others can handle Petabytes+
https://www.cisco.com/c/en/us/products/collateral/servers-un...
Backblaze, Cloudflare R2 and other cheaper S3 compatible competitors also exist.
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#13Here's what I don't understand: Part of the value of doing an ETL pipeline via streaming replication is you get the full history of data in a table. An SCD type 2 table where each row also has a valid_from and valid_to timestamp column. How would someone do the same thing with this architecture?
It wouldn't be possible to do this with LTAP architecture since (I'm assuming) the individual logical changes are not visible. But honestly I've always seen SCD type 2 table as a workaround due to lack of data modeling experience in the source database. If you design your tables correctly, you shouldn't need SCD type 2 downstream. For example, if you know your user can change emails, and there might be events from an…
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#14Earlier quoted context omitted.
There are self hosted object stores which use the same protocol as S3. One example: https://github.com/minio/minio Parquet files are smaller than row based storage in a database (but not those databases with focus on strong compression). And for backup - the files are probably easier to just copy to multiple disks for redundancy, as opposed to database dumps and incremental backups which at the Petabyte scale will be…
your reply makes zero sense. there is a reason why people develop for S3: a lot of enterprise data is there. people ingest there from various sources. and it's not just parquet usually, it's multivendor sources writing to an iceberg catalog. nobody will run minio on AWS other than hobby projects and small demos. I regularly work with iceberg datasets in the double digit TB range per dataset. keep that in mind when yo…
At this point S3 is a standard interface. All sorts of cloud providers and open-source projects provide S3. If you're on AWS, price isn't the reason. You pick AWS because you don't see your company taking a risk with anything else.
S3 doesn't mean expensive. AWS does. But AWS users are fully locked-in, they'll pay whatever the price is.
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#15I don't wanna see that S3 bandwidth bill after running some big query
There are self hosted object stores which use the same protocol as S3. One example: https://github.com/minio/minio Parquet files are smaller than row based storage in a database (but not those databases with focus on strong compression). And for backup - the files are probably easier to just copy to multiple disks for redundancy, as opposed to database dumps and incremental backups which at the Petabyte scale will be…
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#16Here's what I don't understand: Part of the value of doing an ETL pipeline via streaming replication is you get the full history of data in a table. An SCD type 2 table where each row also has a valid_from and valid_to timestamp column. How would someone do the same thing with this architecture?
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#17Earlier quoted context omitted.
your reply makes zero sense. there is a reason why people develop for S3: a lot of enterprise data is there. people ingest there from various sources. and it's not just parquet usually, it's multivendor sources writing to an iceberg catalog. nobody will run minio on AWS other than hobby projects and small demos. I regularly work with iceberg datasets in the double digit TB range per dataset. keep that in mind when yo…
The large enterprise vendors are not prise-sensitive. They're on AWS because you never get fired for picking AWS, and there isn't really any other choice for these vendors regardless of AWS ripping you off. At this point S3 is a standard interface. All sorts of cloud providers and open-source projects provide S3. If you're on AWS, price isn't the reason. You pick AWS because you don't see your company taking a risk w…
Have you ever spoken to a CTO? They most certainly are.
Also many are Microsoft houses so using Azure blob plus one of the reasons for Kubernetes/Openshift adoption was to be cloud neutral
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#18Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#19Earlier quoted context omitted.
There are self hosted object stores which use the same protocol as S3. One example: https://github.com/minio/minio Parquet files are smaller than row based storage in a database (but not those databases with focus on strong compression). And for backup - the files are probably easier to just copy to multiple disks for redundancy, as opposed to database dumps and incremental backups which at the Petabyte scale will be…
Minio is no longer maintained.
So Ceph/SeaweedFS/RustFS/Garage are the alternatives I think
Re: Postgres data stored in Parquet on S3: LTAP architecture explained
#20I don't wanna see that S3 bandwidth bill after running some big query