[groonga-dev,01604] Re: mroonga適用テーブルへの「WHERE IN 多数」クエリでエラー

Back to archive index

K A a_kira1****@hotma*****
2013年 8月 12日 (月) 16:56:35 JST


木村です。ご回答ありがとうございます。
productsテーブルの定義は以下のようになっています。

CREATE TABLE IF NOT EXISTS `products` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `vendor_id` int(11) DEFAULT NULL,
  `entity_id` int(11) DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `code_sub` varchar(255) DEFAULT NULL,
  `released` date DEFAULT NULL,
  `minutes` int(11) DEFAULT NULL,
  `movie` smallint(6) NOT NULL,
  `large_pic` smallint(6) NOT NULL,
  `tag_pool` text NOT NULL,
  `count` int(11) NOT NULL,
  `bookmark_count` int(11) NOT NULL,
  `created` datetime DEFAULT NULL,
  `modified` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `code_vendor_id` (`code`,`vendor_id`),
  KEY `entity_id` (`entity_id`),
  KEY `count` (`count`),
  FULLTEXT KEY `ft_all` (`title`,`description`,`code`,`code_sub`,`tag_pool`) COMMENT 'normalizer "NormalizerAuto"'
) ENGINE=mroonga  DEFAULT CHARSET=utf8 COMMENT='engine "innodb"' AUTO_INCREMENT=280118 ;

末尾に、このエラーに直面していた時間帯のログファイルからの抜粋をコピー&ペーストします。
mysqld.logについては、字数制限に引っかかってしまったのでかなり限定的な抜粋です。もし不足なようでしたら後続もお送りします。
「16059 [ERROR] Got error 1 when reading table './db_1/products'」が該当のエラーだと思います。

引き続きアドバイスいただければうれしいです。
どうぞよろしくお願いします。

木村


/var/lib/mysql/groonga.log

2013-08-09 20:00:53.501059|n|0e7ff700|mroonga 3.06 deinit
2013-08-09 20:00:53.507103|n|0e7ff700|grn_fin (0)
2013-08-09 20:00:56.585797|n|f37ba7e0|mroonga 3.06 started.
2013-08-09 20:00:56.585828|n|f37ba7e0|log level is 'NOTICE'
2013-08-09 20:04:31.974248|n|62bbf700|mroonga 3.06 deinit
2013-08-09 20:04:31.982860|n|62bbf700|grn_fin (0)
2013-08-09 20:04:35.165466|n|58ffe7e0|mroonga 3.06 started.
2013-08-09 20:04:35.165539|n|58ffe7e0|log level is 'NOTICE'
2013-08-09 20:08:02.629646|n|540e4700|nterms=1065 chunk=190076 total=118170
2013-08-09 20:08:02.664142|n|540e4700|d0=325 d1=740
2013-08-09 20:46:33.056671|n|c362e700|mroonga 3.06 deinit
2013-08-09 20:46:33.065966|n|c362e700|grn_fin (0)
2013-08-09 20:46:36.298483|n|9b3737e0|mroonga 3.06 started.
2013-08-09 20:46:36.298519|n|9b3737e0|log level is 'NOTICE'


/var/log/mysqld.log

130809 19:56:24 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
130809 19:56:25 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2013-08-09 19:56:26 14903 [Note] Plugin 'FEDERATED' is disabled.
2013-08-09 19:56:26 7f7f846757e0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2013-08-09 19:56:26 14903 [Note] InnoDB: The InnoDB memory heap is disabled
2013-08-09 19:56:26 14903 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-08-09 19:56:26 14903 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-08-09 19:56:26 14903 [Note] InnoDB: Using Linux native AIO
2013-08-09 19:56:26 14903 [Note] InnoDB: Not using CPU crc32 instructions
2013-08-09 19:56:26 14903 [Note] InnoDB: Initializing buffer pool, size = 512.0M
2013-08-09 19:56:26 14903 [Note] InnoDB: Completed initialization of buffer pool
2013-08-09 19:56:26 14903 [Note] InnoDB: Highest supported file format is Barracuda.
2013-08-09 19:56:26 14903 [Note] InnoDB: 128 rollback segment(s) are active.
2013-08-09 19:56:26 14903 [Note] InnoDB: Waiting for purge to start
2013-08-09 19:56:26 14903 [Note] InnoDB: 5.6.12 started; log sequence number 6301455419
2013-08-09 19:56:26 14903 [Note] RSA private key file not found: /var/lib/mysql//private_key.pem. Some authentication plugins will not work.
2013-08-09 19:56:26 14903 [Note] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
2013-08-09 19:56:26 14903 [Note] Server hostname (bind-address): '*'; port: 3306
2013-08-09 19:56:26 14903 [Note] IPv6 is available.
2013-08-09 19:56:26 14903 [Note]   - '::' resolves to '::';
2013-08-09 19:56:26 14903 [Note] Server socket created on IP: '::'.
2013-08-09 19:56:26 14903 [Warning] 'user' entry 'root****@my-do*****' ignored in --skip-name-resolve mode.
2013-08-09 19:56:26 14903 [Warning] 'user' entry '@my-domain.com' ignored in --skip-name-resolve mode.
2013-08-09 19:56:26 14903 [Note] Event Scheduler: Loaded 0 events
2013-08-09 19:56:26 14903 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.6.12-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL)
2013-08-09 20:00:12 14903 [ERROR] Got error 1 when reading table './db_1/products'
2013-08-09 20:00:53 14903 [Note] /usr/libexec/mysqld: Normal shutdown

2013-08-09 20:00:53 14903 [Note] Giving 0 client threads a chance to die gracefully
2013-08-09 20:00:53 14903 [Note] Event Scheduler: Purging the queue. 0 events
2013-08-09 20:00:53 14903 [Note] Shutting down slave threads
2013-08-09 20:00:53 14903 [Note] Forcefully disconnecting 0 remaining clients
2013-08-09 20:00:53 14903 [Note] Binlog end
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'mroonga'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'partition'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'BLACKHOLE'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'ARCHIVE'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_METRICS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_CMPMEM'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_CMP'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_LOCKS'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'INNODB_TRX'
2013-08-09 20:00:53 14903 [Note] Shutting down plugin 'InnoDB'
2013-08-09 20:00:53 14903 [Note] InnoDB: FTS optimize thread exiting.
2013-08-09 20:00:53 14903 [Note] InnoDB: Starting shutdown...
2013-08-09 20:00:54 14903 [Note] InnoDB: Shutdown completed; log sequence number 6301715989
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'MRG_MYISAM'
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'CSV'
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'MyISAM'
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'MEMORY'
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'sha256_password'
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'mysql_old_password'
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'mysql_native_password'
2013-08-09 20:00:54 14903 [Note] Shutting down plugin 'binlog'
2013-08-09 20:00:54 14903 [Note] /usr/libexec/mysqld: Shutdown complete
 		 	   		   		 	   		  



groonga-dev メーリングリストの案内
Back to archive index