如何在高负载需求下正确测试数据库性能?

发布于 2024-08-08 06:56:07 字数 329 浏览 5 评论 0原文

我发现了很多关于 Web 应用程序压力测试的主题。

我的目标不同,它只是测试数据库(sybase sql Anywhere 9)。

我需要什么:

  • 一些工具可以诊断所有sql并找到瓶颈。我希望我能够轻松地宏观地查看整个系统。
  • 设计/构建良好 SQL 查询的最佳实践。

系统问题是:

  • 数据库大小为 20GB。
  • 每秒2-5个请求
  • 数千条sql散布在代码中(这个乱七八糟只能重写系统才能解决)。

I have found a lot of topics about stress-testing web application.

My goals are different, it's to test only database (sybase sql anywhere 9).

What I need:

  • Some tool to give a diagnostic of all sqls and find a bottleneck. I wish I could macro-view the entire system easily.
  • Best practices to design/build a good sql queries.

The system issues are:

  • 20GB database size.
  • 2-5 request per second
  • Thousands sql spread in the code (this messy can be solved only rewriting the system).

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

季末如歌 2024-08-15 06:56:07

实际上,最快的方法是将 SQL Anywhere 升级到 v10 或(更好)v11,因为最新版本包含完整的性能诊断工具集。有关更多详细信息,请参阅此处的文档。

The quickest way would actually be to upgrade your SQL Anywhere to v10 or (better) v11, as the latest releases include a complete performance diagnostic toolset. See the documentation here for more details.

臻嫒无言 2024-08-15 06:56:07

这里列出了几个开源工具:

http://www.opensourcetesting.org/performance.php

several open source tools are listed here:

http://www.opensourcetesting.org/performance.php

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文