skip menu and go to main content

body start

MoniWiki

Resolved  5만 페이지 이상의 규모에서 문제 점수정

10.08.05-14:31:25

315557

Submitted by wkpark

Assignee wkpark

View2767

Priority3

모니위키는 개인위키를 목표로 만들어졌기 때문에
페이지가 많아질 경우에 생길 수 있는 문제점에 대한 대비가 부족합니다.

예를 들어 엔하위키의 경우 현재 페이지가 8만페이지에 도달했기때문에 여러 문제점이 발생하고 있습니다.
 1. 본문 검색이 느립니다. - [[MoniWiki:FastSearchMacro]]을 개선합니다.
 2. 제목 검색이 느립니다.
 3. 랜덤페이지 매크로가 느립니다. getPageLists()
 4. TitleIndex 매크로가 느립니다.

Milestone : 1.1.5

Severity : Minor

Resolution : Fixed

Comments on this artfact

0 Comments

wkpark

Codes changed : moniwiki/plugin/FastSearch.php [#315557] do not use getPageLists() to get the number of pages.
loosly count hits for all pages initially and retry to count matches only for limitted pages.

10.08.06-00:51:47

wkpark

Codes changed : moniwiki/lib/indexer.DBA.php, moniwiki/wikilib.php, moniwiki/wiki.php [#315557] save the number of pages separatly
use indexer to speed up the RandomPage plugin.

10.08.06-00:57:30

wkpark

Codes changed : moniwiki/wikilib.php [#315557] cache titleindex to speed up

10.08.06-12:23:35

wkpark

Codes changed : moniwiki/wiki.php, moniwiki/wikilib.php, moniwiki/lib/indexer.DBA.php [#315557] * add getAllPages() method to the DBA indexer.
 * check $use_indexer to use $indexer->getAllPages() get the pages list.
 * close() indexer correctly.

10.08.10-16:50:06

wkpark

"Assigned To" was changed from "Nobody" to "wkpark"

10.08.11-11:58:15

wkpark

"Milestone" was changed from "None" to "1.1.5"

10.08.11-11:58:16

wkpark

Codes changed : moniwiki/wikilib.php, moniwiki/wiki.php, moniwiki/plugin/Gallery.php [#315557]
 * extract get_pagelist() from gallery.php to wikilib.php
 * paginate TitleIndex
 * fixed link_tag bug introduced by [#315547] r1.536 wiki.php

10.08.15-00:12:10

wkpark

"Resolution" was changed from "None" to "Fixed"
"Severity" was changed from "None" to "Minor"
"State" was changed from "Open" to "Closed"

10.08.15-00:34:05

wkpark

Codes changed : moniwiki/wikilib.php, moniwiki/lib/PageIndex.php, moniwiki/tools/pageindex.php [#315557] add PageIndex class to fix RandomPage plugin problem with more than 10000 pages wiki

10.08.16-19:22:00

wkpark

Codes changed : moniwiki/wikilib.php [#315557] fixed last change for pagenate

10.08.16-22:52:45

wkpark

Codes changed : moniwiki/wikilib.php [#315557] use PageIndex method to do_randompage

10.08.28-13:34:08