# performance tests

**URL:** <https://forums.percona.com/t/performance-tests/842>\
**Category:** Other MySQL® Questions\
**Created:** [July 14, 2008, 7:42am UTC](https://forums.percona.com/t/performance-tests/842 "2008-07-14T07:42:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![afflictedd2](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@afflictedd2](https://forums.percona.com/u/afflictedd2)\
**Post date:** [July 14, 2008, 7:42am UTC](https://forums.percona.com/t/performance-tests/842/1 "2008-07-14T07:42:20Z")

</div>

Hi everyone,

I need to try different types of engines for a MySQL database that will be created by a program in C++. The program has to create the database and populate it. I need to measure times and sizes for the database to find which gives the better overall performance. Right now, I am measuring time with a timer class for measuring time to populate the database. I want to know if someone knows if MySQL itself provides a way to determine the size of a database, and perhaps also ask on what things to consider for these performance tests.

Thanks in advance,

David.

---

<div class="post-metadata">

**Author:** ![debug](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/debug/32/772_2.png) [@debug](https://forums.percona.com/u/debug)\
**Post date:** [July 18, 2008, 5:41am UTC](https://forums.percona.com/t/performance-tests/842/2 "2008-07-18T05:41:32Z")

</div>

Check information\_schema database (if you are using MySQL 5.0)
