MySQL Forums :: NDB clusters :: How do I get rid of the MAX_ROWS limitation?


Advanced Search

Re: How do I get rid of the MAX_ROWS limitation?
Posted by: Benjamin J. ()
Date: June 01, 2012 04:03AM

Hi Mauritz, thank you for your answer.

Before 7.2.6 my workaround was to ADD PARTITION BY KEY() PARTITIONS 12;

I could not go higher than 12, because 16 (I have 4 datanodes) wasn't accepted, when I tried to alter the table. (I used ndbd, because I had SendBufferMemory problems with ndbmt.)
This workaround also made it hard to add datanodes.

When I don't partition manually, a hash is computed from the table's PK and assigned to a datanode using the modulo operation, resulting in a good distribution of my data over all data nodes. Adding datanodes leads to an automatic repartitioning of all data, right?

How does ALTER TABLE ... MAX_ROWS = 1000000000 exactly work? Can I still easily add datanodes without having to manually repartition?

And what is LDM? I have hyperthreaded quad core machines, but only two of them are at near 100% while the others are pretty lazy. Can you give a little more details on that please? Thank you!

Options: ReplyQuote


Subject Views Written By Posted
How do I get rid of the MAX_ROWS limitation? 2454 Benjamin J. 05/30/2012 09:51AM
Re: How do I get rid of the MAX_ROWS limitation? 859 Benjamin J. 05/30/2012 10:13AM
Re: How do I get rid of the MAX_ROWS limitation? 1002 Benjamin J. 05/31/2012 04:23AM
Re: How do I get rid of the MAX_ROWS limitation? 1353 Mauritz Sundell 06/01/2012 03:26AM
Re: How do I get rid of the MAX_ROWS limitation? 857 Benjamin J. 06/01/2012 04:03AM
Re: How do I get rid of the MAX_ROWS limitation? 845 Mat Keep 06/01/2012 06:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.