Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

imports of big database in cluster fail (7 replies)

$
0
0
Hello,

I am trying to import a fairly big database into our new mysql cluster. The database has 252 tables and 13 millions inserts.

I'm running a four nodes 7.1 cluster.

nbd_size.pl gives me this result:

Parameter Minimum Requirements
------------------------------
* indicates greater than default

Parameter Default 4.1 5.0 5.1
DataMemory (KB) 81920 14181152* 14181152* 13416928*
NoOfOrderedIndexes 128 696* 696* 696*
NoOfTables 128 844* 844* 844*
IndexMemory (KB) 18432 1759408* 795992* 795992*
NoOfUniqueHashIndexes 64 383* 383* 383*
NoOfAttributes 1000 3834* 3834* 3834*
NoOfTriggers 768 5221* 5221* 5221*

my config.ini file has the following:

[ndbd default]
MaxNoOfConcurrentOperations=100M
MaxNoOfConcurrentTransactions=100M
MaxNoOfLocalOperations=110M
MaxNoOfAttributes = 2500M
MaxNoOfTables = 1000
MaxNoOfOrderedIndexes = 1000
MaxNoOfUniqueHashIndexes = 500
MaxNoOfTriggers = 10M

DataMemory=2G
IndexMemory=1G

NoOfReplicas=4
datadir=/var/lib/mysql/data/

Unfortunately, after 108 minutes i get the following error:
ERROR 1005 (HY000) at line 3045776: Can't create table 'moodle.mdl_enrol_paypal' (errno: 708)

error 708 is about increasing MaxNoOfAttributes but I doubt my problem is there. It is already set up way above the value ndb_size.pl suggested. Since i did the import from the command line (mysql < file.sql) show warning doesn't help and there's nothing usefull in the logs either.

I'm really clueless there. Any hint would be greatly appreciated!

Arnaud

Viewing all articles
Browse latest Browse all 1560

Trending Articles