Hi,
You can also run:
ndb_desc -p -d <database_name> <tablename>
to printout how the partitions are laid out and how many records you
have in each partition.
Best regards,
Johan
web: www.severalnines.com/config <http://www.severalnines.com/config>
twitter: twitter.com/severalnines <http://twitter.com/severalnines>
skypeid: johan-at-mysql
On 2011-07-19 11.42, Andrew Morgan wrote:
> Here’s a good place to start for information on how MySQL Cluster
> partitions its tables….
> http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-nodes-groups.html
>
>
>
> In general, you don’t need to specify the number of partitions, MySQL
> Cluster will automatically create the correct number based on the number of
> data nodes you have.
>
>
>
> Regards, Andrew.
>
>
>
>
>
>
> -------- Original Message --------
>
>
> Subject:
>
> mysql cluster partition
>
>
> Date:
>
> Tue, 19 Jul 2011 11:56:37 +0800
>
>
> From:
>
> 牛兆捷 <mailto:nzjemail@stripped> <nzjemail@stripped>
>
>
> To:
>
> cluster@stripped
>
>
>
> I know the default partition of mysql cluster is by primary key,but where
> can I know the detail of the partition procedure?
>
> Fox example I have 8 data node ,I set the number of partition number as 8
> too,so will it partitions the whole data to 8 parts
> and distributing them on 8 node uniformly?
>
> If I don't set the partitions number explicitly,what is the default number
> of the partitions number?
>
> Thanks
>
>