Closed maskaravivek closed 5 years ago
I ran SQL optimizer for the query to get deleted uploads and it suggested me to use filearchive_userindex table instead.
filearchive_userindex
https://tools.wmflabs.org/sql-optimizer?use=commonswiki_p&sql=select+count%28*%29+from+filearchive+where+fa_user_text%3D%22Maskaravivek%22
Using the _userindex table seems to return the response much quicker. :)
https://quarry.wmflabs.org/query/31719
Looks to be done, https://github.com/urbanecm/commonsmisc/blob/master/feedback.py#L62.
I ran SQL optimizer for the query to get deleted uploads and it suggested me to use
filearchive_userindex
table instead.https://tools.wmflabs.org/sql-optimizer?use=commonswiki_p&sql=select+count%28*%29+from+filearchive+where+fa_user_text%3D%22Maskaravivek%22
Using the _userindex table seems to return the response much quicker. :)
https://quarry.wmflabs.org/query/31719