Postgres RDS缓慢响应时间

发布于 2025-02-01 09:04:12 字数 331 浏览 1 评论 0原文

我们有一个AWS RDS Postgres DB OD型T3.Micro。 我在一张很小的桌子上运行简单的查询,并且响应时间很高 - 每个查询运行约2秒钟。

  • 查询示例: 从包装中选择 * id ='深夜';
  • CPU的使用不高(约5%),
  • 我们尝试使用原始的快照创建更大的RDS DB(T3.Meduiom),并且性能根本没有改善。
  • 表尺寸2600行
  • 我们检查了与机器人外部IP和内部IP的连接。
  • 磁盘尺寸20GIB
  • 内存类型:SSD

有没有办法提高性能?

感谢您的帮助!

We have an aws rds postgres db od type t3.micro.
I am running simple queries on a pretty small table and I get pretty high response time - around 2 seconds per query run.

  • Query example:
    select * from package where id='late-night';
  • The cpu usage is not high (around 5%)
  • We tried creating a bigger rds db (t3.meduiom) with the snapshot of the original one and the performance did not improve at all.
  • Table size 2600 rows
  • We examined connection with bot external ip and internal ip.
  • Disk size 20gib
  • Memory type: ssd

Is there a way to improve performance??

Thanks for the help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文