<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Hi Patrick, <br><br>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?<br><br><br>> Date: Mon, 23 May 2011 14:35:24 -0500<br>> From: pmichaud@pobox.com<br>> To: jokerman44@hotmail.com<br>> CC: pmwiki-users@pmichaud.com<br>> Subject: Re: [pmwiki-users] Large ammount of articles... about 50k<br>> <br>> On Mon, May 23, 2011 at 06:20:03PM +0000, Jaime Sempere wrote:<br>> > I have been using PMwiki for a wiki and really like its <br>> > simplicity. I was thinking to use for a large amount of <br>> > articles (as indicated on the subject of this mail, <br>> > about 50.000 articles, and later I hope to increase <br>> > the articles until 250.000 or even more). <br>> <br>> I've had at least one site that had over 250,000 pages<br>> and supported hundreds of authors, with several dozen<br>> editing at the same time.  As long as you aren't wanting<br>> PmWiki to do lots of searches or pagelists of those <br>> 250K pages, PmWiki can handle it.<br>> <br>> (If you do need searching capabilities at that scale,<br>> I recommend an external search engine such as htDig<br>> or even Google.  At the site I just mentioned, we let<br>> Google index the site and provide all of our search<br>> results.)<br>> <br>> The trick is indeed to make sure the pages don't<br>> end up in the same filesystem directory.  If you have groups,<br>> it's natural to subdivide by group name; if not, then<br>> you can use almost any other criteria you wish that can<br>> be reliably determined from the pagename.  Here's an<br>> example customization that subdivides based on the <br>> first letter of each article's name:<br>> <br>>     $FmtPV['$Name1'] = 'substr($name, 0, 1)';<br>>     $WikiDir = new PageStore('wiki.d/{$Name1}/{$FullName}');<br>> <br>> The first line creates a $Name1 page variable that returns<br>> the first letter of a page's name.  The second line sets<br>> the default page storage ($WikiDir) to be wiki.d with<br>> the articles subdivided into subdirectories based on the<br>> first letter of each name.  Thus an article of Main.HomePage<br>> would end up in wiki.d/H/Main.HomePage .<br>> <br>> If subdividing by first letter isn't enough, it's easy<br>> to switch to the first two, first three, etc., letters.<br>> <br>> Pm<br>> <br>                                      </body>
</html>