Topic on Talk:Quarry/Flow

Stefan2 (talkcontribs)

I try to check some database queries most days, for example quarry:query/2934 which lists inappropriate redirects on English Wikipedia. Lately, however, the queries have returned outdated results. For example, today, query 2934 returned the following pages:

All of the pages have been deleted, but the query is not supposed to return deleted pages. Guessing that someone might have deleted the pages after the database report was generated but before I had opened the pages, I clicked on 'submit query' a second time, but I still got the same result set. Is there a lag in the database so that changes on Wikipedia do not immediately show up in the copy of the database which Quarry uses?

Le Deluge (talkcontribs)

Yep, same here. Judging by Bernsteinbot results, queries are looking at a version of the database from 03:31, 24 April 2016 (UTC).

Le Deluge (talkcontribs)

Now seems to be OK again, it's caught up with itself.

Stefan2 (talkcontribs)

I retried with quarry:query/2934. Still 10 results. 8 of them appeared in the result set earlier today and should not be in the result set as the pages have been deleted.

Le Deluge (talkcontribs)
Stefan2 (talkcontribs)

quarry:query/2934 still returns 10 pages, partially the same ones as yesterday. Many of those should already have disappeared from the result set before it was generated yesterday, so the database appears to be partially stuck at some point well before 17:00 yesterday.

The Polish (talkcontribs)
Le Deluge (talkcontribs)

The odd page showing up in queries long after it was deleted may be a separate issue to the general lag that Stefan and I were seeing a week ago. I get it sometimes - for instance 8938 has several at the moment created by User:Mandawariya's. I think this is related to the category problems I reported 2 months ago where some categories enter a kind of limbo until the database is purged or they get a WP:NULLEDIT. If they get deleted before the db can be purged or they get a null edit, then they stick around on queries and it seems there's no way to get rid of them other than by creating and deleting them again. That's my guess, anyway.

Stefan2 (talkcontribs)

You can't recreate a page_id, so your suggesion to create and re-delete won't work. If you undelete a previously deleted page, or recreate it, then it will get a new page_id which is different from the old page_id.

Stefan2 (talkcontribs)

quarry:query/8403 now reports that there are 193,737 files on English Wikipedia without templates, although there normally are fewer than ten of those. Something seems to be wrong with the database.

Reply to "Database lag?"