On 8/8/07, <b class="gmail_sendername">Alessandro Ren</b> <<a href="mailto:alessandro.ren@opservices.com.br">alessandro.ren@opservices.com.br</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>    I just would like to know the reason that the NDO DB uses myisam<br>engine and not Innodb. If it is because of performance issues?<br>    It seems to me that innodb would be better in the long run, having<br>huge databases, am I missing something?
<br>    Thanks.</blockquote><div><br>Greetings,<br><br>I just wanted to throw in a tip, since this bit me this morning. If you're going to use innodb for your tables, I would suggest using this option in your configuration:
<br><br></div>innodb_file_per_table<br></div><br>This creates per table tablespaces (just like MyISAM does), instead of one large shared tablespace (which is the default). The reason this is nice is because innodb tablespaces only grow. To "shrink" a tablespace, you have to dump all tables, delete the tablespace file, and re-import your data. This can be a huge process on databases with large tables (which I just had to do this morning). I'm not a DB administrator and this may not be ideal for certain environments, but it seems wise to do when you have large tables that may be purged from time to time. If your tables only need to grow, then it might not be an issue.
<br><br>Brendon<br>