{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/925","repository_url":"https://api.github.com/repos/pingcap/tidb","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/925/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/925/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/925/events","html_url":"https://github.com/pingcap/tidb/pull/925","id":136610788,"number":925,"title":"*: Implement PerformanceSchema with MemoryTable","user":{"login":"shenli","id":1192573,"avatar_url":"https://avatars.githubusercontent.com/u/1192573?v=3","gravatar_id":"","url":"https://api.github.com/users/shenli","html_url":"https://github.com/shenli","followers_url":"https://api.github.com/users/shenli/followers","following_url":"https://api.github.com/users/shenli/following{/other_user}","gists_url":"https://api.github.com/users/shenli/gists{/gist_id}","starred_url":"https://api.github.com/users/shenli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenli/subscriptions","organizations_url":"https://api.github.com/users/shenli/orgs","repos_url":"https://api.github.com/users/shenli/repos","events_url":"https://api.github.com/users/shenli/events{/privacy}","received_events_url":"https://api.github.com/users/shenli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-26T06:40:09Z","updated_at":"2016-02-27T01:00:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/925","html_url":"https://github.com/pingcap/tidb/pull/925","diff_url":"https://github.com/pingcap/tidb/pull/925.diff","patch_url":"https://github.com/pingcap/tidb/pull/925.patch"},"body":"@nieyy @coocood "},"comment":{"url":"https://api.github.com/repos/pingcap/tidb/issues/comments/189542787","html_url":"https://github.com/pingcap/tidb/pull/925#issuecomment-189542787","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/925","id":189542787,"user":{"login":"nieyy","id":13518782,"avatar_url":"https://avatars.githubusercontent.com/u/13518782?v=3","gravatar_id":"","url":"https://api.github.com/users/nieyy","html_url":"https://github.com/nieyy","followers_url":"https://api.github.com/users/nieyy/followers","following_url":"https://api.github.com/users/nieyy/following{/other_user}","gists_url":"https://api.github.com/users/nieyy/gists{/gist_id}","starred_url":"https://api.github.com/users/nieyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nieyy/subscriptions","organizations_url":"https://api.github.com/users/nieyy/orgs","repos_url":"https://api.github.com/users/nieyy/repos","events_url":"https://api.github.com/users/nieyy/events{/privacy}","received_events_url":"https://api.github.com/users/nieyy/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T01:00:12Z","updated_at":"2016-02-27T01:00:12Z","body":"Also, setup_xxx tables and events_xxx tables need to restrict access permissions:\r\n1. All tables support `SELECT` operation\r\n\r\nBesides that:\r\n1. `events_xxx` tables support `TRUNCATE` only\r\n2. `setup_timers`, `setup_consumers` and `setup_instruments` support `UPDATE` only\r\n3. `setup_actors`, `setup_objects` support `INSERT`, `DELETE` and `TRUNCATE` only\r\n\r\nFor operations not supported, an error should be prompted to user."}}