You are here: Foswiki>Tasks Web>Item10829 (02 Jun 2011, PaulHarvey)Edit Attach

Item10829: WIBNIF we didn't have to store this redundant _raw_text stuff

pencil
Priority: Enhancement
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MongoDBPlugin
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: PaulHarvey
Could it be configurable?

Reason: our working set size is now approaching 4GB, same as the physical memory of the VMs.

Chopping out _raw_text could halve the overhead.

OTOH I notice that some queries are still being hoisted out as the old regex form, Eg.
Thu Jun  2 15:42:41 [conn1644] command foswiki__Marine__SeaSlugs__Taxa.$cmd command: { count: "current", query: { _history: { $exists: 0 }, _web: "Marine/SeaSlugs/Taxa", _raw_text: /%META:TOPICPARENT[{].*name=\"(Marine/SeaSlugs/Taxa\.)?Glosplum\".*[}]%/i } } ntoreturn:1 reslen:48 1111ms

Apparently produced by our breadcrumb browser doing something like
%SEARCH{"parent.name='Glosplum'" ...}%

-- PaulHarvey - 02 Jun 2011

 

ItemTemplate edit

Summary WIBNIF we didn't have to store this redundant _raw_text stuff
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Extension
Component MongoDBPlugin
Priority Enhancement
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r1 - 02 Jun 2011, PaulHarvey - This page was cached on 20 Oct 2020 - 11:01.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy