issue_comments
7 rows where issue = 1663399821 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- 500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" · 7 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
1504426792 | https://github.com/simonw/datasette/issues/2058#issuecomment-1504426792 | https://api.github.com/repos/simonw/datasette/issues/2058 | IC_kwDOBm6k_c5Zq7so | simonw 9599 | 2023-04-12T02:02:42Z | 2023-04-12T02:02:42Z | OWNER | I tightened up the benchmark (it was measuring the time taken to create the tables too) and got this: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" 1663399821 | |
1504328395 | https://github.com/simonw/datasette/issues/2058#issuecomment-1504328395 | https://api.github.com/repos/simonw/datasette/issues/2058 | IC_kwDOBm6k_c5ZqjrL | simonw 9599 | 2023-04-12T00:28:38Z | 2023-04-12T00:28:38Z | OWNER | Here's a much better chart, which shows that MD5 performance unsurprisingly gets worse as the number of tables increases while |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" 1663399821 | |
1504315697 | https://github.com/simonw/datasette/issues/2058#issuecomment-1504315697 | https://api.github.com/repos/simonw/datasette/issues/2058 | IC_kwDOBm6k_c5Zqgkx | simonw 9599 | 2023-04-12T00:16:22Z | 2023-04-12T00:27:12Z | OWNER | I got ChatGPT (code execution alpha) to run a micro-benchmark for me. This was the conclusion:
Here's the chart it drew me: (It's a pretty rubbish chart though, it only took measurements at 100 and 200 and drew a line between the two, I should have told it to measure every 10 and plot that) And the full transcript: https://gist.github.com/simonw/2fc46effbfbe49e6de0bcfdc9e31b235 The benchmark looks good enough on first glance that I don't feel the need to be more thorough with it. I'm tempted to add something to the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" 1663399821 | |
1504298448 | https://github.com/simonw/datasette/issues/2058#issuecomment-1504298448 | https://api.github.com/repos/simonw/datasette/issues/2058 | IC_kwDOBm6k_c5ZqcXQ | simonw 9599 | 2023-04-12T00:04:01Z | 2023-04-12T00:04:01Z | OWNER | Here's a potential workaround: when I store the schema versions, I could also score an MD5 hash of the full schema ( The performance overhead of this needs investigating - how much more expensive is |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" 1663399821 | |
1504295345 | https://github.com/simonw/datasette/issues/2058#issuecomment-1504295345 | https://api.github.com/repos/simonw/datasette/issues/2058 | IC_kwDOBm6k_c5Zqbmx | simonw 9599 | 2023-04-12T00:01:42Z | 2023-04-12T00:02:26Z | OWNER | Here's the relevant code: This function is called on almost every request (everything that subclasses It uses This was already the cause of a subtle bug here: - #1231 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" 1663399821 | |
1504292145 | https://github.com/simonw/datasette/issues/2058#issuecomment-1504292145 | https://api.github.com/repos/simonw/datasette/issues/2058 | IC_kwDOBm6k_c5Zqa0x | simonw 9599 | 2023-04-11T23:58:59Z | 2023-04-11T23:58:59Z | OWNER | Asked on the SQLite Forum if anyone has seen this before: https://sqlite.org/forum/forumpost/793a2ed75b |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" 1663399821 | |
1504291892 | https://github.com/simonw/datasette/issues/2058#issuecomment-1504291892 | https://api.github.com/repos/simonw/datasette/issues/2058 | IC_kwDOBm6k_c5Zqaw0 | simonw 9599 | 2023-04-11T23:58:45Z | 2023-04-11T23:58:45Z | OWNER | I thought it might relate to the "defensive mode" issue described here: But I have since determined that the Datasette official Docker image does NOT run anything in defensive mode, so I don't think it's related to that. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
500 "attempt to write a readonly database" error caused by "PRAGMA schema_version" 1663399821 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [issue] INTEGER REFERENCES [issues]([id]) , [performed_via_github_app] TEXT); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 1