简体   繁体   English

AWS RDS 上的 RDS 存储已满

[英]RDS storage is full on AWS RDS

I am Migrating table from oOn-Prem to AWS using AWS DMS tasks.我正在使用 AWS DMS 任务将表从oOn-Prem迁移到 AWS。

My On-Prem SQL server total DB's sizes are below 1TB我的本地 SQL 服务器总数据库大小低于 1TB

But my RDS storage(PostgreSQL) is taking more space 8TB.但是我的 RDS 存储(PostgreSQL)占用了 8TB 的更多空间。 still it is increasing.仍然在增加。 I have enabled ongoing replication in DMS tasks.我在 DMS 任务中启用了持续复制。

How to over come these issue?如何克服这些问题?

anks安克斯

This could be an issue of compression, perhaps you are storing the data uncompressed in Postgres.这可能是压缩问题,也许您将未压缩的数据存储在 Postgres 中。 Unfortunately Postgres only supports "TOAST" compression for rows that are above 2000 bytes.不幸的是,Postgres 只支持对超过 2000 字节的行进行“TOAST”压缩。 If your data has rows that are smaller than that, they won't get compressed, which will lead to much larger data volumes, like you are experiencing.如果您的数据的行小于此值,则它们不会被压缩,这将导致更大的数据量,就像您正在经历的那样。

You may want to consider a different storage database, that supports compression, if minimizing data size is of utmost importance.如果最小化数据大小至关重要,您可能需要考虑支持压缩的不同存储数据库。 Perhaps a SQL Server hosted on AWS?也许是托管在 AWS 上的 SQL 服务器?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM