问HN:有哪些好的SQL语句可以用来基准测试关系数据库管理系统(RDBMS)?
大家好,
我们正在开发一个基准工具,使用C语言来比较各种关系数据库管理系统(如Postgres、MySQL等)中DML语句的执行速度。
我们并不追求复杂或科学的设计——这纯粹是为了内部学习的目的。
请问有没有特别的DML语句我们应该纳入我们的基准测试中?
我们欢迎对此主题的任何建议或见解。
(顺便提一下,我们计划使用clock_t来跟踪CPU时间,并进行持续几百秒的长时间循环)。当然,我们也欢迎对此的建议!
谢谢 ^_^
查看原文
Hi folks,<p>We’re building a benchmark tool in C to compare the speed of DML statements in assorted RDBMS vanilla installations (Postgres, MySQL, etc.).<p>We’re not doing anything fancy / scientific - it’s purely for internal learning purposes.<p>Are there any particular DML statements that we should include in our benchmark?<p>We’d welcome any tips or insights on this topic.<p>(As an aside, we plan to use clock_t for tracking CPU time, with long-running loops that span several hundred seconds). But of course we welcome advice on this too!<p>Thanks ^_^