Bugs item #1976341, was opened at 2008-05-28 11:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1976341&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/runtime
Group: MonetDB4 4.24
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: leftovers after deleting document

Initial Comment:
Using todays stable build (preJune, May28, 2008) but it happens with earlier 
builds as well), the dbfarm isn't cleaned up as expected after deleting a 
document with 'pf:del-doc()'. 

When repeatedly adding and deleting documents, the leftovers start piling up, 
and eventually the system runs out of disk-space.

See example below.

bash-3.2$ wc -c /tmp/aap.xml 
292890833 /tmp/aap.xml
bash-3.2$ echo 'pf:add-doc("/tmp/aap.xml","aap.xml")' | mclient -lxq 
bash-3.2$ du -sh /tmp/dbfolder/
367M    /tmp/dbfolder/
bash-3.2$ echo 'pf:add-doc("/tmp/aap.xml","aap_1.xml")' | mclient -lxq 
bash-3.2$ du -sh /tmp/dbfolder/
733M    /tmp/dbfolder/
bash-3.2$ echo 'pf:add-doc("/tmp/aap.xml","aap_2.xml")' | mclient -lxq 
bash-3.2$ du -sh /tmp/dbfolder/
1.1G    /tmp/dbfolder/
bash-3.2$

bash-3.2$ echo 'pf:del-doc("aap_2.xml")' | mclient -lxq 
bash-3.2$ du -sh /tmp/dbfolder/
997M    /tmp/dbfolder/
bash-3.2$ echo 'pf:del-doc("aap_1.xml")' | mclient -lxq 
bash-3.2$ du -sh /tmp/dbfolder/
895M    /tmp/dbfolder/
bash-3.2$ du -sh /tmp/dbfolder/
895M    /tmp/dbfolder/
bash-3.2$ du -sh /tmp/dbfolder/
895M    /tmp/dbfolder/
bash-3.2$ echo 'pf:del-doc("aap.xml")' | mclient -lxq 
bash-3.2$ du -sh /tmp/dbfolder/
794M    /tmp/dbfolder/
bash-3.2$ du -sh /tmp/dbfolder/
794M    /tmp/dbfolder/
bash-3.2$ 




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1976341&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to