{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1462","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1462/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1462/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1462/events","html_url":"https://github.com/realm/realm-java/issues/1462","id":105722568,"number":1462,"title":"Long deleting records","user":{"login":"crysan","id":683015,"avatar_url":"https://avatars.githubusercontent.com/u/683015?v=3","gravatar_id":"","url":"https://api.github.com/users/crysan","html_url":"https://github.com/crysan","followers_url":"https://api.github.com/users/crysan/followers","following_url":"https://api.github.com/users/crysan/following{/other_user}","gists_url":"https://api.github.com/users/crysan/gists{/gist_id}","starred_url":"https://api.github.com/users/crysan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crysan/subscriptions","organizations_url":"https://api.github.com/users/crysan/orgs","repos_url":"https://api.github.com/users/crysan/repos","events_url":"https://api.github.com/users/crysan/events{/privacy}","received_events_url":"https://api.github.com/users/crysan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/realm/realm-java/labels/P1","name":"P1","color":"ededed"},{"url":"https://api.github.com/repos/realm/realm-java/labels/Pending","name":"Pending","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-09-10T02:54:54Z","updated_at":"2015-10-12T22:02:34Z","closed_at":null,"body":"Hi!\r\n\r\nThere is a basis Realm Java 0.82.2.\r\nTable Author - 1 record\r\nTable Books - 46 entries associated with one entry Author\r\n\r\nCode:\r\nRealmResults<Authors> author = realm.where(Authors.class).equalTo(\"url_base\", url_base).findAll();\r\nRealmResults<Books> books = realm.where(Books.class).equalTo(\"author.url_base\", url_base).findAll();\r\n\r\nrealm.beginTransaction();\r\nbooks.clear();\r\nauthor.clear();\r\nrealm.commitTransaction();\r\n\r\nDeleting records time is from 2 to 8 minutes.\r\nWith what it can be connected?\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/147533775","html_url":"https://github.com/realm/realm-java/issues/1462#issuecomment-147533775","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1462","id":147533775,"user":{"login":"Zhuinden","id":11718392,"avatar_url":"https://avatars.githubusercontent.com/u/11718392?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhuinden","html_url":"https://github.com/Zhuinden","followers_url":"https://api.github.com/users/Zhuinden/followers","following_url":"https://api.github.com/users/Zhuinden/following{/other_user}","gists_url":"https://api.github.com/users/Zhuinden/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhuinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhuinden/subscriptions","organizations_url":"https://api.github.com/users/Zhuinden/orgs","repos_url":"https://api.github.com/users/Zhuinden/repos","events_url":"https://api.github.com/users/Zhuinden/events{/privacy}","received_events_url":"https://api.github.com/users/Zhuinden/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T22:02:34Z","updated_at":"2015-10-12T22:02:34Z","body":"Hello, I'm deleting a large amount of data on a background thread, but querying the table in the meantime freezes the UI."}}