{"html_url": "https://github.com/simonw/datasette/issues/124#issuecomment-346987395", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/124", "id": 346987395, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Njk4NzM5NQ==", "user": {"value": 50138, "label": "janimo"}, "created_at": "2017-11-26T06:24:08Z", "updated_at": "2017-11-26T06:24:08Z", "author_association": "NONE", "body": "Are there performance gains when using immutable as opposed to read-only? From what I see other processes can still modify the DB when immutable, but there are no change notifications.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 275125805, "label": "Option to open readonly but not immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/124#issuecomment-347049888", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/124", "id": 347049888, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NzA0OTg4OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-27T00:01:08Z", "updated_at": "2017-11-27T00:01:08Z", "author_association": "OWNER", "body": "https://sqlite.org/c3ref/open.html Is the only documentation I've been able to find of the immutable option:\r\n\r\n> **immutable**: The immutable parameter is a boolean query parameter that indicates that the database file is stored on read-only media. When immutable is set, SQLite assumes that the database file cannot be changed, even by a process with higher privilege, and so the database is opened read-only and all locking and change detection is disabled. Caution: Setting the immutable property on a database file that does in fact change can result in incorrect query results and/or SQLITE_CORRUPT errors. ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 275125805, "label": "Option to open readonly but not immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/124#issuecomment-347123991", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/124", "id": 347123991, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NzEyMzk5MQ==", "user": {"value": 50138, "label": "janimo"}, "created_at": "2017-11-27T09:25:15Z", "updated_at": "2017-11-27T09:25:15Z", "author_association": "NONE", "body": "That's the only reference to immutable I saw as well, making me think that there may be no perceivable advantages over simply using mode=ro. Since the database is never or seldom updated the change notifications should not impact performance.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 275125805, "label": "Option to open readonly but not immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/124#issuecomment-347236102", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/124", "id": 347236102, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NzIzNjEwMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-27T16:24:15Z", "updated_at": "2017-11-27T16:24:15Z", "author_association": "OWNER", "body": "I'd really like to get some benchmarks working so I can see the actual impact of this kind of thing.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 275125805, "label": "Option to open readonly but not immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/124#issuecomment-504879834", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/124", "id": 504879834, "node_id": "MDEyOklzc3VlQ29tbWVudDUwNDg3OTgzNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-06-24T06:43:46Z", "updated_at": "2019-06-24T06:43:46Z", "author_association": "OWNER", "body": "https://simonwillison.net/2019/May/19/datasette-0-28/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 275125805, "label": "Option to open readonly but not immutable"}, "performed_via_github_app": null}