[00:42:03] ToAruShiroiNeko: there isn't a way to make quarry queries run longer. The kill time is from the backend mysql servers. [01:54:30] bd808: "This query took longer than 30 minutes to execute and was killed." [01:54:45] Dont kill my query bro [01:55:56] the time limit is the same across all of the Labs replicas to try and keep the servers from being monopolized. [01:56:44] there are some new servers coming that may let us make a "long query" pool available. I think there is a phab task about it [01:58:09] I am trying to juggle commons [01:58:15] we have 35 million files [01:59:16] can you split the query into batches based on something that is indexed to get a more reasonable query? [01:59:27] how? [01:59:38] https://quarry.wmflabs.org/query/14423 [01:59:51] I tried simplifying it more [02:00:06] all those distincts are expensive [02:00:24] How can I make them cheap? [02:00:32] I have distincts to pull less rows [02:01:18] on the server side a distinct makes the server collect all of the rows and then throw away the dups. that costs ram and time [02:01:53] I wish I could run queries based on quarry results [02:02:38] that would be of great help [02:02:49] Do you know if thats possible? [02:03:22] I don't think we have support for temp tables in quarry which is what you would need [02:03:30] looks like none of the distincts is really needed [02:03:43] as well as subqueries [02:03:50] I don't see how this will actually match anything [02:04:16] you are joining on page_title=img_name and then looking for img_name=NULL [02:04:29] so it would be the same as page_title=NULL [02:04:42] no [02:04:45] also, are you sure that missing images have their image table rows missing ToAruShiroiNeko ? [02:04:50] or is that what you want? images without pages? [02:04:57] yes [02:05:04] images without files [02:06:22] hmmm "Using where; Using index; Not exists" [02:06:35] that's for my modfied query though [02:07:59] https://quarry.wmflabs.org/query/14498 [02:09:41] yeah, that looks better [02:10:01] I wrote pretty much the same thing [02:10:14] https://quarry.wmflabs.org/query/14501 [02:10:31] it still may be too big to finish all at one [02:10:34] *once [02:11:21] mine's only 24M rows, should fit in 30 mins :P [02:12:08] ONLY 24M [02:12:10] one way to split it up would be to add page_id ranges to the where clause [02:12:30] where page_id >= X and page_id <= Y [02:12:58] ToAruShiroiNeko, yours is closer to 200M rows :] [02:19:19] lies [02:19:35] https://quarry.wmflabs.org/query/14500 [02:19:38] simplified [02:20:03] https://quarry.wmflabs.org/query/14499 [02:21:01] bd808 hmm yes [02:21:10] but I am clueless of where the mid point is [02:21:33] I have this querry too: https://quarry.wmflabs.org/query/14418 [02:22:06] ToAruShiroiNeko: seriously, stop putting DISTINCT on everything :) [02:22:33] SELECT DISTINCT bd808 WHERE DISTINCT=TRUE; [02:23:28] bd808 I distinctly remember distincting you [02:24:26] ToAruShiroiNeko: https://quarry.wmflabs.org/query/14502 [02:24:38] min 26 max 53728249 [02:24:53] max will of course continue to change over time [02:26:05] You want me to take an average? [02:26:44] is 14500 expensive? [02:27:12] yen? dollars? pesos? [02:27:34] syrian dinars [02:27:41] oh select distinct img_name [02:27:51] yeah, it is [02:27:52] sorry syrian pound [02:28:03] WHY is it expensive [02:28:09] I just want a list of filenames [02:28:14] because of how a database works [02:28:22] make them work better [02:28:31] Make databases great again! [02:28:49] distinct says gather all the results, sort them, and then discard duplicates [02:31:08] whats so bad about that [02:31:26] real men sort their results and slap raw steak into computer fans [02:31:41] :p [02:56:57] ToAruShiroiNeko: https://quarry.wmflabs.org/query/14501 finished [02:57:14] 906 of them apparently [02:57:52] will process the list [02:57:56] to drain the swamp [03:00:43] bd808 but its wrong? [03:01:26] https://commons.wikimedia.org/wiki/User_talk:とある白い猫/Sandbox_2 [03:01:41] some are with files [03:01:43] whats going on? [03:20:42] bd808 why do you think is that? [04:24:06] The command "php maintenance/update.php" says "A copy of your installation's LocalSettings.phpmust exist and be readable in the source directory.Use --conf to specify it." What to do in order to update database tables. [04:29:14] Also do we need to have all those packages as mentioned in "INSTALL" file of Core? I have only LAMP server. [09:01:27] Hiya and thanks for the wonderfully purrring systems [09:01:46] What method of processing .php do you use / recommend ? [12:44:06] Anyone knows when andre__ will come? I need to extend my task deadline! [12:56:13] p_d: which task? [12:56:24] Reedy, GCI [12:56:32] Yes, I know it's GCI [12:56:38] But which task on GCI [12:56:42] So I've got a chance to find it [12:56:45] https://codein.withgoogle.com/dashboard/task-instances/4883381703671808/ [12:57:11] only about half an hour left [12:57:20] p_d: What's the reason for needing an extension? :) [12:57:38] vagrant [12:57:53] That doesn't make sense [12:57:59] Have you been having problems with it? [12:58:32] i have wasted more than 2 days just to install vagrant infact I have reinstalled ubuntu but again it gives some dependencies error. [12:58:43] Ok, that's fine [12:58:48] "vagrant" tells me nothing [12:58:57] I have installed mediawiki now and almost about to add extension [12:58:58] Is one day enough? [12:59:10] ya more than enough [12:59:21] It's the smallest unit it'll let me add ;) [12:59:52] p_d: Done [12:59:57] Oh..thanks [13:00:01] :) [13:02:43] Reedy, I am cloning a extension but it gives some error please view it- http://pastebin.com/Yb8ESCap [13:02:59] Did other things clone fine? [13:03:05] ya [13:03:10] Did you load your public key into your ssh-agent again? [13:03:51] ya i forget the passphrase i re-generated it and added the key again [13:04:05] Did you upload the new one to gerrit? [13:04:13] ya [13:04:15] no [13:04:50] heh [13:06:02] actually when I was re-genrating the passphrase it says -.ssh/id_rsa already exists.Overwrite (y/n)? y ..so I overwrite [13:06:13] but I uploaded the key again [13:09:42] Let me try with other extension [13:10:33] Hello. Got a question.. You are using Apaches for web server, right? Which method of processing .php do you use? I understand there are many competing methods to process .php files for Apache to serve [13:14:24] Well I just enter the file address in url [13:15:53] ex- I use http://localhost/mediawiki/index.php/ to access my wiki project [13:16:15] Reedy, same problem with other extensions too [15:05:47] anyone able to figure out where the 6,435 revisions restored on https://en.wikipedia.org/w/index.php?title=Special:Log&page=South+Africa came from? I cannot find a corresponding deletion log [15:39:17] [[Tech]]; F3ar13ss; /* Help with installing Common.css and Common.js */ new section; https://meta.wikimedia.org/w/index.php?diff=16124319&oldid=16100178&rcid=8633196 [17:33:50] How to Navigate to Special:Version on our wiki? as mentioned under Installation section of- https://www.mediawiki.org/wiki/Extension:InputBox [17:38:42] Where is this Special:Version page? [17:59:06] p_d: .../wiki/Special:Version [17:59:50] Stryn, I got it now its under special pages [18:01:31] Now according to the task - https://codein.withgoogle.com/dashboard/task-instances/4883381703671808/ ..What I'm supposed to do? To use create something with it? Or just capture the screen which shows all the "Installed Version"? I'm confused :/ [18:04:07] I've installed the extension InputBox [18:08:13] "Installed Extensions" I mean there above^ [18:22:34] p_d: most people can't open that URL; you should name your mentor [18:29:15] oh.. andre__ isn't here [18:32:03] Nemo_bis, in case if you want to check the task -http://pastebin.com/D8pMrFcE [18:36:31] p_d: you're not supposed to paste tasks publicly, otherwise they'd be public (as they used to be) [18:38:49] Oh sorry I didnt about that [19:32:44] [[Tech]]; Killiondude; /* Help with installing Common.css and Common.js */ [[mw:Project:Support desk]]; https://meta.wikimedia.org/w/index.php?diff=16124618&oldid=16124319&rcid=8633816 [21:26:58] [[Tech]]; F3ar13ss; /* Help with installing Common.css and Common.js */; https://meta.wikimedia.org/w/index.php?diff=16124742&oldid=16124618&rcid=8633987 [21:27:30] [[Tech]]; F3ar13ss; /* Help with installing Common.css and Common.js */; https://meta.wikimedia.org/w/index.php?diff=16124744&oldid=16124742&rcid=8633989 [21:33:23] [13:36] p_d: you're not supposed to paste tasks publicly, otherwise they'd be public (as they used to be) [21:33:28] Is that a Google rule or something? [21:33:35] It sounds weird and anti-Wikimedia. [21:35:26] Google made the tasks private to "counter cheating" [21:36:00] The task description itself is not a problem (we edit those on the wiki or Phabricator too) [21:37:01] [[Tech]]; MZMcBride; /* Help with installing Common.css and Common.js */ +reply; https://meta.wikimedia.org/w/index.php?diff=16124746&oldid=16124744&rcid=8633993 [21:37:06] Cheating! [21:37:07] Wow. [21:37:15] I'd love cheaters. [21:37:19] How do we recruit those? [21:37:31] If people are competing to fix bugs, that sounds like a dream. [21:40:21] Indeed that was not the issue.