[pmwiki-users] Large ammount of articles... about 50k
Jaime Sempere
jokerman44 at hotmail.com
Mon May 23 15:07:29 CDT 2011
Hi Patrick,
thanks a lot for your personal help. What do you think about the other suggested solution proposed, using SQLite recipe? What approach would you use?
> Date: Mon, 23 May 2011 14:35:24 -0500
> From: pmichaud at pobox.com
> To: jokerman44 at hotmail.com
> CC: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Large ammount of articles... about 50k
>
> On Mon, May 23, 2011 at 06:20:03PM +0000, Jaime Sempere wrote:
> > I have been using PMwiki for a wiki and really like its
> > simplicity. I was thinking to use for a large amount of
> > articles (as indicated on the subject of this mail,
> > about 50.000 articles, and later I hope to increase
> > the articles until 250.000 or even more).
>
> I've had at least one site that had over 250,000 pages
> and supported hundreds of authors, with several dozen
> editing at the same time. As long as you aren't wanting
> PmWiki to do lots of searches or pagelists of those
> 250K pages, PmWiki can handle it.
>
> (If you do need searching capabilities at that scale,
> I recommend an external search engine such as htDig
> or even Google. At the site I just mentioned, we let
> Google index the site and provide all of our search
> results.)
>
> The trick is indeed to make sure the pages don't
> end up in the same filesystem directory. If you have groups,
> it's natural to subdivide by group name; if not, then
> you can use almost any other criteria you wish that can
> be reliably determined from the pagename. Here's an
> example customization that subdivides based on the
> first letter of each article's name:
>
> $FmtPV['$Name1'] = 'substr($name, 0, 1)';
> $WikiDir = new PageStore('wiki.d/{$Name1}/{$FullName}');
>
> The first line creates a $Name1 page variable that returns
> the first letter of a page's name. The second line sets
> the default page storage ($WikiDir) to be wiki.d with
> the articles subdivided into subdirectories based on the
> first letter of each name. Thus an article of Main.HomePage
> would end up in wiki.d/H/Main.HomePage .
>
> If subdividing by first letter isn't enough, it's easy
> to switch to the first two, first three, etc., letters.
>
> Pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110523/8e6c97a4/attachment.html>
More information about the pmwiki-users
mailing list