http://www.mysqlkorea.co.kr
Çѱ۸Ŵº¾ó 5.0 , Çѱ۸Ŵº¾ó 5.1 , MySQL 5.1 HA , »ç¿ëÀڸŴº¾ó
°øÁö»çÇ×  
´º½º  
Áú¹®°ú ´äº¯
DBA
Developer
Cluster
ÅäÅ©¹Ú½º  
À̺¥Æ®  
¼­Æ÷Æ® ƼÄÏ  
ÃֽűÛ
foreign key ¼³Á¤¡¦
ÀÎÅØ½º Ãß°¡ µî¿¡¡¦
mysql master - s¡¦
´Ù´ë´Ù °ü°è¿¡¼­ ¡¦
mysql myÆÄÀϰú ¡¦
 
Áú¹®°ú ´äº¯ (Cluster) > Ä¿¹Â´ÏƼ Á¸ > Áú¹®°ú ´äº¯ (Cluster)
Cluster ¹®Á¦
±Û¾´ÀÌ : ½´ÆÛ¸Ó¸®¿ä   ³¯Â¥ : 11-10-07 11:34   Á¶È¸¼ö : 5746
ÇöÀç Ŭ·¯½ºÅ͸¦ Å×½ºÆ® Çϰí ÀÖ½À´Ï´Ù.
 
mgm 1´ë
SQL node 1´ë
ndbd node 1´ë
 
ÀÌ·¸°Ô ±¸¼ºÀ» Çϰí Å×½ºÆ® ÁßÀÔ´Ï´Ù.
 
¿ø µ¥ÀÌÅͰ¡ oracleÀÌ¿©¼­ mysql migration tool·Î µ¥ÀÌÅ͸¦ º¯È¯Çϰí
 
dump ¹ÞÀº µ¥ÀÌÅ͸¦ ndb¿¡ ¿Ã¸®°í ÀÖ½À´Ï´Ù.
 
¿Ã¸®´Â µµÁß¿¡ ¿¡·¯°¡ ³ª¸é¼­ ndb°¡ ²÷¾î Áý´Ï´Ù.
 
½Ã½ºÅÛ ¸Þ¸ð¸®°¡ ºÎÁ·ÇÑ°Í °°¾Æ ¸Þ¸ð¸® Áõ¼³ ÃÑ 22G·Î ¼¼ÆÃÇÏ°í ´Ù½Ã ¿Ã·Áµµ ¸¶Âù°¡Áý´Ï´Ù.
 
µ¥ÀÌÅÍ´Â 3G index´Â 6GÀÔ´Ï´Ù.
 
¿¡·¯¸Þ¼¼Áö´Â
 
ERROR 1297 (HY000) at line 941: Got temporary error 4010 'Node failure caused abort of transaction' from NDBCLUSTER
 
 
¼¼ÆÃÀÌ À߸ø µÈ °ÍÀÏ ±î¿ä?
 
config.ini ´Â ÀÌ·¸½À´Ï´Ù.
 
[NDBD DEFAULT]
NoOfReplicas: 1
#DataDir: /data/ndb
#FileSystemPath: /data/ndb
# Data Memory, Index Memory, and String Memory #
DataMemory:    8000M
IndexMemory:  12000M
StringMemory: 5
# Transaction Parameters #
MaxNoOfConcurrentTransactions: 4096
MaxNoOfConcurrentOperations: 100000
MaxNoOfLocalOperations: 100000
# Transaction Temporary Storage #
MaxNoOfConcurrentIndexOperations: 8192
MaxNoOfFiredTriggers: 4000
TransactionBufferMemory: 1M
# Scans and buffering #
MaxNoOfConcurrentScans: 300
MaxNoOfLocalScans: 32
BatchSizePerLocalScan: 64
LongMessageBuffer: 1M
# Logging and Checkpointing #
NoOfFragmentLogFiles: 300
#change_1005
FragmentLogFileSize: 16M
MaxNoOfOpenFiles: 40
InitialNoOfOpenFiles: 27
MaxNoOfSavedMessages: 25
# Metadata Objects #
MaxNoOfAttributes: 1500
MaxNoOfTables: 400
MaxNoOfOrderedIndexes: 200
MaxNoOfUniqueHashIndexes: 200
MaxNoOfTriggers: 770
# Boolean Parameters #
LockPagesInMainMemory: 0
StopOnError: 1
Diskless: 0
ODirect: 0
# Controlling Timeouts, Intervals, and Disk Paging #
TimeBetweenWatchDogCheck: 6000
TimeBetweenWatchDogCheckInitial: 6000
StartPartialTimeout: 30000
StartPartitionedTimeout: 60000
StartFailureTimeout: 1000000
HeartbeatIntervalDbDb: 2000
HeartbeatIntervalDbApi: 3000
TimeBetweenLocalCheckpoints: 20
TimeBetweenGlobalCheckpoints: 2000
TransactionInactiveTimeout: 0
TransactionDeadlockDetectionTimeout: 1200
DiskSyncSize: 4M
DiskCheckpointSpeed: 10M
DiskCheckpointSpeedInRestart: 100M
ArbitrationTimeout: 10
# Buffering and Logging #
UndoIndexBuffer: 2G
UndoDataBuffer: 1G
#change
RedoBuffer: 4G
LogLevelStartup: 15
LogLevelShutdown: 3
LogLevelStatistic: 0
LogLevelCheckpoint: 0
LogLevelNodeRestart: 0
LogLevelConnection: 0
LogLevelError: 15
LogLevelCongestion: 0
LogLevelInfo: 3
MemReportFrequency: 0
# Backup Parameters #
BackupDataBufferSize: 2M
BackupLogBufferSize: 2M
BackupMemory: 64M
BackupWriteSize: 32K
BackupMaxWriteSize: 256K
[MGM DEFAULT]
PortNumber: 1186
DataDir: /data/mysql_cluster/log
[TCP DEFAULT]
SendBufferMemory: 2M
#######################################
# Change HOST1 to the name of the NDB_MGMD host
# Change HOST2 to the name of the NDB_MGMD host
# Change HOST3 to the name of the NDB_MGMD host
# Change HOST4 to the name of the NDBD host
# Change HOST5 to the name of the NDBD host
# Change HOST6 to the name of the NDBD host
# Change HOST7 to the name of the NDBD host
# Change HOST8 to the name of the NDBD host
# Change HOST9 to the name of the NDBD host
#######################################
[ndb_mgmd]
# Management process options:
NodeId=1
hostname=xxx.xxx.178.80           # Hostname or IP address of MGM node
#datadir=/data/mysql_cluster/log  # Directory for MGM node log files
ArbitrationRank: 1
[ndbd]
# Options for data node "B":
#NodeId=2
#hostname=xxx.xxx.178.81          # Hostname or IP address
#datadir=/data/ndb               # Directory for this data node's data files
# Options for data node "B":
NodeId=2
hostname=xxx.xxx.178.82          # Hostname or IP address
datadir=/data/ndb1               # Directory for this data node's data files
[API]
# SQL node options:
NodeId=3
hostname=xxx.xxx.178.80          # Hostname or IP address
ArbitrationRank: 2              # (additional mysqld connections can be
                                # specified for this node for various
¹ÎÁ·
MaxNoOfConcurrentTransactions: 4096


¿ä°Å °ª Çѹø ´Ã·Áº¸¼¼¿ä..ÇÑ 40000 ¿äÁ¤µµ·Î~
Äí¸®±¸¸®
Àúµµ ¹ÎÁ·´ÔÀÌ ¸»¾¸ÇϽŵ¥·Î ÇØºÃ´Âµ¥
¹ÎÁ·´Ô ´äÀÌ ¾Æ´Ñ°Í °°¾Æ¿ä...
¿©±â Àú±â ¸¹ÀÌ Ã£¾Æ ºÃ´Âµ¥ MaxNoOfConcurrentTransactions: 100000À¸·Î Çߴµ¥µµ ¿¡·¯´Â ¶È°°ÀÌ ³³´Ï´Ù.
¾î¶»°Ô ÇØ¾ß ÇÒ Áö ¸ð¸£°Ú³×¿ä..¤Ñ.¤Ñ;;
ÀÌÀü±Û config.ini º¯°æ ÈÄ Àû¿ë½Ã¿¡.. 
´ÙÀ½±Û ¸®Çø® ÄÉÀÌ¼Ç ¼³Á¤Áú¹® ¤Ì 
MySQL Korea »çÀÌÆ®ÀÇ ÄÁÅÙÃ÷ ¼ÒÀ¯±ÇÀº (ÁÖ)»ó»óÀ̺ñÁî¿¡ ÀÖÀ¸¹Ç·Î ¹«´ÜÀüÀ縦 ±ÝÇÕ´Ï´Ù.
Copyright ¨Ï ssebiz All Rights Reserved.