On Mon, Jun 3, 2013 at 11:18 AM, Mark A. Hershberger <[email protected]>wrote:

> > IndexPager would let you dive right in to a row offset for any index
> type,
> > but would be much more expensive in lookups on the table (and leaves
> > unstable URLs whose contents change as the database changes).
>
> Right.
>
> I'm not too worried about unstable URLs at this point (maybe later), but
> do you have an example for row offsets?  I'm probably missing something,
> but I don't see an easy way to get the total # of rows at this point.
> Since I'm using an older version of MW for this (1.13 -- not my choice!)
> is there something I need to backport?  I've looked around already, but
> I'm hoping there is just something I'm missing.
>

I guess you'd just have to emit the query with a count(*).... it could be
very expensive on a large table. :(

-- brion
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to