{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/361","labels_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/361/comments","events_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/361/events","html_url":"https://github.com/bitcoinj/bitcoinj/pull/361","id":84496417,"number":361,"title":"Fixed the size of the field 'header' MySQL fullstore","user":{"login":"kparmar1","id":1377322,"avatar_url":"https://avatars.githubusercontent.com/u/1377322?v=3","gravatar_id":"","url":"https://api.github.com/users/kparmar1","html_url":"https://github.com/kparmar1","followers_url":"https://api.github.com/users/kparmar1/followers","following_url":"https://api.github.com/users/kparmar1/following{/other_user}","gists_url":"https://api.github.com/users/kparmar1/gists{/gist_id}","starred_url":"https://api.github.com/users/kparmar1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kparmar1/subscriptions","organizations_url":"https://api.github.com/users/kparmar1/orgs","repos_url":"https://api.github.com/users/kparmar1/repos","events_url":"https://api.github.com/users/kparmar1/events{/privacy}","received_events_url":"https://api.github.com/users/kparmar1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-03T11:04:02Z","updated_at":"2015-06-03T13:27:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoinj/bitcoinj/pulls/361","html_url":"https://github.com/bitcoinj/bitcoinj/pull/361","diff_url":"https://github.com/bitcoinj/bitcoinj/pull/361.diff","patch_url":"https://github.com/bitcoinj/bitcoinj/pull/361.patch"},"body":"Fixed the size of the field 'header' in the 'headers' table for the MySQL fullstore; blob changed to mediumblob.\r\n\r\nIf you want to manually update the MySQL, not delete the tables and re-sync, use the following SQL:-\r\n\r\nALTER TABLE headers MODIFY COLUMN header MEDIUMBLOB;\r\n"},"comment":{"url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/comments/108410730","html_url":"https://github.com/bitcoinj/bitcoinj/pull/361#issuecomment-108410730","issue_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/361","id":108410730,"user":{"login":"ollekullberg","id":201249,"avatar_url":"https://avatars.githubusercontent.com/u/201249?v=3","gravatar_id":"","url":"https://api.github.com/users/ollekullberg","html_url":"https://github.com/ollekullberg","followers_url":"https://api.github.com/users/ollekullberg/followers","following_url":"https://api.github.com/users/ollekullberg/following{/other_user}","gists_url":"https://api.github.com/users/ollekullberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ollekullberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollekullberg/subscriptions","organizations_url":"https://api.github.com/users/ollekullberg/orgs","repos_url":"https://api.github.com/users/ollekullberg/repos","events_url":"https://api.github.com/users/ollekullberg/events{/privacy}","received_events_url":"https://api.github.com/users/ollekullberg/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T13:27:51Z","updated_at":"2015-06-03T13:27:51Z","body":"We can also change:\r\n\r\nchainwork mediumblob NOT NULL\r\n\r\nto:\r\n\r\nchainwork VARBINARY(255) NOT NULL \r\n\r\n(VARBINARY(255) will always be enough for any real world BigInteger) \r\n\r\nNow, we got to the desired point where NO column in this table is a blob, and thus the table is much faster for the MySQL engine to handle. "}}