<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-4361</id>
	<title>Nabble - MonetDB - Monet Database Management Syst</title>
	<updated>2009-11-29T15:52:13Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/MonetDB---Monet-Database-Management-Syst-f4361.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonetDB---Monet-Database-Management-Syst-f4361.html" />
	<subtitle type="html">MonetDB is a database management system developed from a main-memory perspective using a fully decomposed storage model, automatic index management, extensibility of data types and search accellerators, SQL- and XQuery- frontends. MonetDB - Monet Database Management Syst home is &lt;a href=&quot;http://sourceforge.net/projects/monetdb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26567726</id>
	<title>Announcement: New Nov2009 feature release of MonetDB suite</title>
	<published>2009-11-29T15:52:13Z</published>
	<updated>2009-11-29T15:52:13Z</updated>
	<author>
		<name>Stefan Manegold</name>
	</author>
	<content type="html">Dear all,
&lt;br&gt;&lt;br&gt;&lt;br&gt;The MonetDB team at CWI/MonetDB BV are pleased to announce the new
&lt;br&gt;&amp;quot;Nov2009&amp;quot; feature release of the MonetDB suite of programs.
&lt;br&gt;This feature release is backward compatible with the previous
&lt;br&gt;releases (Nov2008 through Aug2009-SP2).
&lt;br&gt;&lt;br&gt;Caveat 1:
&lt;br&gt;In MonetDB/XQuery, we extended and improved the use of value indices on
&lt;br&gt;comparisions between a value and an XPath ending in text() or attribute
&lt;br&gt;access (e.g., doc(x)//x/y[z/text() = &amp;quot;foo&amp;quot;] and for $x in doc//x/y where
&lt;br&gt;$x/@z = &amp;quot;bar&amp;quot; return $x); such queries do not need scanning data, but start
&lt;br&gt;at the index and navigate backwards from there.
&lt;br&gt;This required a change in the physical database storage. While the Nov2009
&lt;br&gt;release of MonetDB/XQuery can still read older (pre-Nov2009) databases, it
&lt;br&gt;is recommended to (back-up and) re-shred all documents to benefit from the
&lt;br&gt;new indices and achieve optimal performance.
&lt;br&gt;&lt;br&gt;Caveat 2:
&lt;br&gt;When upgrading from a release older than May2009 (i.e., Nov2008
&lt;br&gt;through Feb2009-SP2), you need to move your write-ahead log
&lt;br&gt;following the &amp;quot;recommended&amp;quot; instructions for
&lt;br&gt;SQL (&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Development/Releases/May2009/#SQL&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Development/Releases/May2009/#SQL&lt;/a&gt;&amp;gt;)
&lt;br&gt;and/or
&lt;br&gt;XQuery (&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Development/Releases/May2009/#XQuery&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Development/Releases/May2009/#XQuery&lt;/a&gt;&amp;gt;).
&lt;br&gt;&lt;br&gt;&lt;br&gt;More information on the new release is available at
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Development/Releases/Nov2009/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Development/Releases/Nov2009/&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;The sources and binaries are available at
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Download/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Download/&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Enjoy!
&lt;br&gt;&lt;br&gt;The MonetDB team at CWI/MonetDB BV.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;| Dr. Stefan Manegold | mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stefan.Manegold@...&lt;/a&gt; |
&lt;br&gt;| CWI, &amp;nbsp;P.O.Box 94079 | &lt;a href=&quot;http://www.cwi.nl/~manegold/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cwi.nl/~manegold/&lt;/a&gt;&amp;nbsp; |
&lt;br&gt;| 1090 GB Amsterdam &amp;nbsp; | Tel.: +31 (20) 592-4212 &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;| The Netherlands &amp;nbsp; &amp;nbsp; | Fax : +31 (20) 592-4312 &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567726&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-developers-f4365.html&quot; embed=&quot;fixTarget[4365]&quot; target=&quot;_top&quot; &gt;monetdb-developers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Announcement%3A-New-Nov2009-feature-release-of-MonetDB-suite-tp26567726p26567726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26567730</id>
	<title>Announcement: New Nov2009 feature release of MonetDB suite</title>
	<published>2009-11-29T15:52:13Z</published>
	<updated>2009-11-29T15:52:13Z</updated>
	<author>
		<name>Stefan Manegold</name>
	</author>
	<content type="html">Dear all,
&lt;br&gt;&lt;br&gt;&lt;br&gt;The MonetDB team at CWI/MonetDB BV are pleased to announce the new
&lt;br&gt;&amp;quot;Nov2009&amp;quot; feature release of the MonetDB suite of programs.
&lt;br&gt;This feature release is backward compatible with the previous
&lt;br&gt;releases (Nov2008 through Aug2009-SP2).
&lt;br&gt;&lt;br&gt;Caveat 1:
&lt;br&gt;In MonetDB/XQuery, we extended and improved the use of value indices on
&lt;br&gt;comparisions between a value and an XPath ending in text() or attribute
&lt;br&gt;access (e.g., doc(x)//x/y[z/text() = &amp;quot;foo&amp;quot;] and for $x in doc//x/y where
&lt;br&gt;$x/@z = &amp;quot;bar&amp;quot; return $x); such queries do not need scanning data, but start
&lt;br&gt;at the index and navigate backwards from there.
&lt;br&gt;This required a change in the physical database storage. While the Nov2009
&lt;br&gt;release of MonetDB/XQuery can still read older (pre-Nov2009) databases, it
&lt;br&gt;is recommended to (back-up and) re-shred all documents to benefit from the
&lt;br&gt;new indices and achieve optimal performance.
&lt;br&gt;&lt;br&gt;Caveat 2:
&lt;br&gt;When upgrading from a release older than May2009 (i.e., Nov2008
&lt;br&gt;through Feb2009-SP2), you need to move your write-ahead log
&lt;br&gt;following the &amp;quot;recommended&amp;quot; instructions for
&lt;br&gt;SQL (&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Development/Releases/May2009/#SQL&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Development/Releases/May2009/#SQL&lt;/a&gt;&amp;gt;)
&lt;br&gt;and/or
&lt;br&gt;XQuery (&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Development/Releases/May2009/#XQuery&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Development/Releases/May2009/#XQuery&lt;/a&gt;&amp;gt;).
&lt;br&gt;&lt;br&gt;&lt;br&gt;More information on the new release is available at
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Development/Releases/Nov2009/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Development/Releases/Nov2009/&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;The sources and binaries are available at
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://monetdb.cwi.nl/Download/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/Download/&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Enjoy!
&lt;br&gt;&lt;br&gt;The MonetDB team at CWI/MonetDB BV.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;| Dr. Stefan Manegold | mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567730&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stefan.Manegold@...&lt;/a&gt; |
&lt;br&gt;| CWI, &amp;nbsp;P.O.Box 94079 | &lt;a href=&quot;http://www.cwi.nl/~manegold/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cwi.nl/~manegold/&lt;/a&gt;&amp;nbsp; |
&lt;br&gt;| 1090 GB Amsterdam &amp;nbsp; | Tel.: +31 (20) 592-4212 &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;| The Netherlands &amp;nbsp; &amp;nbsp; | Fax : +31 (20) 592-4312 &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567730&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Announcement%3A-New-Nov2009-feature-release-of-MonetDB-suite-tp26567730p26567730.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563233</id>
	<title>[ monetdb-Bugs-921173 ] SQL: extremely long and complex query causes SEGFAULT</title>
	<published>2009-11-29T08:01:05Z</published>
	<updated>2009-11-29T08:01:05Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #921173, was opened at 2004-03-22 17:04
&lt;br&gt;Message generated for change (Comment added) made by nielsnes
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=921173&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=921173&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: SQL CVS Head
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: Fixed
&lt;br&gt;Priority: 6
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Sjoerd Mullender (sjoerd)
&lt;br&gt;Assigned to: Niels Nes (nielsnes)
&lt;br&gt;Summary: SQL: extremely long and complex query causes SEGFAULT
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;The attached file contains a query from the crash-me
&lt;br&gt;script that causes a SEGFAULT in the server.
&lt;br&gt;&lt;br&gt;My guess is that there is a buffer overflow in
&lt;br&gt;sql_gencode. &amp;nbsp;I'm looking into it.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Niels Nes (nielsnes)
&lt;br&gt;Date: 2009-11-29 16:01
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;closed, we no longjmp out of the recursion.
&lt;br&gt;&lt;br&gt;The overflow problem which we used to hit here (when we didn't crash)
&lt;br&gt;isn't fixed but is covered by the 'case overflow bug'.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-16 22:19
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;test has been disabled in Nov2009 branch, only.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-08-14 12:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;tagged subject
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-08-13 16:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Should this test be disabled in the Aug2009 branch, again?
&lt;br&gt;cf.
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTests103/GNU.64.64.d.1-Fedora10/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.out.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTests103/GNU.64.64.d.1-Fedora10/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.out.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-02-15 20:08
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;test
&lt;br&gt;sql/src/test/BugDay_2005-10-06_2.9.3/Tests/huge_expression_and_column_name.SF-921173*
&lt;br&gt;has been disabled in the Feb2009 release branch as the bug won't be fixed,
&lt;br&gt;there.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Martin Kersten (mlkersten)
&lt;br&gt;Date: 2008-11-10 08:08
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;The overflow is caused by the SQL default to assume a tinyint type
&lt;br&gt;as argument. We cannot assume the compiler to be more clever.
&lt;br&gt;The result is an overflow which is correctly catched
&lt;br&gt;with a null. (provided tinyint is 0-255 ;))
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Niels Nes (nielsnes)
&lt;br&gt;Date: 2008-06-02 07:13
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=43556
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The problem here is overflow detection. On gdk and m4/m5 level we need to
&lt;br&gt;introduce some overflow exceptions.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2008-06-01 19:44
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Re-opened as the respective test fails again (still?).
&lt;br&gt;&lt;br&gt;With M5 server (both default and &amp;quot;algebra&amp;quot; SQL compiler), only the output
&lt;br&gt;seems to differ (returns &amp;quot;NULL&amp;quot; instead of &amp;quot;2001&amp;quot;):
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTests5103/GNU.64.64.d-Fedora8/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.out.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTests5103/GNU.64.64.d-Fedora8/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.out.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTestsG103/GNU.64.64.d-Fedora8/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.out.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTestsG103/GNU.64.64.d-Fedora8/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.out.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;With M4 server, the test triggers a segfault (at least on some
&lt;br&gt;architectures):
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTests4103/GNU.64.64.d-Fedora8/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTests4103/GNU.64.64.d-Fedora8/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2006-01-15 13:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;&lt;br&gt;Closed as the actual/original bug is fixed.
&lt;br&gt;&lt;br&gt;The segfault on some platforms is file in this new report
&lt;br&gt;#1406591 &amp;quot;several tests cause segfault on the same subset
&lt;br&gt;of
&lt;br&gt;platforms&amp;quot;
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1406591&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1406591&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2006-01-14 12:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;&lt;br&gt;re-opend as it segfauls on the same platforms as
&lt;br&gt;#1314982 &amp;quot;kill(0) causes SEGFAULT&amp;quot;
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1314982&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1314982&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;and
&lt;br&gt;#1292727 &amp;quot;Mserver segfault because of 'col_name'&amp;quot;
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1292727&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1292727&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&lt;br&gt;Fedora Core 4 (32-bit)
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-Fedora4/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-Fedora4/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&lt;/a&gt;&lt;br&gt;Gentoo 1.6.13 (32-bit)
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-Gentoo1.6.13/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-Gentoo1.6.13/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&lt;/a&gt;&lt;br&gt;SuSE 9.3 (32-bit)
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-SuSE9.3/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-SuSE9.3/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&lt;/a&gt;&lt;br&gt;SuSE 9ES (32-bit)
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-SuSE9ES/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.mTests103/GNU.32.32.d-SuSE9ES/src_test_BugDay_2005-10-06_2.9.3/huge_expression_and_column_name.SF-921173.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Niels Nes (nielsnes)
&lt;br&gt;Date: 2005-10-23 11:57
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=43556
&lt;br&gt;&lt;br&gt;check for to big (recursion depth) queries is added.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Niels Nes (nielsnes)
&lt;br&gt;Date: 2005-10-22 22:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=43556
&lt;br&gt;&lt;br&gt;check for to big (recursion depth) queries is added.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2005-10-06 10:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;&lt;br&gt;BugDay_2005-10-06: CLAIMED BY stmane
&lt;br&gt;&lt;br&gt;BugDay_2005-10-06: TEST ADDED / FAILURE
&lt;br&gt;test (excl. stable.out) added as
&lt;br&gt;sql/src/test/BugDay_2005-10-06_2.9.3/Tests/huge_expression_and_column_name.SF-921173.*
&lt;br&gt;&lt;br&gt;bug re-opened, as the segfault re-occurs (at least with
&lt;br&gt;MonetDB 4.9.3 + SQL 2.9.3 compiled with gcc 4.0.1 on my
&lt;br&gt;64-bit Fedora Core sytem)
&lt;br&gt;&lt;br&gt;It might very well be that we run out of stack space with a
&lt;br&gt;rather deep recursion...!
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Niels Nes (nielsnes)
&lt;br&gt;Date: 2004-03-22 19:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=43556
&lt;br&gt;&lt;br&gt;A to &amp;nbsp;large column name was generated. Column names are now
&lt;br&gt;protected,
&lt;br&gt;but a full audit (buffer overflow) of sql_gencode is needed.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=921173&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=921173&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-921173---SQL%3A-extremely-long-and-complex-query-causes-SEGFAULT-tp26563233p26563233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26560029</id>
	<title>[ monetdb-Bugs-2902320 ] SQL: COPY multiple files</title>
	<published>2009-11-29T00:02:26Z</published>
	<updated>2009-11-29T00:02:26Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2902320, was opened at 2009-11-23 08:01
&lt;br&gt;Message generated for change (Comment added) made by nielsnes
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2902320&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2902320&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: SQL/Core
&lt;br&gt;Group: SQL CVS Head
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Fixed
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Martin Kersten (mlkersten)
&lt;br&gt;Assigned to: Niels Nes (nielsnes)
&lt;br&gt;Summary: SQL: COPY multiple files 
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;create table tmp(i int);
&lt;br&gt;copy into tmp from 'file1','file2';
&lt;br&gt;&lt;br&gt;only produces the MAL code for copying file1.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Niels Nes (nielsnes)
&lt;br&gt;Date: 2009-11-29 08:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;added test copy_multiple_files.SF-2902320.sql
&lt;br&gt;&lt;br&gt;Added the missing code for handling multiple files
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2902320&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2902320&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26560029&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2902320---SQL%3A-COPY-multiple-files-tp26560029p26560029.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557995</id>
	<title>SABAOTHgetMyStatus Too many open files</title>
	<published>2009-11-28T15:27:08Z</published>
	<updated>2009-11-28T15:27:08Z</updated>
	<author>
		<name>Matthew Jones-5</name>
	</author>
	<content type="html">Hey Folks, we are continuing to get deadlocks about once a day and I&amp;#39;ve noticed this in the logfile:&lt;br&gt;&lt;br&gt;2009-11-28 14:31:05 ERR reporting_primary[31485]: !SABAOTHgetMyStatus: IOException:sabaoth.getStatus:Unable to open directory /opt/MonetDB5/dbfarm: Too many open files&lt;br&gt;

&lt;br&gt;Not sure how many open files it had when it went south, but immediately after a restart I saw this in files-nr:&lt;br&gt;&lt;br&gt;&lt;font size=&quot;2&quot;&gt;# cat /proc/sys/fs/file-nr&lt;br&gt;
1408    0       3164775&lt;br&gt;&lt;br&gt;That third number being the &amp;#39;files-max&amp;#39; on the system currently... I think that must be being dynamically set.&lt;br&gt;&lt;br&gt;This is with the latest release August2009-SP2, the net effect is a deadlock on all connections to merovingian and a segfault of the mserver process.&lt;br&gt;

&lt;br&gt;Neils, this is what led up to that &amp;#39;log&amp;#39; file being truncated in sql_logs a few days ago... this message occurred just before this happened.    I&amp;#39;ve restarted my database and should see the problem reproduce itself again within 24 hours.   I am recording the number of file descriptors in use every minute by mserver, merovingian, and overall for the system so I can know what the numbers were leading up to it.&lt;br&gt;

&lt;br&gt;Is this a file descriptor leak in Monet or is my files-max set too low (even though it appears to be dynamic)?&lt;br&gt;&lt;/font&gt;&lt;br clear=&quot;all&quot;&gt;73,&lt;br&gt;Matthew W. Jones (KI4ZIB)&lt;br&gt;&lt;a href=&quot;http://matburt.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://matburt.net&lt;/a&gt;&lt;br&gt;


&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557995&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SABAOTHgetMyStatus-Too-many-open-files-tp26557995p26557995.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26542888</id>
	<title>Re: Fatal error: aborted too deep recursion</title>
	<published>2009-11-27T05:49:15Z</published>
	<updated>2009-11-27T05:49:15Z</updated>
	<author>
		<name>Harm van Beek(DT)</name>
	</author>
	<content type="html">Hi Peter,
&lt;br&gt;&lt;br&gt;We indeed execute a large query (which is constructed by progra mcode,
&lt;br&gt;so hard to change).
&lt;br&gt;You can find the query at the bottom of my reply.
&lt;br&gt;&lt;br&gt;I understand that you introduced the limits to not run out of stack
&lt;br&gt;space. However, since we are in full control of the system on which the
&lt;br&gt;query is executed, we might be able to adapt the limits to our
&lt;br&gt;environment. Can you give us directions on where to set this?
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;&lt;br&gt;Harm
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;query:
&lt;br&gt;&lt;br&gt;element result { 
&lt;br&gt;&amp;nbsp;for $name in distinct-values( (
&lt;br&gt;&amp;nbsp; let $var1 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp;let $var2 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; let $var3 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;let $var4 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; let $var5 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;let $var6 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; let $var7 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;let $var8 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; let $var9 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;let $var10 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; let $var11 := 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;let $var12 := doc('document.xml')//properties/..
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $var12[ (self::registry) ]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $var11/ancestor-or-self::file[1]/properties/..
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $var10[ properties/(name)[ contains( lower-case(.),
&lt;br&gt;'system' ) ] &amp;nbsp;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $var9/child::registry/properties/..
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $var8/child::key/properties/..
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $var7/child::key/properties/..
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $var6/child::key/properties/..
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return $var5[ properties/(name)[ . = 'Enum' ] &amp;nbsp;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return $var4/descendant-or-self::key/properties/..
&lt;br&gt;&amp;nbsp; &amp;nbsp; return $var3[ properties/(name)[ contains( lower-case(.), 'usb' ) ]
&lt;br&gt;]
&lt;br&gt;&amp;nbsp; &amp;nbsp;return $var2/descendant-or-self::value/properties/..
&lt;br&gt;&amp;nbsp; return $var1[ properties/(name)[ . = 'LocationInformation' ] &amp;nbsp;]
&lt;br&gt;&amp;nbsp; )/properties/*/name() 
&lt;br&gt;&amp;nbsp;) 
&lt;br&gt;&amp;nbsp;return element name { $name } 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;-----Original Message-----
&lt;br&gt;&amp;gt;From: Peter Boncz [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542888&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;P.Boncz@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt;Sent: Friday, November 27, 2009 10:26 AM
&lt;br&gt;&amp;gt;To: 'Communication channel for MonetDB users'
&lt;br&gt;&amp;gt;Subject: Re: [MonetDB-users] Fatal error: aborted too deep recursion
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hi Harm,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;The 'too deep recursion' error is typically triggered by very 
&lt;br&gt;&amp;gt;large queries that
&lt;br&gt;&amp;gt;send the pathfinder compiler into a very deep (and time 
&lt;br&gt;&amp;gt;consuming) search. The
&lt;br&gt;&amp;gt;error is given to prevent a crash due to lack of stack space. 
&lt;br&gt;&amp;gt;Recently, I do
&lt;br&gt;&amp;gt;recall that the limits were tightened as there are some 
&lt;br&gt;&amp;gt;operating systems in our
&lt;br&gt;&amp;gt;nightly test farm that give their processes little stack 
&lt;br&gt;&amp;gt;space, and could still
&lt;br&gt;&amp;gt;cause pathfinder to crash due to lack of stack space.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;So, it depends. The limit when to break off search is 
&lt;br&gt;&amp;gt;arbitrary and based
&lt;br&gt;&amp;gt;currently on the lowest common denominator among the systems 
&lt;br&gt;&amp;gt;we used. We could
&lt;br&gt;&amp;gt;potentially increase it (and possibly fix the settings on our 
&lt;br&gt;&amp;gt;testing machines
&lt;br&gt;&amp;gt;to allow more stack space). We could even introduce a 
&lt;br&gt;&amp;gt;user-controller limit.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;However, this phenomenon typically happens only on strange 
&lt;br&gt;&amp;gt;queries (e.fg doing
&lt;br&gt;&amp;gt;tens or hundreds XPath steps after each other). 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Could you share what query produced such an error for you?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Best,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Peter Boncz
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: Martin Kersten [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542888&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Martin.Kersten@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; Sent: Thursday, November 26, 2009 4:28 PM
&lt;br&gt;&amp;gt;&amp;gt; To: Communication channel for MonetDB users
&lt;br&gt;&amp;gt;&amp;gt; Subject: Re: [MonetDB-users] Fatal error: aborted too deep recursion
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Harm van Beek(DT) wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; During the development of our tool, using Xquery on 
&lt;br&gt;&amp;gt;MonetDB, we ran onto
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the following error:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ERROR = !fatal error: aborted too deep recursion
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;From previous posts (I guess) I can conclude that this 
&lt;br&gt;&amp;gt;relates to an
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Xquery that simply is too big (too many operators) to 
&lt;br&gt;&amp;gt;create a good plan
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; for it.
&lt;br&gt;&amp;gt;&amp;gt; All systems have limits that either cause an emergency stop. 
&lt;br&gt;&amp;gt;In this case,
&lt;br&gt;&amp;gt;&amp;gt; the operating system has such a limit.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I tried several MonetDB releases (May2009-SP2, 
&lt;br&gt;&amp;gt;Aug2009-SP2, Nov2009-DB0)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; on Red Hat Enterprise Linux Server release 5.4 (Tikanga), 
&lt;br&gt;&amp;gt;all showing
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the same result.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Does anyone have any directions on how to solve this?
&lt;br&gt;&amp;gt;&amp;gt; Yes. Programming cleverness comes into play. Especially if 
&lt;br&gt;&amp;gt;you use a tool
&lt;br&gt;&amp;gt;&amp;gt; to generate queries, then that tool should be a little more 
&lt;br&gt;&amp;gt;conservative
&lt;br&gt;&amp;gt;&amp;gt; in the kind of queries generated.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Can we reconfigure the compiler to fix this (or recompile it with
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; options)?
&lt;br&gt;&amp;gt;&amp;gt; No. At some point the optimization space becomes just too big.
&lt;br&gt;&amp;gt;&amp;gt; People that can spare the time to find the optimal settings 
&lt;br&gt;&amp;gt;for a larger
&lt;br&gt;&amp;gt;&amp;gt; application space are more then welcome to try it out on the 
&lt;br&gt;&amp;gt;source code
&lt;br&gt;&amp;gt;&amp;gt; made available.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; regards, Martin
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thanks in advance!
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Harm van Beek
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Netherlands Forensic Institute
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;---------------------------------------------------------------
&lt;br&gt;&amp;gt;----------
&lt;br&gt;&amp;gt;&amp;gt; -----
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Let Crystal Reports handle the reporting - Free Crystal 
&lt;br&gt;&amp;gt;Reports 2008 30-
&lt;br&gt;&amp;gt;&amp;gt; Day
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; trial. Simplify your report design, integration and 
&lt;br&gt;&amp;gt;deployment - and
&lt;br&gt;&amp;gt;&amp;gt; focus on
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542888&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;---------------------------------------------------------------
&lt;br&gt;&amp;gt;------------
&lt;br&gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal 
&lt;br&gt;&amp;gt;Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and 
&lt;br&gt;&amp;gt;deployment - and focus
&lt;br&gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542888&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; No virus found in this incoming message.
&lt;br&gt;&amp;gt;&amp;gt; Checked by AVG - www.avg.com
&lt;br&gt;&amp;gt;&amp;gt; Version: 8.5.426 / Virus Database: 270.14.83/2526 - Release 
&lt;br&gt;&amp;gt;Date: 11/25/09
&lt;br&gt;&amp;gt;&amp;gt; 19:43:00
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;---------------------------------------------------------------
&lt;br&gt;&amp;gt;---------------
&lt;br&gt;&amp;gt;Let Crystal Reports handle the reporting - Free Crystal 
&lt;br&gt;&amp;gt;Reports 2008 30-Day 
&lt;br&gt;&amp;gt;trial. Simplify your report design, integration and deployment 
&lt;br&gt;&amp;gt;- and focus on 
&lt;br&gt;&amp;gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;MonetDB-users mailing list
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542888&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26542888&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fatal-error%3A-aborted-too-deep-recursion-tp26530909p26542888.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541543</id>
	<title>[ monetdb-Bugs-2903072 ] M5/GDK: assertion decref in gdk_bbp.mx</title>
	<published>2009-11-27T04:02:46Z</published>
	<updated>2009-11-27T04:02:46Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2903072, was opened at 2009-11-24 13:17
&lt;br&gt;Message generated for change (Comment added) made by mlkersten
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903072&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903072&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Core
&lt;br&gt;Group: MonetDB5 CVS Head
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Fabian (mr-meltdown)
&lt;br&gt;Assigned to: Martin Kersten (mlkersten)
&lt;br&gt;Summary: M5/GDK: assertion decref in gdk_bbp.mx
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;side effect of quicktest (running all tests in All file through mclient), I found this crash:
&lt;br&gt;&lt;br&gt;stderr of test 'tst272` in directory 'src/mal` itself:
&lt;br&gt;&lt;br&gt;# mserver5 --dbfarm=/tmp/tmp.wSFC1a0iC6/server/mal/src_mal/dbfarm --dbname=mTests_src_mal --set mapi_port=54000 --set monet_daemon=yes
&lt;br&gt;#warning: please don't forget to set your vault key!
&lt;br&gt;#(see /export/scratch/stripe/fabian/monetdb/current/program-i86pc/etc/monetdb5.conf)
&lt;br&gt;&lt;br&gt;# mclient -i -lmal -p54000 &amp;lt; src/mal/Tests/tst272.mal
&lt;br&gt;MAPI &amp;nbsp;= monetdb@localhost:54000
&lt;br&gt;ACTION= read_line
&lt;br&gt;QUERY = profiler.cleanup();
&lt;br&gt;ERROR = !Connection terminated
&lt;br&gt;&lt;br&gt;# additional server output (if any) follows
&lt;br&gt;&lt;br&gt;Assertion failed: 0, file /export/scratch/mirror/fabian/monetdb/current/common/src/gdk/gdk_bbp.mx, line 1814, function decref
&lt;br&gt;&lt;br&gt;# EOT src/mal/Tests/tst272.mal
&lt;br&gt;&lt;br&gt;&lt;br&gt;stdout of test 'tst272` in directory 'src/mal` itself:
&lt;br&gt;&lt;br&gt;# mserver5 --dbfarm=/tmp/tmp.wSFC1a0iC6/server/mal/src_mal/dbfarm --dbname=mTests_src_mal --set mapi_port=54000 --set monet_daemon=yes
&lt;br&gt;&lt;br&gt;# mclient -i -lmal -p54000 &amp;lt; src/mal/Tests/tst272.mal
&lt;br&gt;#-----------------#
&lt;br&gt;# h	t	 &amp;nbsp;# name
&lt;br&gt;# int	int	 &amp;nbsp;# type
&lt;br&gt;#-----------------#
&lt;br&gt;[ 1,	 &amp;nbsp;15	 &amp;nbsp;]
&lt;br&gt;[ 2,	 &amp;nbsp;4	 &amp;nbsp;]
&lt;br&gt;[ 3,	 &amp;nbsp;nil	 &amp;nbsp;]
&lt;br&gt;[ 4,	 &amp;nbsp;16	 &amp;nbsp;]
&lt;br&gt;[ 5,	 &amp;nbsp;25	 &amp;nbsp;]
&lt;br&gt;[ 6,	 &amp;nbsp;36	 &amp;nbsp;]
&lt;br&gt;[ 7,	 &amp;nbsp;49	 &amp;nbsp;]
&lt;br&gt;[ 8,	 &amp;nbsp;64	 &amp;nbsp;]
&lt;br&gt;[ 9,	 &amp;nbsp;nil	 &amp;nbsp;]
&lt;br&gt;[ nil,	 &amp;nbsp;nil	 &amp;nbsp;]
&lt;br&gt;[ nil,	 &amp;nbsp;81	 &amp;nbsp;]
&lt;br&gt;#---------------------------------#
&lt;br&gt;# h	t	t	t	 &amp;nbsp;# name
&lt;br&gt;# int	int	int	int	 &amp;nbsp;# type
&lt;br&gt;#---------------------------------#
&lt;br&gt;[ 1,	 &amp;nbsp;15,	 &amp;nbsp;15,	 &amp;nbsp;15	 &amp;nbsp;]
&lt;br&gt;[ 2,	 &amp;nbsp;4,	 &amp;nbsp;4,	 &amp;nbsp;4	 &amp;nbsp;]
&lt;br&gt;[ 3,	 &amp;nbsp;nil,	 &amp;nbsp;nil,	 &amp;nbsp;nil	 &amp;nbsp;]
&lt;br&gt;[ 4,	 &amp;nbsp;16,	 &amp;nbsp;16,	 &amp;nbsp;16	 &amp;nbsp;]
&lt;br&gt;[ 5,	 &amp;nbsp;25,	 &amp;nbsp;25,	 &amp;nbsp;25	 &amp;nbsp;]
&lt;br&gt;[ 6,	 &amp;nbsp;36,	 &amp;nbsp;36,	 &amp;nbsp;36	 &amp;nbsp;]
&lt;br&gt;[ 7,	 &amp;nbsp;49,	 &amp;nbsp;49,	 &amp;nbsp;49	 &amp;nbsp;]
&lt;br&gt;[ 8,	 &amp;nbsp;64,	 &amp;nbsp;64,	 &amp;nbsp;64	 &amp;nbsp;]
&lt;br&gt;[ 9,	 &amp;nbsp;nil,	 &amp;nbsp;nil,	 &amp;nbsp;nil	 &amp;nbsp;]
&lt;br&gt;#~BeginVariableOutput~#
&lt;br&gt;#~EndVariableOutput~#
&lt;br&gt;&lt;br&gt;# additional server output (if any) follows
&lt;br&gt;# MonetDB server v5.17.0, based on kernel v1.35.0
&lt;br&gt;# Serving database 'mTests_src_mal', using 1 thread
&lt;br&gt;# Compiled for x86_64-pc-solaris2.11/64bit with 64bit OIDs dynamically linked
&lt;br&gt;# Detected 2.000 GiB (2147020800 bytes) main-memory.
&lt;br&gt;# Copyright (c) 1993-July 2008 CWI.
&lt;br&gt;# Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information
&lt;br&gt;# Listening for connection requests on mapi:monetdb://127.0.0.1:54000/
&lt;br&gt;&lt;br&gt;# EOT src/mal/Tests/tst272.mal
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Martin Kersten (mlkersten)
&lt;br&gt;Date: 2009-11-27 13:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Patch added to mal_profiler. No additional test needed.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903072&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903072&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541543&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2903072---M5-GDK%3A-assertion-decref-in-gdk_bbp.mx-tp26541543p26541543.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540781</id>
	<title>[ monetdb-Bugs-2900365 ] SQL: concurrent tracelog()</title>
	<published>2009-11-27T02:52:45Z</published>
	<updated>2009-11-27T02:52:45Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2900365, was opened at 2009-11-19 11:46
&lt;br&gt;Message generated for change (Comment added) made by vzzzbx
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: SQL/Core
&lt;br&gt;Group: SQL &amp;quot;stable&amp;quot;
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Wouter Alink (vzzzbx)
&lt;br&gt;Assigned to: Martin Kersten (mlkersten)
&lt;br&gt;Summary: SQL: concurrent tracelog() 
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;When running 2 mclient instances simultaneously, the 1st mclient can run tracelog(), the second cannot (the error message is &amp;quot;SELECT: '(null)' does not return a table&amp;quot;).
&lt;br&gt;&lt;br&gt;$ mclient -lsql -p51234 -daap
&lt;br&gt;Welcome to mclient, the MonetDB/SQL interactive terminal
&lt;br&gt;Database: MonetDB v5.16.0, 'aap'
&lt;br&gt;Type \q to quit, \? for a list of available commands
&lt;br&gt;auto commit mode: on
&lt;br&gt;sql&amp;gt;SELECT * FROM tracelog();
&lt;br&gt;0 tuples
&lt;br&gt;sql&amp;gt;
&lt;br&gt;&lt;br&gt;On another prompt:
&lt;br&gt;&lt;br&gt;$ mclient -lsql -p51234 -daap
&lt;br&gt;Welcome to mclient, the MonetDB/SQL interactive terminal
&lt;br&gt;Database: MonetDB v5.16.0, 'aap'
&lt;br&gt;Type \q to quit, \? for a list of available commands
&lt;br&gt;auto commit mode: on
&lt;br&gt;sql&amp;gt;SELECT * FROM tracelog();
&lt;br&gt;SELECT: '(null)' does not return a table
&lt;br&gt;sql&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Wouter Alink (vzzzbx)
&lt;br&gt;Date: 2009-11-27 11:52
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;oops, wrong bug, ignore previous message please.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Wouter Alink (vzzzbx)
&lt;br&gt;Date: 2009-11-27 11:51
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;I indeed reported it, without declaring the tracelog() function (as it
&lt;br&gt;isn't documented).
&lt;br&gt;&lt;br&gt;would there be any objections to defining the tracelog() function by
&lt;br&gt;default? (does it have to be defined for each database, or can it be done
&lt;br&gt;once globally?)
&lt;br&gt;I can imagine that this function is not needed for many users, so perhaps
&lt;br&gt;the behaviour should stay as is. 
&lt;br&gt;&lt;br&gt;If the documentation clearly mentions that the function should first be
&lt;br&gt;declared before it can be used, i'm fine with closing this bug.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Martin Kersten (mlkersten)
&lt;br&gt;Date: 2009-11-27 11:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;This report has not been confirmed for initial state. Having multiple
&lt;br&gt;clients over the same database scheme and announced the definition of the
&lt;br&gt;tracelog function once seems to work as expected.
&lt;br&gt;&lt;br&gt;Where there more processes running, e.g. updating the performance tables?
&lt;br&gt;&lt;br&gt;Tracing the kernel is a global activity. For interpretation of timings
&lt;br&gt;this is a prerequisite.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Wouter Alink (vzzzbx)
&lt;br&gt;Date: 2009-11-19 16:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;when running trace using JDBC, multiple connections to the same database do
&lt;br&gt;seem to be able to query tracelog(). (if no mclient is running)
&lt;br&gt;however, they are not isolated from each other; work done in one
&lt;br&gt;transaction, can be found in a call to tracelog() in another transaction.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540781&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2900365---SQL%3A-concurrent-tracelog%28%29-tp26540781p26540781.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540766</id>
	<title>[ monetdb-Bugs-2900365 ] SQL: concurrent tracelog()</title>
	<published>2009-11-27T02:51:35Z</published>
	<updated>2009-11-27T02:51:35Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2900365, was opened at 2009-11-19 11:46
&lt;br&gt;Message generated for change (Comment added) made by vzzzbx
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: SQL/Core
&lt;br&gt;Group: SQL &amp;quot;stable&amp;quot;
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Wouter Alink (vzzzbx)
&lt;br&gt;Assigned to: Martin Kersten (mlkersten)
&lt;br&gt;Summary: SQL: concurrent tracelog() 
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;When running 2 mclient instances simultaneously, the 1st mclient can run tracelog(), the second cannot (the error message is &amp;quot;SELECT: '(null)' does not return a table&amp;quot;).
&lt;br&gt;&lt;br&gt;$ mclient -lsql -p51234 -daap
&lt;br&gt;Welcome to mclient, the MonetDB/SQL interactive terminal
&lt;br&gt;Database: MonetDB v5.16.0, 'aap'
&lt;br&gt;Type \q to quit, \? for a list of available commands
&lt;br&gt;auto commit mode: on
&lt;br&gt;sql&amp;gt;SELECT * FROM tracelog();
&lt;br&gt;0 tuples
&lt;br&gt;sql&amp;gt;
&lt;br&gt;&lt;br&gt;On another prompt:
&lt;br&gt;&lt;br&gt;$ mclient -lsql -p51234 -daap
&lt;br&gt;Welcome to mclient, the MonetDB/SQL interactive terminal
&lt;br&gt;Database: MonetDB v5.16.0, 'aap'
&lt;br&gt;Type \q to quit, \? for a list of available commands
&lt;br&gt;auto commit mode: on
&lt;br&gt;sql&amp;gt;SELECT * FROM tracelog();
&lt;br&gt;SELECT: '(null)' does not return a table
&lt;br&gt;sql&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Wouter Alink (vzzzbx)
&lt;br&gt;Date: 2009-11-27 11:51
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;I indeed reported it, without declaring the tracelog() function (as it
&lt;br&gt;isn't documented).
&lt;br&gt;&lt;br&gt;would there be any objections to defining the tracelog() function by
&lt;br&gt;default? (does it have to be defined for each database, or can it be done
&lt;br&gt;once globally?)
&lt;br&gt;I can imagine that this function is not needed for many users, so perhaps
&lt;br&gt;the behaviour should stay as is. 
&lt;br&gt;&lt;br&gt;If the documentation clearly mentions that the function should first be
&lt;br&gt;declared before it can be used, i'm fine with closing this bug.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Martin Kersten (mlkersten)
&lt;br&gt;Date: 2009-11-27 11:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;This report has not been confirmed for initial state. Having multiple
&lt;br&gt;clients over the same database scheme and announced the definition of the
&lt;br&gt;tracelog function once seems to work as expected.
&lt;br&gt;&lt;br&gt;Where there more processes running, e.g. updating the performance tables?
&lt;br&gt;&lt;br&gt;Tracing the kernel is a global activity. For interpretation of timings
&lt;br&gt;this is a prerequisite.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Wouter Alink (vzzzbx)
&lt;br&gt;Date: 2009-11-19 16:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;when running trace using JDBC, multiple connections to the same database do
&lt;br&gt;seem to be able to query tracelog(). (if no mclient is running)
&lt;br&gt;however, they are not isolated from each other; work done in one
&lt;br&gt;transaction, can be found in a call to tracelog() in another transaction.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2900365---SQL%3A-concurrent-tracelog%28%29-tp26540766p26540766.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540650</id>
	<title>[ monetdb-Bugs-2900365 ] SQL: concurrent tracelog()</title>
	<published>2009-11-27T02:42:54Z</published>
	<updated>2009-11-27T02:42:54Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2900365, was opened at 2009-11-19 11:46
&lt;br&gt;Message generated for change (Comment added) made by mlkersten
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: SQL/Core
&lt;br&gt;Group: SQL &amp;quot;stable&amp;quot;
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Wouter Alink (vzzzbx)
&lt;br&gt;Assigned to: Martin Kersten (mlkersten)
&lt;br&gt;Summary: SQL: concurrent tracelog() 
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;When running 2 mclient instances simultaneously, the 1st mclient can run tracelog(), the second cannot (the error message is &amp;quot;SELECT: '(null)' does not return a table&amp;quot;).
&lt;br&gt;&lt;br&gt;$ mclient -lsql -p51234 -daap
&lt;br&gt;Welcome to mclient, the MonetDB/SQL interactive terminal
&lt;br&gt;Database: MonetDB v5.16.0, 'aap'
&lt;br&gt;Type \q to quit, \? for a list of available commands
&lt;br&gt;auto commit mode: on
&lt;br&gt;sql&amp;gt;SELECT * FROM tracelog();
&lt;br&gt;0 tuples
&lt;br&gt;sql&amp;gt;
&lt;br&gt;&lt;br&gt;On another prompt:
&lt;br&gt;&lt;br&gt;$ mclient -lsql -p51234 -daap
&lt;br&gt;Welcome to mclient, the MonetDB/SQL interactive terminal
&lt;br&gt;Database: MonetDB v5.16.0, 'aap'
&lt;br&gt;Type \q to quit, \? for a list of available commands
&lt;br&gt;auto commit mode: on
&lt;br&gt;sql&amp;gt;SELECT * FROM tracelog();
&lt;br&gt;SELECT: '(null)' does not return a table
&lt;br&gt;sql&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Martin Kersten (mlkersten)
&lt;br&gt;Date: 2009-11-27 11:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;This report has not been confirmed for initial state. Having multiple
&lt;br&gt;clients over the same database scheme and announced the definition of the
&lt;br&gt;tracelog function once seems to work as expected.
&lt;br&gt;&lt;br&gt;Where there more processes running, e.g. updating the performance tables?
&lt;br&gt;&lt;br&gt;Tracing the kernel is a global activity. For interpretation of timings
&lt;br&gt;this is a prerequisite.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Wouter Alink (vzzzbx)
&lt;br&gt;Date: 2009-11-19 16:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;when running trace using JDBC, multiple connections to the same database do
&lt;br&gt;seem to be able to query tracelog(). (if no mclient is running)
&lt;br&gt;however, they are not isolated from each other; work done in one
&lt;br&gt;transaction, can be found in a call to tracelog() in another transaction.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2900365&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540650&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2900365---SQL%3A-concurrent-tracelog%28%29-tp26540650p26540650.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540472</id>
	<title>Re: other than bug things...</title>
	<published>2009-11-27T02:25:36Z</published>
	<updated>2009-11-27T02:25:36Z</updated>
	<author>
		<name>Martin Kersten</name>
	</author>
	<content type="html">Hello Wouter,
&lt;br&gt;&lt;br&gt;Thank you for this positive message. It made my day :))
&lt;br&gt;&lt;br&gt;We would like to learn more about applications where
&lt;br&gt;MonetDB is working as planned. Giving the steady
&lt;br&gt;increasing monthly downloads there must be more of
&lt;br&gt;such cases in the field.
&lt;br&gt;&lt;br&gt;regards, Martin
&lt;br&gt;&lt;br&gt;Wouter Alink wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Developers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Usually I try to report bugs (and try to find the worst of the
&lt;br&gt;&amp;gt; system), but just this morning I noticed my mserver5 instance
&lt;br&gt;&amp;gt; (Aug2009), which I have been intensively querying over the last days
&lt;br&gt;&amp;gt; with ten-thousands of reasonably complex queries and sometimes with
&lt;br&gt;&amp;gt; more than 20 queries in parallel. It just passed the 4800 minutes of
&lt;br&gt;&amp;gt; actual cpu time (= 80 hours of hard work) and still going strong. I
&lt;br&gt;&amp;gt; thought it was worth mentioning!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Wouter
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; p.s. roberto, actually it's your mserver instance...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Monetdb-developers mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540472&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-developers@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540472&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-developers-f4365.html&quot; embed=&quot;fixTarget[4365]&quot; target=&quot;_top&quot; &gt;monetdb-developers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/other-than-bug-things...-tp26540274p26540472.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540274</id>
	<title>other than bug things...</title>
	<published>2009-11-27T02:09:51Z</published>
	<updated>2009-11-27T02:09:51Z</updated>
	<author>
		<name>Wouter Alink-3</name>
	</author>
	<content type="html">Hello Developers,
&lt;br&gt;&lt;br&gt;Usually I try to report bugs (and try to find the worst of the
&lt;br&gt;system), but just this morning I noticed my mserver5 instance
&lt;br&gt;(Aug2009), which I have been intensively querying over the last days
&lt;br&gt;with ten-thousands of reasonably complex queries and sometimes with
&lt;br&gt;more than 20 queries in parallel. It just passed the 4800 minutes of
&lt;br&gt;actual cpu time (= 80 hours of hard work) and still going strong. I
&lt;br&gt;thought it was worth mentioning!
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Wouter
&lt;br&gt;&lt;br&gt;p.s. roberto, actually it's your mserver instance...
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540274&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-developers-f4365.html&quot; embed=&quot;fixTarget[4365]&quot; target=&quot;_top&quot; &gt;monetdb-developers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/other-than-bug-things...-tp26540274p26540274.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539859</id>
	<title>Re: Fatal error: aborted too deep recursion</title>
	<published>2009-11-27T01:25:59Z</published>
	<updated>2009-11-27T01:25:59Z</updated>
	<author>
		<name>Peter Boncz-2</name>
	</author>
	<content type="html">Hi Harm,
&lt;br&gt;&lt;br&gt;The 'too deep recursion' error is typically triggered by very large queries that
&lt;br&gt;send the pathfinder compiler into a very deep (and time consuming) search. The
&lt;br&gt;error is given to prevent a crash due to lack of stack space. Recently, I do
&lt;br&gt;recall that the limits were tightened as there are some operating systems in our
&lt;br&gt;nightly test farm that give their processes little stack space, and could still
&lt;br&gt;cause pathfinder to crash due to lack of stack space.
&lt;br&gt;&lt;br&gt;So, it depends. The limit when to break off search is arbitrary and based
&lt;br&gt;currently on the lowest common denominator among the systems we used. We could
&lt;br&gt;potentially increase it (and possibly fix the settings on our testing machines
&lt;br&gt;to allow more stack space). We could even introduce a user-controller limit.
&lt;br&gt;&lt;br&gt;However, this phenomenon typically happens only on strange queries (e.fg doing
&lt;br&gt;tens or hundreds XPath steps after each other). 
&lt;br&gt;&lt;br&gt;Could you share what query produced such an error for you?
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;&lt;br&gt;Peter Boncz
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Martin Kersten [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539859&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Martin.Kersten@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Thursday, November 26, 2009 4:28 PM
&lt;br&gt;&amp;gt; To: Communication channel for MonetDB users
&lt;br&gt;&amp;gt; Subject: Re: [MonetDB-users] Fatal error: aborted too deep recursion
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Harm van Beek(DT) wrote:
&lt;br&gt;&amp;gt; &amp;gt; During the development of our tool, using Xquery on MonetDB, we ran onto
&lt;br&gt;&amp;gt; &amp;gt; the following error:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ERROR = !fatal error: aborted too deep recursion
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;From previous posts (I guess) I can conclude that this relates to an
&lt;br&gt;&amp;gt; &amp;gt; Xquery that simply is too big (too many operators) to create a good plan
&lt;br&gt;&amp;gt; &amp;gt; for it.
&lt;br&gt;&amp;gt; All systems have limits that either cause an emergency stop. In this case,
&lt;br&gt;&amp;gt; the operating system has such a limit.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I tried several MonetDB releases (May2009-SP2, Aug2009-SP2, Nov2009-DB0)
&lt;br&gt;&amp;gt; &amp;gt; on Red Hat Enterprise Linux Server release 5.4 (Tikanga), all showing
&lt;br&gt;&amp;gt; &amp;gt; the same result.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Does anyone have any directions on how to solve this?
&lt;br&gt;&amp;gt; Yes. Programming cleverness comes into play. Especially if you use a tool
&lt;br&gt;&amp;gt; to generate queries, then that tool should be a little more conservative
&lt;br&gt;&amp;gt; in the kind of queries generated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Can we reconfigure the compiler to fix this (or recompile it with
&lt;br&gt;&amp;gt; &amp;gt; options)?
&lt;br&gt;&amp;gt; No. At some point the optimization space becomes just too big.
&lt;br&gt;&amp;gt; People that can spare the time to find the optimal settings for a larger
&lt;br&gt;&amp;gt; application space are more then welcome to try it out on the source code
&lt;br&gt;&amp;gt; made available.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; regards, Martin
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks in advance!
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Harm van Beek
&lt;br&gt;&amp;gt; &amp;gt; Netherlands Forensic Institute
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; &amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-
&lt;br&gt;&amp;gt; Day
&lt;br&gt;&amp;gt; &amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt; focus on
&lt;br&gt;&amp;gt; &amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; &amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539859&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539859&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No virus found in this incoming message.
&lt;br&gt;&amp;gt; Checked by AVG - www.avg.com
&lt;br&gt;&amp;gt; Version: 8.5.426 / Virus Database: 270.14.83/2526 - Release Date: 11/25/09
&lt;br&gt;&amp;gt; 19:43:00
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539859&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fatal-error%3A-aborted-too-deep-recursion-tp26530909p26539859.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539042</id>
	<title>[ monetdb-Bugs-1681244 ] Mapi ports and patfhinder/pftijah</title>
	<published>2009-11-27T00:07:15Z</published>
	<updated>2009-11-27T00:07:15Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #1681244, was opened at 2007-03-15 09:25
&lt;br&gt;Message generated for change (Settings changed) made by stmane
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1681244&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1681244&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Mapi
&lt;br&gt;Group: MonetDB4 CVS Head
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Fixed
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Jan Rittinger (tsheyar)
&lt;br&gt;Assigned to: Stefan Manegold (stmane)
&lt;br&gt;Summary: Mapi ports and patfhinder/pftijah
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;When I have a Mserver (with module pathfinder loaded) running somewhere and want to start a complete unrelated Mserver (with pathfinder (and pftijah) I get the following Mserver crashes:
&lt;br&gt;&lt;br&gt;Mserver --dbinit=&amp;quot;module(pathfinder);&amp;quot;
&lt;br&gt;# Monet Database Server V4.17.1
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;!ERROR: MAPIlisten:binding to stream socket (50000) failed
&lt;br&gt;!OS: Address already in use
&lt;br&gt;MonetDB&amp;gt;01/Jan/1970 01:00:00 shttpd_open_port: bind(50001): Address already in use
&lt;br&gt;&lt;br&gt;Mserver --dbinit=&amp;quot;module(pathfinder); module(pftijah);&amp;quot;
&lt;br&gt;# Monet Database Server V4.17.1
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;!ERROR: MAPIlisten:binding to stream socket (50000) failed
&lt;br&gt;!OS: Address already in use
&lt;br&gt;!WARNING: TBL_M_directloaded: pftijah relative refcounts are wrong (2!=3)!
&lt;br&gt;!WARNING: TBL_M_directloaded: pftijah relative refcounts are wrong (2!=3)!
&lt;br&gt;Mserver: /local_tmp/MonetDB4/src/monet/monet_tbl.mx:1740: TBL_M_decref: Assertion `p' failed.
&lt;br&gt;Aborted
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-27 09:07
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Bug report and test are covered by
&lt;br&gt;ID: 1809586 &amp;quot;PF: busy port crashes Mserver&amp;quot;
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;aid=1809586&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;aid=1809586&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&amp;quot;
&lt;br&gt;We accept the fact that starting a MonetDB/XQury server (`Mserver
&lt;br&gt;--dbinit=&amp;quot;module(pathfinder);&amp;quot;`)
&lt;br&gt;quits instantly (with a proper error message)
&lt;br&gt;in case either the MAPIPORT or the XQUERYPORT are not available
&lt;br&gt;(the server does not make much sense without access to these ports).
&lt;br&gt;The default ports can easily be overwritten on the server commandline:
&lt;br&gt;--set mapi_port=&amp;lt;portno&amp;gt; --set xrpc_port=&amp;lt;portno&amp;gt;
&lt;br&gt;&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2007-08-02 22:57
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;...as always a test in CVS could (have) answer(ed) the question...
&lt;br&gt;&lt;br&gt;If nobody is faster, I'll try to add one tomorrow (CEST).
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Peter Boncz (boncz)
&lt;br&gt;Date: 2007-08-02 22:45
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=591107
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;is this bug still reproducable, given the changes we made in tijah module
&lt;br&gt;loading before the .18 release?
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Sjoerd Mullender (sjoerd)
&lt;br&gt;Date: 2007-03-15 10:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=43607
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I agree with Jan, there is a genuine bug here.
&lt;br&gt;&lt;br&gt;In one of my tries I even got a segfault.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Jan Rittinger (tsheyar)
&lt;br&gt;Date: 2007-03-15 10:32
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=993208
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Stefan,
&lt;br&gt;&lt;br&gt;with this feature I expect only an error message (like the one in the
&lt;br&gt;first line) and the side effect that the module is not loaded. However a
&lt;br&gt;Mserver crash (with a misleading error information) does not seem
&lt;br&gt;reasonable to me:
&lt;br&gt;&lt;br&gt;Mserver
&lt;br&gt;# Monet Database Server V4.17.1
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;MonetDB&amp;gt;module(pathfinder);
&lt;br&gt;!ERROR: MAPIlisten:binding to stream socket (50000) failed
&lt;br&gt;!OS: Address already in use
&lt;br&gt;!WARNING: TBL_M_directloaded: _pftijah relative refcounts are wrong
&lt;br&gt;(1!=2)!
&lt;br&gt;01/Jan/1970 01:00:00 shttpd_open_port: bind(50001): Address already in
&lt;br&gt;use
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2007-03-15 10:24
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Jan
&lt;br&gt;&lt;br&gt;this is not a bug but a feature:
&lt;br&gt;&lt;br&gt;Loading module pathfinder (just like loading module sql) implicitly
&lt;br&gt;triggers the start of the respective mapi listener so that clients can
&lt;br&gt;connect. The default port (mapi_port) used for these listeners is 50000.
&lt;br&gt;Obviously, starting two programs that (try to) claim the same port/socket
&lt;br&gt;does/can not work.
&lt;br&gt;If you want/need to run two (or more) Mservers with MAPI enabled (via
&lt;br&gt;module(pathfinder);, module(sql);, or module(mapi);mil_start();) on the
&lt;br&gt;same machine, you need to make sure that they use different mapi_port's by
&lt;br&gt;starting (at least) all but one with specifying a different mapi_port,
&lt;br&gt;e.g., via `Mserver --set mapi_port=&amp;lt;mapi_port_no&amp;gt;`; in case of pathfinder
&lt;br&gt;you might also want/need to set a different xrpc_port, i.e. `Mserver --set
&lt;br&gt;mapi_port=&amp;lt;mapi_port_no&amp;gt; --set xprc_port=&amp;lt;xrpc_port_no&amp;gt;`.
&lt;br&gt;&lt;br&gt;Stefan
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1681244&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1681244&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-1681244---Mapi-ports-and-patfhinder-pftijah-tp26539042p26539042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538990</id>
	<title>[ monetdb-Bugs-1893448 ] PF: xrpcConvert2 fails on Windows</title>
	<published>2009-11-27T00:00:08Z</published>
	<updated>2009-11-27T00:00:08Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #1893448, was opened at 2008-02-14 11:05
&lt;br&gt;Message generated for change (Comment added) made by stmane
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1893448&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1893448&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: PF/runtime
&lt;br&gt;Group: Pathfinder &amp;quot;stable&amp;quot;
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Fixed
&lt;br&gt;Priority: 3
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Stefan Manegold (stmane)
&lt;br&gt;Assigned to: Ying Zhang (yingying)
&lt;br&gt;Summary: PF: xrpcConvert2 fails on Windows
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.32.32.d-Windows5.1/tests_XRpc/xrpcConvert.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.32.32.d-Windows5.1/tests_XRpc/xrpcConvert.err.00.html&lt;/a&gt;&lt;br&gt;========
&lt;br&gt;MAPI &amp;nbsp;= monetdb@TURELUUR:32113
&lt;br&gt;QUERY = import module namespace xrpc = &amp;quot;xrpc-fun&amp;quot; at
&lt;br&gt;ERROR = !ERROR: Document is empty
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: during RPC call to &amp;quot;TURELUUR:49525&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: shredder_parse: XML input not well-formed.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: response2bat: invalid XRPC response received
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: CMDhttp_post: operation failed.
&lt;br&gt;MAPI &amp;nbsp;= monetdb@TURELUUR:32113
&lt;br&gt;QUERY = import module namespace xrpc = &amp;quot;xrpc-fun&amp;quot; at
&lt;br&gt;ERROR = !ERROR: doLoopLiftedRPC: execution failed at all destinations
&lt;br&gt;========
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.32.32.d-Windows5.1/tests_XRpc/xrpcConvert2.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.32.32.d-Windows5.1/tests_XRpc/xrpcConvert2.err.00.html&lt;/a&gt;&lt;br&gt;========
&lt;br&gt;MAPI &amp;nbsp;= monetdb@TURELUUR:32113
&lt;br&gt;QUERY = import module namespace xrpc = &amp;quot;bar&amp;quot; at
&lt;br&gt;ERROR = !parse error: syntax error, unexpected IntegerLiteral, expecting ) on line 7, column 36 (next token is `4')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !parse error: XQuery parsing failed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !parse error: syntax error, unexpected IntegerLiteral, expecting ) on line 7, column 36 (next token is `4')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !parse error: error parsing module from C:\\cygwin\\var\\tmp\\monet.Int.32.32.d.27057\\pathfinder\\NT\\mTests\\tests\\XRpc/xrpcConvert2.xrpcfun2.xq
&lt;br&gt;========
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-27 09:00
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Test appaers to work fine also on Windows (at least) since 2009.11.16;
&lt;br&gt;cf.,
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.32.32.d.1-Windows5.1/tests_XRpc/xrpcConvert2.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.32.32.d.1-Windows5.1/tests_XRpc/xrpcConvert2.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.64.64.d.1-Windows6.0/tests_XRpc/xrpcConvert2.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.64.64.d.1-Windows6.0/tests_XRpc/xrpcConvert2.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Closing.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-07 14:29
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;See also
&lt;br&gt;ID: 2893815 &amp;quot;PF: xrpcConvert tests segfault since 2009/10/08&amp;quot;
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;aid=2893815&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;aid=2893815&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-02-14 18:31
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;(only) the xrpcConvert2 test still fails on Windows:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.32.32.d.1-Windows5.1/tests_XRpc/xrpcConvert2.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.32.32.d.1-Windows5.1/tests_XRpc/xrpcConvert2.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.64.32.d.1-Windows5.2/tests_XRpc/xrpcConvert2.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsg103/Int.64.32.d.1-Windows5.2/tests_XRpc/xrpcConvert2.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ying Zhang (yingying)
&lt;br&gt;Date: 2008-09-05 18:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=341633
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Some status info about this bug:
&lt;br&gt;&lt;br&gt;The path matching problem has been fixed in milprint_summer.c, version
&lt;br&gt;1.419.2.5, thanks to Sjoerd's debugger on windows.
&lt;br&gt;&lt;br&gt;Sjoerd and I had a look at the problem with xrpcConvert2, and
&lt;br&gt;unfortunetely, we could not reproduce the error with his version compiled
&lt;br&gt;with debugging on.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2008-05-29 15:43
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;With the code base for the upcoming Jun2008 release (XQuery_0-24 branch),
&lt;br&gt;the error for the first xrpcConvert test no seems to indicate some path
&lt;br&gt;matching / '\' quoting problem when checking for &amp;quot;allowed&amp;quot; (&amp;quot;trusted&amp;quot;)
&lt;br&gt;module paths/locations:
&lt;br&gt;&lt;br&gt;========
&lt;br&gt;MAPI &amp;nbsp;= monetdb@TURELUUR:37285
&lt;br&gt;QUERY = import module namespace xf = &amp;quot;xrpc-fun&amp;quot; at
&lt;br&gt;&amp;quot;C:\\cygwin\\var\\tmp\\monet.Int.32.32.d.20696\\pathfinder\\tests\\XRpc\\Tests/xrpcfun.xq&amp;quot;;
&lt;br&gt;ERROR = !ERROR: during RPC call to &amp;quot;TURELUUR:45558&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: response2bat: invalid response from TURELUUR45558
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: during RPC call to &amp;quot;TURELUUR:45558
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: HTTP Error Code &amp;nbsp;: 403 Forbidde
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: SOAP Fault Code &amp;nbsp;: env:Sende
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: SOAP Fault Reason
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: Called module not allowed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: 'C:cygwinvar mpmonet.Int.32.32.d.20696pathfinder
&lt;br&gt;estsXRpcTests/xrpcfun.xq' not i
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: '&lt;a href=&quot;http://monetdb.cwi.nl'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl'&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR:
&lt;br&gt;'C:\cygwin\var\tmp\monet.Int.32.32.d.20696\MonetDB4\.Int.32.32.d-Windows5.1\share\MonetDB\xrpc\export'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: '&lt;a href=&quot;http://127.0.0.1:45558'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:45558'&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR:
&lt;br&gt;'C:\cygwin\var\tmp\monet.Int.32.32.d.20696\pathfinder\tests\XRpc\Tests'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR:
&lt;br&gt;'C:\cygwin\var\tmp\monet.Int.32.32.d.20696\pathfinder\NT\mTests\tests\XRpc'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: !ERROR: CMDhttp_post: operation failed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !ERROR: CMDhttp_post: operation failed.
&lt;br&gt;MAPI &amp;nbsp;= monetdb@TURELUUR:37285
&lt;br&gt;QUERY = import module namespace xf = &amp;quot;xrpc-fun&amp;quot; at
&lt;br&gt;&amp;quot;C:\\cygwin\\var\\tmp\\monet.Int.32.32.d.20696\\pathfinder\\tests\\XRpc\\Tests/xrpcfun.xq&amp;quot;;
&lt;br&gt;ERROR = !ERROR: doLoopLiftedRPC: execution failed at all destinations
&lt;br&gt;========
&lt;br&gt;&lt;br&gt;For xprcConvert2, the problem is still the same as initially reported.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ying Zhang (yingying)
&lt;br&gt;Date: 2008-02-16 22:16
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=341633
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Lower the priority, as I don't know how to debug on windows.
&lt;br&gt;I will ask our windows expert for some help.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2008-02-16 01:44
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Jennie,
&lt;br&gt;&lt;br&gt;since the release is / will be based on the code base of 2008-02-13 (as
&lt;br&gt;tagged in CVS), there is no urgency to fix this before the release.
&lt;br&gt;&lt;br&gt;Stefan
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ying Zhang (yingying)
&lt;br&gt;Date: 2008-02-15 23:26
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=341633
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I took a look at the errors, but could not get a clue without debugging.
&lt;br&gt;&lt;br&gt;How urgent is this problem for the release? &amp;nbsp;If urgent, I will ask Sjoerd
&lt;br&gt;for some debugging help next week, otherwise, I would like to lower the
&lt;br&gt;priority to solve it later.
&lt;br&gt;&lt;br&gt;Jennie
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1893448&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1893448&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538990&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-1893448---PF%3A-xrpcConvert2-fails-on-Windows-tp26538990p26538990.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538950</id>
	<title>[ monetdb-Bugs-2903122 ] M5: --threads option exists? (monetdb5.conf documentation)</title>
	<published>2009-11-26T23:54:37Z</published>
	<updated>2009-11-26T23:54:37Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2903122, was opened at 2009-11-24 14:41
&lt;br&gt;Message generated for change (Settings changed) made by stmane
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Core
&lt;br&gt;Group: MonetDB Common CVS Head
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: Invalid
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Stefan de Konink (skinkie)
&lt;br&gt;Assigned to: Stefan Manegold (stmane)
&lt;br&gt;Summary: M5: --threads option exists? (monetdb5.conf documentation)
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;/opt/monetdb-head/bin/mserver5 --dbfarm=/home/skinkie/monetdb --dbname=monitor --dbinit=&amp;quot;include sql;&amp;quot; --threads 1
&lt;br&gt;# MonetDB server v5.17.0, based on kernel v1.35.0
&lt;br&gt;# Serving database 'monitor', using 2 threads
&lt;br&gt;# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
&lt;br&gt;# Detected 4.000 GiB (4295331840 bytes) main-memory.
&lt;br&gt;# Copyright (c) 1993-July 2008 CWI.
&lt;br&gt;# Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information
&lt;br&gt;#warning: please don't forget to set your vault key!
&lt;br&gt;#(see /opt/monetdb-head/etc/monetdb5.conf)
&lt;br&gt;#01 1 140683233527553 sp = 140734711916164
&lt;br&gt;#01 nrofthreads 0
&lt;br&gt;# Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
&lt;br&gt;# MonetDB/SQL module v2.35.0 loaded
&lt;br&gt;#01 BBPdir: writing BBP.dir (527 bats).
&lt;br&gt;#WARNING: could not open file: /home/skinkie/monetdb/1
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-27 08:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Closing --- see my previous comment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-24 15:32
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;a)
&lt;br&gt;yes, the --threads option exist, but it does not take any argument; as
&lt;br&gt;monetdb5.conf says, &amp;quot;--threads&amp;quot; is merely a short cut for
&lt;br&gt;&amp;quot;--debug=$[1+128]&amp;quot;, i.e., for setting debug bits 1 (thread-specific debug
&lt;br&gt;output) and 128 (PARMASK = Thread management).
&lt;br&gt;(As Fabian said, if you want to set the number of threads, you need to us
&lt;br&gt;&amp;quot;--set gdk_nr_threads=1&amp;quot;; cf. e.g.,
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/projects/monetdb/Development/Releases/Nov2008/index.html#Issues&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/projects/monetdb/Development/Releases/Nov2008/index.html#Issues&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;b)
&lt;br&gt;The error is perfectly fine and correct:
&lt;br&gt;Your mserver5 commanline specifies three option with arguments
&lt;br&gt;(--dbfarm=/home/skinkie/monetdb, --dbname=monitor, --dbinit=&amp;quot;include
&lt;br&gt;sql;&amp;quot;), one without argument (--threads), and (the name of) one
&lt;br&gt;(MAL-)script to be executed (1) --- see also `mserver5 --help` --- the
&lt;br&gt;latter does not seem to exist in your working directory (you didn't specify
&lt;br&gt;an absolute path), and MonetDB informs you about that.
&lt;br&gt;&lt;br&gt;IMHO all fine and correct.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Fabian (mr-meltdown)
&lt;br&gt;Date: 2009-11-24 14:48
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;there is just bogus in the monetdb5.conf file (misleading to say the
&lt;br&gt;least)
&lt;br&gt;&lt;br&gt;there is no overwriting going on here, as the database properly reports to
&lt;br&gt;be serving &amp;quot;monitor&amp;quot;, it simply complains that it can't find a file &amp;quot;1&amp;quot; to
&lt;br&gt;open. &amp;nbsp;The --thread option seems to enable some magical debug output, and
&lt;br&gt;not do what you expect.
&lt;br&gt;&lt;br&gt;Try --set gdk_nr_threads=1
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538950&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2903122---M5%3A---threads-option-exists--%28monetdb5.conf-documentation%29-tp26538950p26538950.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538948</id>
	<title>[ monetdb-Bugs-2903122 ] M5: --threads option exists? (monetdb5.conf documentation)</title>
	<published>2009-11-26T23:54:22Z</published>
	<updated>2009-11-26T23:54:22Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2903122, was opened at 2009-11-24 14:41
&lt;br&gt;Message generated for change (Comment added) made by stmane
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Core
&lt;br&gt;Group: MonetDB Common CVS Head
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: Invalid
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Stefan de Konink (skinkie)
&lt;br&gt;&amp;gt;Assigned to: Stefan Manegold (stmane)
&lt;br&gt;Summary: M5: --threads option exists? (monetdb5.conf documentation)
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;/opt/monetdb-head/bin/mserver5 --dbfarm=/home/skinkie/monetdb --dbname=monitor --dbinit=&amp;quot;include sql;&amp;quot; --threads 1
&lt;br&gt;# MonetDB server v5.17.0, based on kernel v1.35.0
&lt;br&gt;# Serving database 'monitor', using 2 threads
&lt;br&gt;# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
&lt;br&gt;# Detected 4.000 GiB (4295331840 bytes) main-memory.
&lt;br&gt;# Copyright (c) 1993-July 2008 CWI.
&lt;br&gt;# Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information
&lt;br&gt;#warning: please don't forget to set your vault key!
&lt;br&gt;#(see /opt/monetdb-head/etc/monetdb5.conf)
&lt;br&gt;#01 1 140683233527553 sp = 140734711916164
&lt;br&gt;#01 nrofthreads 0
&lt;br&gt;# Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
&lt;br&gt;# MonetDB/SQL module v2.35.0 loaded
&lt;br&gt;#01 BBPdir: writing BBP.dir (527 bats).
&lt;br&gt;#WARNING: could not open file: /home/skinkie/monetdb/1
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-27 08:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Closing --- see my previous comment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-24 15:32
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;a)
&lt;br&gt;yes, the --threads option exist, but it does not take any argument; as
&lt;br&gt;monetdb5.conf says, &amp;quot;--threads&amp;quot; is merely a short cut for
&lt;br&gt;&amp;quot;--debug=$[1+128]&amp;quot;, i.e., for setting debug bits 1 (thread-specific debug
&lt;br&gt;output) and 128 (PARMASK = Thread management).
&lt;br&gt;(As Fabian said, if you want to set the number of threads, you need to us
&lt;br&gt;&amp;quot;--set gdk_nr_threads=1&amp;quot;; cf. e.g.,
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/projects/monetdb/Development/Releases/Nov2008/index.html#Issues&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/projects/monetdb/Development/Releases/Nov2008/index.html#Issues&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;b)
&lt;br&gt;The error is perfectly fine and correct:
&lt;br&gt;Your mserver5 commanline specifies three option with arguments
&lt;br&gt;(--dbfarm=/home/skinkie/monetdb, --dbname=monitor, --dbinit=&amp;quot;include
&lt;br&gt;sql;&amp;quot;), one without argument (--threads), and (the name of) one
&lt;br&gt;(MAL-)script to be executed (1) --- see also `mserver5 --help` --- the
&lt;br&gt;latter does not seem to exist in your working directory (you didn't specify
&lt;br&gt;an absolute path), and MonetDB informs you about that.
&lt;br&gt;&lt;br&gt;IMHO all fine and correct.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Fabian (mr-meltdown)
&lt;br&gt;Date: 2009-11-24 14:48
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;there is just bogus in the monetdb5.conf file (misleading to say the
&lt;br&gt;least)
&lt;br&gt;&lt;br&gt;there is no overwriting going on here, as the database properly reports to
&lt;br&gt;be serving &amp;quot;monitor&amp;quot;, it simply complains that it can't find a file &amp;quot;1&amp;quot; to
&lt;br&gt;open. &amp;nbsp;The --thread option seems to enable some magical debug output, and
&lt;br&gt;not do what you expect.
&lt;br&gt;&lt;br&gt;Try --set gdk_nr_threads=1
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903122&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538948&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2903122---M5%3A---threads-option-exists--%28monetdb5.conf-documentation%29-tp26538948p26538948.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538918</id>
	<title>[ monetdb-Bugs-2903111 ] Wrong error / no check for new database dir</title>
	<published>2009-11-26T23:52:25Z</published>
	<updated>2009-11-26T23:52:25Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2903111, was opened at 2009-11-24 14:29
&lt;br&gt;Message generated for change (Comment added) made by stmane
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903111&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903111&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: Core
&lt;br&gt;Group: MonetDB Common CVS Head
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Fixed
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Stefan de Konink (skinkie)
&lt;br&gt;&amp;gt;Assigned to: Stefan Manegold (stmane)
&lt;br&gt;Summary: Wrong error / no check for new database dir
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Reproduce with:
&lt;br&gt;create (as root) a dbfarm directory
&lt;br&gt;switch to the normal user
&lt;br&gt;start monet with this dbfarm directory and (thus) a new database
&lt;br&gt;&lt;br&gt;The error that arrises is:
&lt;br&gt;!FATAL: GDKlockHome: could not move to /home/skinkie/monetdb/monitor/
&lt;br&gt;&lt;br&gt;It seems MonetDB did not check if the directory could not be created.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-27 08:52
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;===================================================================
&lt;br&gt;2009/11/27 - stmane: MonetDB/src/gdk/gdk_utils.mx,1.255.2.6
&lt;br&gt;&lt;br&gt;fixing ID: 2903111 &amp;quot;Wrong error / no check for new database dir&amp;quot;
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;aid=2903111&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;aid=2903111&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&lt;br&gt;give more detailed error message, whether we fail to create
&lt;br&gt;/dbfarm/dbname, or whether we fail to move (cd) to it
&lt;br&gt;===================================================================
&lt;br&gt;&lt;br&gt;Closing w/o test, as this is merely an error message convenience, and
&lt;br&gt;making a portable test with platform-invariant output would be an
&lt;br&gt;overkill.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Fabian (mr-meltdown)
&lt;br&gt;Date: 2009-11-24 15:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;The bug here is that the message is misleading. &amp;nbsp;MonetDB normally creates
&lt;br&gt;the directory for the dbname (monitor), however that failed (it must be),
&lt;br&gt;but apparently MonetDB didn't complain about that. &amp;nbsp;It only fails once it
&lt;br&gt;tries to set its lock.
&lt;br&gt;&lt;br&gt;We should complain earlier when we can't create the dbname dir, if it
&lt;br&gt;doesn't exist already.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-24 15:36
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;MonetDB does (try to) &amp;quot;move&amp;quot; (`cd`) to the dbfarm/dbname.
&lt;br&gt;If this fails for whatever reason (e.g., because the user isn't allowed to
&lt;br&gt;do so by filesystem access rights), this fails and MonetDB returns an
&lt;br&gt;error.
&lt;br&gt;Perfectly reasonable with me ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan de Konink (skinkie)
&lt;br&gt;Date: 2009-11-24 14:32
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Fabian hinted also to write this is a permission error. Hence the dbfarm
&lt;br&gt;dir was owned by root, and not by the user that tried to start the
&lt;br&gt;database.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903111&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=2903111&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538918&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-2903111---Wrong-error---no-check-for-new-database-dir-tp26538918p26538918.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538805</id>
	<title>[ monetdb-Bugs-1607210 ] XQ: server-side compilation crash (member benchmark)</title>
	<published>2009-11-26T23:36:12Z</published>
	<updated>2009-11-26T23:36:12Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #1607210, was opened at 2006-12-02 01:27
&lt;br&gt;Message generated for change (Settings changed) made by stmane
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1607210&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1607210&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: PF/runtime
&lt;br&gt;Group: Pathfinder CVS Head
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: Fixed
&lt;br&gt;Priority: 8
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Peter Boncz (boncz)
&lt;br&gt;Assigned to: Peter Boncz (boncz)
&lt;br&gt;Summary: XQ: server-side compilation crash (member benchmark)
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Philippe Michiels reported at dagstuhl that the simple CHILD test of the MemBeR benchmark crashes when run in MapiClient -lx; crashing during the *compilation* process
&lt;br&gt;&lt;br&gt;It works with pf standalone, translating to MIL explicitly
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ilps.science.uva.nl/Resources/MemBeR/CHILD.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ilps.science.uva.nl/Resources/MemBeR/CHILD.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The query used in this micro-benchmark navigates downward from the root, performing n successive child navigation steps, where n is to be varied.
&lt;br&gt;For every integer n, the corresponding query, named CHILD(n), is:
&lt;br&gt;&lt;br&gt;/t1/t2/.../tn
&lt;br&gt;&lt;br&gt;THE BUG ONLY OCCURS WITH n&amp;gt;15
&lt;br&gt;AND WITH SERVER SIDE COMPILATION
&lt;br&gt;&lt;br&gt;may well be some buffer overflow..
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-27 08:36
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;After some more fixes (see below), the test now appears to work fine on all
&lt;br&gt;platforms except
&lt;br&gt;&lt;br&gt;- timeout on
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.64.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.64.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d.1-Windows6.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d.1-Windows6.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.64.d.1-Windows6.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.64.d.1-Windows6.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;This needs to be analyzed separately.
&lt;br&gt;&lt;br&gt;- abort too deep recursion on
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-SunOS5.11/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-SunOS5.11/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;This occurs with numerous tests on that platform and needs to be analyzed
&lt;br&gt;separately.
&lt;br&gt;&lt;br&gt;Closing.
&lt;br&gt;&lt;br&gt;===================================================================
&lt;br&gt;2009/11/23 - stmane: pathfinder/runtime/pathfinder.mx,1.462.4.13
&lt;br&gt;&lt;br&gt;try even more conservative stack limit (PFmaxstack)
&lt;br&gt;for too deep recusion check (PFrecursion_fence())
&lt;br&gt;to check whether this helps to prevent the remaining segfaults with test
&lt;br&gt;tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210.*
&lt;br&gt;on some platforms; cf.
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-Debian4.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-Debian4.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Gentoo2.0.1/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Gentoo2.0.1/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-SunOS5.11/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-SunOS5.11/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;===================================================================
&lt;br&gt;2009/11/24 - stmane:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;pathfinder/tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210_s00.xq,1.4.22.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;pathfinder/tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210_s02.xq,1.4.22.1
&lt;br&gt;&lt;br&gt;after
&lt;br&gt;&amp;quot;
&lt;br&gt;try even more conservative stack limit (PFmaxstack)
&lt;br&gt;for too deep recusion check (PFrecursion_fence())
&lt;br&gt;to check whether this helps to prevent the remaining segfaults with test
&lt;br&gt;tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210.*
&lt;br&gt;on some platforms; cf.
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-Debian4.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-Debian4.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Gentoo2.0.1/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Gentoo2.0.1/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-SunOS5.11/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-SunOS5.11/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&amp;quot;
&lt;br&gt;this test does not segfault any more,
&lt;br&gt;but runs into &amp;quot;too deep recursion&amp;quot; on the mentioned platforms
&lt;br&gt;earlier than on others; hence, we shrink parts of the test
&lt;br&gt;a bit.
&lt;br&gt;===================================================================
&lt;br&gt;2009/11/26 - stmane:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;pathfinder/tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210_s00.xq,1.4.22.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;pathfinder/tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210_s02.xq,1.4.22.2
&lt;br&gt;&lt;br&gt;shrink queries even more
&lt;br&gt;to avoid &amp;quot;aborted too deep recursion&amp;quot;
&lt;br&gt;also on 32-bit Debian4.0 &amp; 32-bit SunOS5.11
&lt;br&gt;===================================================================
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-21 15:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;===================================================================
&lt;br&gt;2009/11/21 - stmane: pathfinder/runtime/pathfinder.mx,1.462.4.12
&lt;br&gt;&lt;br&gt;use more conservative stack limit (PFmaxstack)
&lt;br&gt;for too deep recusion check (PFrecursion_fence())
&lt;br&gt;to prevent segfault (due to too deep recursion and
&lt;br&gt;consequent stack overflow) in tests
&lt;br&gt;tests/BugTracker/Tests/collection_management.SF-1726599.*
&lt;br&gt;tests/BugTracker/Tests/crash_on_concatenated_query.SF-1730547.*
&lt;br&gt;cf.,
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;aid=1607210&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;aid=1607210&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;aid=1730547&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;aid=1730547&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;===================================================================
&lt;br&gt;&lt;br&gt;Report can be closed once nightly testing confirms the fix for all
&lt;br&gt;platforms.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-16 22:18
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;re-opened as the respective test fails on all platform with timeout or
&lt;br&gt;segfault at least since 2009.03.25
&lt;br&gt;cf.,
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.out.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Fedora10/tests_BugTracker/server-side_compilation_crash.SF-1607210.out.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2008-02-10 14:12
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Appears to work fine on most platforms, again;
&lt;br&gt;exceptions:
&lt;br&gt;&lt;br&gt;Segfault on RedHat (on Itanium):
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.64.d-RedHat4WS/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.64.d-RedHat4WS/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Timeout on Windows:
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d-Windows5.2/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d-Windows5.2/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2008-01-22 14:58
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;re-opened as it fails, again, since 2008.01.12, i.e., after checkins on
&lt;br&gt;2008.01.11, now with
&lt;br&gt;&lt;br&gt;ERROR = !fatal error: aborted too deep recursion
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.32.32.d-Fedora6/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.32.32.d-Fedora6/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Peter Boncz (boncz)
&lt;br&gt;Date: 2007-06-05 18:37
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=591107
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;fixed
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2007-06-04 21:19
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;See also
&lt;br&gt;[ 1730547 ] XQ: Mserver crashes on concatenated query
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1730547&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1730547&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2007-05-29 10:24
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;See also
&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/server-side_compilation_crash.SF-1607210.out.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/server-side_compilation_crash.SF-1607210.out.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2007-05-28 12:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Added test in
&lt;br&gt;pathfinder/tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210*
&lt;br&gt;&lt;br&gt;As opposed to
&lt;br&gt;[ 1207048 ] XQuery: crashtest
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1207048&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1207048&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugDay_2005-11-09_0.9.3/xquery_crashtest.SF-1207048.out.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugDay_2005-11-09_0.9.3/xquery_crashtest.SF-1207048.out.00.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugDay_2005-11-09_0.9.3/xquery_crashtest.SF-1207048.err.00.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugDay_2005-11-09_0.9.3/xquery_crashtest.SF-1207048.err.00.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;it still crashes with a segfault, i.e.,
&lt;br&gt;the new fence does not catch the stack overflow in this case, yet.
&lt;br&gt;&lt;br&gt;Not analysed, yet.
&lt;br&gt;&lt;br&gt;Re-opend to keep us reminded to have another look at this one.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Peter Boncz (boncz)
&lt;br&gt;Date: 2007-05-25 23:55
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=591107
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;fixed using a fence
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2006-12-11 16:10
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I am pretty sure, this is a problem with recursive burg-generated code
&lt;br&gt;running out of stack space, which in unfortunately out of out stack space
&lt;br&gt;control, and hence IMHO very hard to prevent/fix...
&lt;br&gt;With &amp;quot;pf&amp;quot; standalone, it happens as well, just with a longer path
&lt;br&gt;expression (29 child steps in my case):
&lt;br&gt;&lt;br&gt;$ n=28 ; i=0 ; q='doc(&amp;quot;MyDoc.xml&amp;quot;)' ; while [ $i -lt $n ] ; do i=$[i+1] ;
&lt;br&gt;q=&amp;quot;$q`printf &amp;quot;/t%02d&amp;quot; $i`&amp;quot; ; done ; echo $q | tee /tmp/q.xq ; pf /tmp/q.xq
&lt;br&gt;&amp;gt;/dev/null
&lt;br&gt;doc(&amp;quot;MyDoc.xml&amp;quot;)/t01/t02/t03/t04/t05/t06/t07/t08/t09/t10/t11/t12/t13/t14/t15/t16/t17/t18/t19/t20/t21/t22/t23/t24/t25/t26/t27/t28
&lt;br&gt;&lt;br&gt;$ n=29 ; i=0 ; q='doc(&amp;quot;MyDoc.xml&amp;quot;)' ; while [ $i -lt $n ] ; do i=$[i+1] ;
&lt;br&gt;q=&amp;quot;$q`printf &amp;quot;/t%02d&amp;quot; $i`&amp;quot; ; done ; echo $q | tee /tmp/q.xq ; pf /tmp/q.xq
&lt;br&gt;&amp;gt;/dev/null
&lt;br&gt;doc(&amp;quot;MyDoc.xml&amp;quot;)/t01/t02/t03/t04/t05/t06/t07/t08/t09/t10/t11/t12/t13/t14/t15/t16/t17/t18/t19/t20/t21/t22/t23/t24/t25/t26/t27/t28/t29
&lt;br&gt;Segmentation fault
&lt;br&gt;&lt;br&gt;$ gdb --args pf /tmp/q.xq
&lt;br&gt;GNU gdb Red Hat Linux (6.3.0.0-1.84rh)
&lt;br&gt;Copyright 2004 Free Software Foundation, Inc.
&lt;br&gt;GDB is free software, covered by the GNU General Public License, and you
&lt;br&gt;are
&lt;br&gt;welcome to change it and/or distribute copies of it under certain
&lt;br&gt;conditions.
&lt;br&gt;Type &amp;quot;show copying&amp;quot; to see the conditions.
&lt;br&gt;There is absolutely no warranty for GDB. &amp;nbsp;Type &amp;quot;show warranty&amp;quot; for
&lt;br&gt;details.
&lt;br&gt;This GDB was configured as &amp;quot;x86_64-redhat-linux-gnu&amp;quot;...Using host
&lt;br&gt;libthread_db library &amp;quot;/lib64/libthread_db.so.1&amp;quot;.
&lt;br&gt;&lt;br&gt;(gdb) r
&lt;br&gt;Starting program:
&lt;br&gt;/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Stable/.GNU.64.32.d.--disable-optimize_--enable-debug_--enable-assert.PREFIX./PATHFINDER/bin/pf
&lt;br&gt;/tmp/q.xq
&lt;br&gt;[Thread debugging using libthread_db enabled]
&lt;br&gt;[New Thread 46912496328800 (LWP 30516)]
&lt;br&gt;&lt;br&gt;Program received signal SIGSEGV, Segmentation fault.
&lt;br&gt;[Switching to Thread 46912496328800 (LWP 30516)]
&lt;br&gt;0x0000000000483666 in reduce (p=0x2aaaaaae0b90, goalnt=50) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:874
&lt;br&gt;874 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rule = PFfs_rule (STATE_LABEL (p), goalnt);
&lt;br&gt;(gdb) li
&lt;br&gt;869 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFpnode_t &amp;nbsp; &amp;nbsp;*kids[MAX_KIDS]; /* leaf nodes of this rule */
&lt;br&gt;870 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bool &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;topdown; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* is this a top-down rule? */
&lt;br&gt;871 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFcnode_t &amp;nbsp; &amp;nbsp;*c; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* temporary helper variable */
&lt;br&gt;872
&lt;br&gt;873 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* determine rule that matches for this non-terminal */
&lt;br&gt;874 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rule = PFfs_rule (STATE_LABEL (p), goalnt);
&lt;br&gt;875
&lt;br&gt;876 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* PFinfo (OOPS_NOTICE, &amp;quot;match for rule %i&amp;quot;, rule); */
&lt;br&gt;877 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assert (rule);
&lt;br&gt;878
&lt;br&gt;(gdb) up
&lt;br&gt;#1 &amp;nbsp;0x00000000004837d9 in reduce (p=0x2aaaaaae0b90, goalnt=49) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:929
&lt;br&gt;929 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reduce (kids[i], nts[i]);
&lt;br&gt;(gdb) li
&lt;br&gt;924 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*
&lt;br&gt;925 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* Recursively invoke compilation. &amp;nbsp;This means bottom-up
&lt;br&gt;compilation.
&lt;br&gt;926 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;927 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!topdown)
&lt;br&gt;928 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (unsigned short i = 0; nts[i]; i++)
&lt;br&gt;929 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reduce (kids[i], nts[i]);
&lt;br&gt;930
&lt;br&gt;931 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*
&lt;br&gt;932 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFinfo (OOPS_NOTICE, &amp;quot;processing rule %i&amp;quot;, rule);
&lt;br&gt;933 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */
&lt;br&gt;(gdb) bt
&lt;br&gt;#0 &amp;nbsp;0x0000000000483666 in reduce (p=0x2aaaaaae0b90, goalnt=50) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:874
&lt;br&gt;#1 &amp;nbsp;0x00000000004837d9 in reduce (p=0x2aaaaaae0b90, goalnt=49) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:929
&lt;br&gt;[...]
&lt;br&gt;#680 0x00000000004837d9 in reduce (p=0x2aaaaaae5f00, goalnt=1) at #680
&lt;br&gt;0x00000000004837d9 in reduce (p=0x2aaaaaae5f00, goalnt=1) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:929
&lt;br&gt;#681 0x0000000000491eaf in PFfs (r=0x2aaaaaae5f00) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:4209
&lt;br&gt;#682 0x00000000004065da in PFcompile (url=0x7ffffffb672e &amp;quot;/tmp/q.xq&amp;quot;,
&lt;br&gt;pfout=0x38ecf318c0, status=0x731f40) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/compile.c:381
&lt;br&gt;#683 0x0000000000405f11 in main (argc=2, argv=0x7ffffffb4e78) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/main.c:905
&lt;br&gt;(gdb)
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:929
&lt;br&gt;#681 0x0000000000491eaf in PFfs (r=0x2aaaaaae5f00) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/core/fs.brg:4209
&lt;br&gt;#682 0x00000000004065da in PFcompile (url=0x7ffffffb672e &amp;quot;/tmp/q.xq&amp;quot;,
&lt;br&gt;pfout=0x38ecf318c0, status=0x731f40) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/compile.c:381
&lt;br&gt;#683 0x0000000000405f11 in main (argc=2, argv=0x7ffffffb4e78) at
&lt;br&gt;/ufs/manegold/_/scratch0/Monet/Testing/Stable/pathfinder/compiler/main.c:905
&lt;br&gt;(gdb)
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2006-12-02 08:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;How does it crash?
&lt;br&gt;Is there any error message or exit status?
&lt;br&gt;Does it work for stand-alone pf also for n &amp;gt;&amp;gt; 15?
&lt;br&gt;&lt;br&gt;Might well be a stack-overflow in some burg generated code...
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1607210&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1607210&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538805&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-1607210---XQ%3A-server-side-compilation-crash-%28member-benchmark%29-tp26538805p26538805.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531039</id>
	<title>Re: Fatal error: aborted too deep recursion</title>
	<published>2009-11-26T07:28:10Z</published>
	<updated>2009-11-26T07:28:10Z</updated>
	<author>
		<name>Martin Kersten</name>
	</author>
	<content type="html">Harm van Beek(DT) wrote:
&lt;br&gt;&amp;gt; During the development of our tool, using Xquery on MonetDB, we ran onto
&lt;br&gt;&amp;gt; the following error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ERROR = !fatal error: aborted too deep recursion
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;From previous posts (I guess) I can conclude that this relates to an
&lt;br&gt;&amp;gt; Xquery that simply is too big (too many operators) to create a good plan
&lt;br&gt;&amp;gt; for it.
&lt;br&gt;All systems have limits that either cause an emergency stop. In this case,
&lt;br&gt;the operating system has such a limit.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I tried several MonetDB releases (May2009-SP2, Aug2009-SP2, Nov2009-DB0)
&lt;br&gt;&amp;gt; on Red Hat Enterprise Linux Server release 5.4 (Tikanga), all showing
&lt;br&gt;&amp;gt; the same result.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does anyone have any directions on how to solve this? 
&lt;br&gt;Yes. Programming cleverness comes into play. Especially if you use a tool
&lt;br&gt;to generate queries, then that tool should be a little more conservative
&lt;br&gt;in the kind of queries generated.
&lt;br&gt;&lt;br&gt;&amp;gt; Can we reconfigure the compiler to fix this (or recompile it with
&lt;br&gt;&amp;gt; options)?
&lt;br&gt;No. At some point the optimization space becomes just too big.
&lt;br&gt;People that can spare the time to find the optimal settings for a larger
&lt;br&gt;application space are more then welcome to try it out on the source code
&lt;br&gt;made available.
&lt;br&gt;&lt;br&gt;regards, Martin
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in advance!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Harm van Beek
&lt;br&gt;&amp;gt; Netherlands Forensic Institute
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531039&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fatal-error%3A-aborted-too-deep-recursion-tp26530909p26531039.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530909</id>
	<title>Fatal error: aborted too deep recursion</title>
	<published>2009-11-26T07:18:52Z</published>
	<updated>2009-11-26T07:18:52Z</updated>
	<author>
		<name>Harm van Beek(DT)</name>
	</author>
	<content type="html">During the development of our tool, using Xquery on MonetDB, we ran onto
&lt;br&gt;the following error:
&lt;br&gt;&lt;br&gt;ERROR = !fatal error: aborted too deep recursion
&lt;br&gt;&lt;br&gt;&amp;gt;From previous posts (I guess) I can conclude that this relates to an
&lt;br&gt;Xquery that simply is too big (too many operators) to create a good plan
&lt;br&gt;for it.
&lt;br&gt;&lt;br&gt;I tried several MonetDB releases (May2009-SP2, Aug2009-SP2, Nov2009-DB0)
&lt;br&gt;on Red Hat Enterprise Linux Server release 5.4 (Tikanga), all showing
&lt;br&gt;the same result.
&lt;br&gt;&lt;br&gt;Does anyone have any directions on how to solve this? 
&lt;br&gt;Can we reconfigure the compiler to fix this (or recompile it with
&lt;br&gt;options)?
&lt;br&gt;&lt;br&gt;Thanks in advance!
&lt;br&gt;&lt;br&gt;Harm van Beek
&lt;br&gt;Netherlands Forensic Institute
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530909&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fatal-error%3A-aborted-too-deep-recursion-tp26530909p26530909.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530531</id>
	<title>Re: COPY INTO memory issues</title>
	<published>2009-11-26T06:52:15Z</published>
	<updated>2009-11-26T06:52:15Z</updated>
	<author>
		<name>Martin Kersten</name>
	</author>
	<content type="html">Andreas Streichardt wrote:
&lt;br&gt;&amp;gt; On Wednesday 25 November 2009 19:29:02 Martin Kersten wrote:
&lt;br&gt;&amp;gt;&amp;gt; Andreas Streichardt wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; Hi Andreas,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Martin,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks for your reply.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; My first attempt was:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sql&amp;gt;copy into md_data FROM '/home/mop/performance/hans.csv' delimiters
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ',','\n' null as '';
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; MAPI &amp;nbsp;= monetdb@localhost:50000
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ACTION= read_line
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; QUERY = copy into md_data FROM '/home/mop/performance/hans.csv'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; delimiters ',','\n' null as '';
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ERROR = Connection terminated
&lt;br&gt;&amp;gt;&amp;gt; did you kill the connection or the server?
&lt;br&gt;&amp;gt;&amp;gt; if the server crashed, then the input file would be interesting to look at
&lt;br&gt;&amp;gt;&amp;gt; for use.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Server crashed when there wasn't any mem left (only have 1 Gig Swap).
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This was of course the quick and dirty way. What happened in the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; background was that monetdb consumed all memory. My system is a debian
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; lenny 64bit. Server has 4GB and decent CPUs. Why does it need all my
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; memory here?
&lt;br&gt;&amp;gt;&amp;gt; Quote from the manual:&amp;quot; It is strongly adviced to announce the number of
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;records to be inserted. It avoids guessing by the server and subsequent
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;re-allocation of table space, which involves potential copying.&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Furthermore, MonetDB uses whatever memory there is. The tables constructed
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;are memory mapped files.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does that mean that the maximum size of a table is limited by the available 
&lt;br&gt;&amp;gt; RAM? More precisely: I can't work on a 100 million rows*100 columns table if i 
&lt;br&gt;&amp;gt; only have 1GB Ram?
&lt;/div&gt;This is a recurring question from people with different database experiences,
&lt;br&gt;and certainly needs a short chapter in the document.
&lt;br&gt;&lt;br&gt;- No, the databases are *not* limited to the amount of physical memory (RAM)
&lt;br&gt;&amp;nbsp; &amp;nbsp;(the largest one running in our lab is 4TB on a single PC)
&lt;br&gt;- Yes, the temporary tables may be allocated in swap space, which calls for a
&lt;br&gt;larger setting then most
&lt;br&gt;- Yes, you can work with huge database
&lt;br&gt;- Yes, ideally the hot set you are working with fits in memory (RAM+swap)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I then did the same but loaded only parts of the file (1000000 rows).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sql&amp;gt;copy 1000000 records into md_data FROM
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; '/home/mop/performance/hans.csv' delimiters ',','\n' null as '' ;
&lt;br&gt;&amp;gt;&amp;gt; Same issue. It will have to reallocate space, which may involve copying.
&lt;br&gt;&amp;gt;&amp;gt; (at least on the released versions)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hmm...Isn't the &amp;quot;1000000&amp;quot; records stuff the hint about the number of records 
&lt;br&gt;&amp;gt; you mentioned earlier? If not how do i announce the number of records? 
&lt;br&gt;&amp;gt; Couldn't find anything else here:
&lt;/div&gt;The issue is mostly gone in the next release, which uses the memory mapped
&lt;br&gt;files for all non-trival sizes.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://monetdb.cwi.nl/projects/monetdb/SQL/Documentation/Data-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/projects/monetdb/SQL/Documentation/Data-&lt;/a&gt;&lt;br&gt;&amp;gt; Manipulation.html
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This worked but the server used ~2-3GB of my RAM during the process and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what's even more important it used the same amount even though the copy
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; process finished. Why does it use the RAM even though it is not used
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; anymore?
&lt;br&gt;&amp;gt;&amp;gt; Tables are retained in memory until not needed and flushed.
&lt;br&gt;&amp;gt;&amp;gt; Persistent tables therefore likely stay around
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I still wonder how and if i can control how much memory monetdb is allowed to 
&lt;/div&gt;you can not.
&lt;br&gt;&lt;br&gt;&amp;gt; use. When does monetdb decide that a table is not used anymore? My biggest 
&lt;br&gt;&amp;gt; concern currently is that monetdb simply crashes due to memory outages (which 
&lt;br&gt;&amp;gt; i already hit during loading ;) ). Are there any settings to limit the memory 
&lt;br&gt;&amp;gt; usage or does monetdb require to have everything in RAM? Does it mean i need a 
&lt;br&gt;&amp;gt; 8GB RAM Server if i want to work on a 2,1million rows*200 columns table?
&lt;br&gt;MonetDB will be happily sharing the 8 GB with the other processes.
&lt;br&gt;It may mean that your OS kicks in at some point if it feels there is an
&lt;br&gt;uneven balance of resource requests.
&lt;br&gt;&lt;br&gt;Running a database server on a box in isolation is not uncommon for
&lt;br&gt;real-life applications.
&lt;br&gt;&lt;br&gt;For those with hard memory constraints: we are experimenting with
&lt;br&gt;virtual engines to assess the impact and control the resources.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; When i tried a:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sql&amp;gt;SELECT COUNT(*) FROM md_data;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it hang completely. Same when trying to establish a new connection.
&lt;br&gt;&amp;gt;&amp;gt; this is not what i would expect. Did you accidently ran the query as
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;another parallel user? or the same session as the copy command?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think (!) it was the same session. But a new connection didn't work either.
&lt;/div&gt;I think it is related to the low swap space situation.
&lt;br&gt;And a hard one to debug. Perhaps the next release (Nov2009) is already better,
&lt;br&gt;because we spent quite some effort to harden the code further
&lt;br&gt;using the Coverity tools
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I stopped the server and restarted again. Everything was fine again. I
&lt;br&gt;&amp;gt;&amp;gt; good :)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Memory leaks has been addressed in the Aug release, we are not aware of
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;serious ones and would need to re-do the precise experiment to confirm it.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;What you see is memory fragmentation due to re-allocation of the BATs in
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;memory.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My problem is: How do i fix that?
&lt;/div&gt;you can not.
&lt;br&gt;&amp;gt; I am currently inserting in 10k steps and i am hitting the memory problems 
&lt;br&gt;&amp;gt; again. What should i do to insert my data? Stopping and starting the database 
&lt;br&gt;&amp;gt; for each step? :S
&lt;br&gt;Enlarge the OS swap space is the road to take.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Interestingly i am seeing a big gap in loading speed somewhere in between:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 880000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; &amp;nbsp;4916.922 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 890000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; &amp;nbsp;4477.197 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 900000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; &amp;nbsp;4535.896 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 910000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; &amp;nbsp;5708.848 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 920000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; 19675.302 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 930000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; 28901.041 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 940000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; 28013.104 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 950000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; 28235.442 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 960000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; 28741.978 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 970000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; [ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Timer &amp;nbsp; 29581.496 msec
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The number indicates at which offset i am currently (~2.1 million rows in 
&lt;br&gt;&amp;gt; total). It is not yet swapping.
&lt;/div&gt;indeed after the memory is filled, it starts moving dirty pages out.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I think your expectations are not yet aligned with what MonetDB does
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;differently from other systems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hmm...What does it do differently? ;) I simply wonder how to insert 2.1 
&lt;br&gt;The architecture of MonetDB is completely different from the row-store
&lt;br&gt;you are familiar with. It is documented in tens of papers, a glimps
&lt;br&gt;of the differences is summarised in the recent paper mentioned
&lt;br&gt;in thehome page
&lt;br&gt;&amp;quot;Database Architecture Evolution: Mammals Flourished long before Dinosaurs 
&lt;br&gt;became Extinct &amp;quot;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; million rows currently :S (data layout see above). I could also post my quick 
&lt;br&gt;&amp;gt; and dirty generation script here if that helps.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Let me know if you need any more details!
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	Andreas Streichardt
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530531&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530531&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/COPY-INTO-memory-issues-tp26517544p26530531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528933</id>
	<title>Re: COPY INTO memory issues</title>
	<published>2009-11-26T04:41:04Z</published>
	<updated>2009-11-26T04:41:04Z</updated>
	<author>
		<name>Andreas Streichardt-2</name>
	</author>
	<content type="html">On Wednesday 25 November 2009 19:29:02 Martin Kersten wrote:
&lt;br&gt;&amp;gt; Andreas Streichardt wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Andreas,
&lt;br&gt;&lt;br&gt;Hi Martin,
&lt;br&gt;&lt;br&gt;thanks for your reply.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thank you for taking the time to experiment and more importantly to report
&lt;br&gt;&amp;gt; &amp;nbsp;back. There has been a lot of work on the loader, but its importance for
&lt;br&gt;&amp;gt; &amp;nbsp;users to get started has our full attention.
&lt;br&gt;&amp;gt; An external evaluation of MonetDB using extensive copying is reported in:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.mysqlperformanceblog.com/2009/09/29/quick-comparison-of-myisam-i&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mysqlperformanceblog.com/2009/09/29/quick-comparison-of-myisam-i&lt;/a&gt;&lt;br&gt;&amp;gt; nfobright-and-monetdb/ and
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.mysqlperformanceblog.com/2009/10/02/analyzing-air-traffic-perfor&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mysqlperformanceblog.com/2009/10/02/analyzing-air-traffic-perfor&lt;/a&gt;&lt;br&gt;&amp;gt; mance-with-infobright-and-monetdb/ and upto date information on the same
&lt;br&gt;&amp;gt; &amp;nbsp;experiment in
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.cwi.nl/~mk/ontimeReport&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cwi.nl/~mk/ontimeReport&lt;/a&gt;&lt;/div&gt;&lt;br&gt;One of the very few blogs i read regulary ;)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; i had a look at monetdb a while (a year or so) ago and stumbled upon a
&lt;br&gt;&amp;gt; &amp;gt; few crashes/memory issues back then. Apart from that it made a very
&lt;br&gt;&amp;gt; &amp;gt; promising impression to me.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Today i thought i could give it a try again to see if these issues have
&lt;br&gt;&amp;gt; &amp;gt; been fixed and found out that copy into still seems to have memory issues
&lt;br&gt;&amp;gt; &amp;gt; and i wonder if i am the only one who hits such issues.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First and important question is: Which version exactly did you use?
&lt;br&gt;&amp;gt; mserver5 --version
&lt;/div&gt;&lt;br&gt;MonetDB server v5.14.4 (64-bit), based on kernel v1.32.4 (64-bit oids)
&lt;br&gt;Copyright (c) 1993-July 2008 CWI
&lt;br&gt;Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
&lt;br&gt;Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information
&lt;br&gt;Configured for prefix: /usr
&lt;br&gt;Libraries:
&lt;br&gt;&amp;nbsp; libpcre: 7.6 2008-01-28 (compiled with 7.6)
&lt;br&gt;&amp;nbsp; openssl: OpenSSL 0.9.8g 19 Oct 2007 (compiled with OpenSSL 0.9.8g 19 Oct 
&lt;br&gt;2007)
&lt;br&gt;&amp;nbsp; libxml2: 2.6.32 (compiled with 2.6.32)
&lt;br&gt;Compiled by: root@debian64 (x86_64-pc-linux-gnu)
&lt;br&gt;Compilation: cc -O2 -Wall -O2 -O6 -fomit-frame-pointer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;-finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -
&lt;br&gt;fexpensive-optimizations &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -funroll-loops -frerun-cse-after-
&lt;br&gt;loop -frerun-loop-opt -ftree-vectorize
&lt;br&gt;Linking &amp;nbsp; &amp;nbsp;: ld -IPA -m elf_x86_64
&lt;br&gt;&lt;br&gt;(I am simply using the precompiled debs)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; I am experimeting with dummy data created by a script.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Data is created the following way:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 20 smallints: Values 1-10.
&lt;br&gt;&amp;gt; &amp;gt; 100 tinyints: Values 0-1
&lt;br&gt;&amp;gt; &amp;gt; 20 ints: Values 1-10000
&lt;br&gt;&amp;gt; &amp;gt; 40 varchars: md5 of some random value
&lt;br&gt;&amp;gt; &amp;gt; 20 floats: rand(1000000)/1000000
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I created a CSV file with ~2.1 million rows and then tried to insert the
&lt;br&gt;&amp;gt; &amp;gt; data.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; My first attempt was:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; sql&amp;gt;copy into md_data FROM '/home/mop/performance/hans.csv' delimiters
&lt;br&gt;&amp;gt; &amp;gt; ',','\n' null as '';
&lt;br&gt;&amp;gt; &amp;gt; MAPI &amp;nbsp;= monetdb@localhost:50000
&lt;br&gt;&amp;gt; &amp;gt; ACTION= read_line
&lt;br&gt;&amp;gt; &amp;gt; QUERY = copy into md_data FROM '/home/mop/performance/hans.csv'
&lt;br&gt;&amp;gt; &amp;gt; delimiters ',','\n' null as '';
&lt;br&gt;&amp;gt; &amp;gt; ERROR = Connection terminated
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; did you kill the connection or the server?
&lt;br&gt;&amp;gt; if the server crashed, then the input file would be interesting to look at
&lt;br&gt;&amp;gt; for use.
&lt;/div&gt;&lt;br&gt;Server crashed when there wasn't any mem left (only have 1 Gig Swap).
&lt;br&gt;&amp;nbsp;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; This was of course the quick and dirty way. What happened in the
&lt;br&gt;&amp;gt; &amp;gt; background was that monetdb consumed all memory. My system is a debian
&lt;br&gt;&amp;gt; &amp;gt; lenny 64bit. Server has 4GB and decent CPUs. Why does it need all my
&lt;br&gt;&amp;gt; &amp;gt; memory here?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Quote from the manual:&amp;quot; It is strongly adviced to announce the number of
&lt;br&gt;&amp;gt; &amp;nbsp;records to be inserted. It avoids guessing by the server and subsequent
&lt;br&gt;&amp;gt; &amp;nbsp;re-allocation of table space, which involves potential copying.&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Furthermore, MonetDB uses whatever memory there is. The tables constructed
&lt;br&gt;&amp;gt; &amp;nbsp;are memory mapped files.
&lt;/div&gt;&lt;br&gt;Does that mean that the maximum size of a table is limited by the available 
&lt;br&gt;RAM? More precisely: I can't work on a 100 million rows*100 columns table if i 
&lt;br&gt;only have 1GB Ram?
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; I then did the same but loaded only parts of the file (1000000 rows).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; sql&amp;gt;copy 1000000 records into md_data FROM
&lt;br&gt;&amp;gt; &amp;gt; '/home/mop/performance/hans.csv' delimiters ',','\n' null as '' ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Same issue. It will have to reallocate space, which may involve copying.
&lt;br&gt;&amp;gt; (at least on the released versions)
&lt;br&gt;&lt;br&gt;Hmm...Isn't the &amp;quot;1000000&amp;quot; records stuff the hint about the number of records 
&lt;br&gt;you mentioned earlier? If not how do i announce the number of records? 
&lt;br&gt;Couldn't find anything else here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://monetdb.cwi.nl/projects/monetdb/SQL/Documentation/Data-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/projects/monetdb/SQL/Documentation/Data-&lt;/a&gt;&lt;br&gt;Manipulation.html
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; This worked but the server used ~2-3GB of my RAM during the process and
&lt;br&gt;&amp;gt; &amp;gt; what's even more important it used the same amount even though the copy
&lt;br&gt;&amp;gt; &amp;gt; process finished. Why does it use the RAM even though it is not used
&lt;br&gt;&amp;gt; &amp;gt; anymore?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Tables are retained in memory until not needed and flushed.
&lt;br&gt;&amp;gt; Persistent tables therefore likely stay around
&lt;br&gt;&lt;br&gt;I still wonder how and if i can control how much memory monetdb is allowed to 
&lt;br&gt;use. When does monetdb decide that a table is not used anymore? My biggest 
&lt;br&gt;concern currently is that monetdb simply crashes due to memory outages (which 
&lt;br&gt;i already hit during loading ;) ). Are there any settings to limit the memory 
&lt;br&gt;usage or does monetdb require to have everything in RAM? Does it mean i need a 
&lt;br&gt;8GB RAM Server if i want to work on a 2,1million rows*200 columns table?
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; When i tried a:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; sql&amp;gt;SELECT COUNT(*) FROM md_data;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; it hang completely. Same when trying to establish a new connection.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; this is not what i would expect. Did you accidently ran the query as
&lt;br&gt;&amp;gt; &amp;nbsp;another parallel user? or the same session as the copy command?
&lt;br&gt;&lt;br&gt;I think (!) it was the same session. But a new connection didn't work either.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; I stopped the server and restarted again. Everything was fine again. I
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; good :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Memory leaks has been addressed in the Aug release, we are not aware of
&lt;br&gt;&amp;gt; &amp;nbsp;serious ones and would need to re-do the precise experiment to confirm it.
&lt;br&gt;&amp;gt; &amp;nbsp;What you see is memory fragmentation due to re-allocation of the BATs in
&lt;br&gt;&amp;gt; &amp;nbsp;memory.
&lt;br&gt;&lt;br&gt;My problem is: How do i fix that?
&lt;br&gt;I am currently inserting in 10k steps and i am hitting the memory problems 
&lt;br&gt;again. What should i do to insert my data? Stopping and starting the database 
&lt;br&gt;for each step? :S
&lt;br&gt;&lt;br&gt;Interestingly i am seeing a big gap in loading speed somewhere in between:
&lt;br&gt;&lt;br&gt;880000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; &amp;nbsp;4916.922 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;890000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; &amp;nbsp;4477.197 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;900000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; &amp;nbsp;4535.896 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;910000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; &amp;nbsp;5708.848 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;920000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; 19675.302 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;930000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; 28901.041 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;940000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; 28013.104 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;950000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; 28235.442 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;960000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; 28741.978 msec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;970000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[ 10000 ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Timer &amp;nbsp; 29581.496 msec
&lt;br&gt;&lt;br&gt;The number indicates at which offset i am currently (~2.1 million rows in 
&lt;br&gt;total). It is not yet swapping.
&lt;br&gt;&lt;br&gt;&amp;gt; I think your expectations are not yet aligned with what MonetDB does
&lt;br&gt;&amp;gt; &amp;nbsp;differently from other systems.
&lt;br&gt;&lt;br&gt;Hmm...What does it do differently? ;) I simply wonder how to insert 2.1 
&lt;br&gt;million rows currently :S (data layout see above). I could also post my quick 
&lt;br&gt;and dirty generation script here if that helps.
&lt;br&gt;&lt;br&gt;Let me know if you need any more details!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Andreas Streichardt
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528933&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/COPY-INTO-memory-issues-tp26517544p26528933.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518529</id>
	<title>Re: COPY INTO memory issues</title>
	<published>2009-11-25T11:07:26Z</published>
	<updated>2009-11-25T11:07:26Z</updated>
	<author>
		<name>joehl</name>
	</author>
	<content type="html">&amp;gt; &amp;gt; This wasn't the fact. Again monetdb consumed all my memory and when loading 
&lt;br&gt;&amp;gt; &amp;gt; finished it indicated that it was still doing something (CPU @ ~20%).
&lt;br&gt;&amp;gt; log records have to be written, your OS may kick in to flush dirty pages,
&lt;br&gt;&amp;gt; reloading swapped out processes, ....
&lt;br&gt;&lt;br&gt;The following might not apply to Linux, but still: under windows, suddenly &amp;nbsp;flushing dirty pages from large memory mapped files can severly degrade the system performance (&amp;quot;stalled&amp;quot;). I know windows has settings to limit the amount of dirty pages that may accumulate without flushing. Maybe Linux has something similar and maybe this helps here.
&lt;br&gt;&lt;br&gt;Please keep me in the loop if you try this route.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jens
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518529&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/COPY-INTO-memory-issues-tp26517544p26518529.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26517940</id>
	<title>Re: COPY INTO memory issues</title>
	<published>2009-11-25T10:29:02Z</published>
	<updated>2009-11-25T10:29:02Z</updated>
	<author>
		<name>Martin Kersten</name>
	</author>
	<content type="html">Andreas Streichardt wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;Hi Andreas,
&lt;br&gt;&lt;br&gt;Thank you for taking the time to experiment and more importantly to report back.
&lt;br&gt;There has been a lot of work on the loader, but its importance for users to
&lt;br&gt;get started has our full attention.
&lt;br&gt;An external evaluation of MonetDB using extensive copying is reported in:
&lt;br&gt;&lt;a href=&quot;http://www.mysqlperformanceblog.com/2009/09/29/quick-comparison-of-myisam-infobright-and-monetdb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mysqlperformanceblog.com/2009/09/29/quick-comparison-of-myisam-infobright-and-monetdb/&lt;/a&gt;&lt;br&gt;and
&lt;br&gt;&lt;a href=&quot;http://www.mysqlperformanceblog.com/2009/10/02/analyzing-air-traffic-performance-with-infobright-and-monetdb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mysqlperformanceblog.com/2009/10/02/analyzing-air-traffic-performance-with-infobright-and-monetdb/&lt;/a&gt;&lt;br&gt;and upto date information on the same experiment in
&lt;br&gt;&lt;a href=&quot;http://www.cwi.nl/~mk/ontimeReport&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cwi.nl/~mk/ontimeReport&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i had a look at monetdb a while (a year or so) ago and stumbled upon a few 
&lt;br&gt;&amp;gt; crashes/memory issues back then. Apart from that it made a very promising 
&lt;br&gt;&amp;gt; impression to me.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Today i thought i could give it a try again to see if these issues have been 
&lt;br&gt;&amp;gt; fixed and found out that copy into still seems to have memory issues and i 
&lt;br&gt;&amp;gt; wonder if i am the only one who hits such issues.
&lt;br&gt;First and important question is: Which version exactly did you use?
&lt;br&gt;mserver5 --version
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am experimeting with dummy data created by a script.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Data is created the following way:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 20 smallints: Values 1-10.
&lt;br&gt;&amp;gt; 100 tinyints: Values 0-1
&lt;br&gt;&amp;gt; 20 ints: Values 1-10000
&lt;br&gt;&amp;gt; 40 varchars: md5 of some random value
&lt;br&gt;&amp;gt; 20 floats: rand(1000000)/1000000
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I created a CSV file with ~2.1 million rows and then tried to insert the data.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My first attempt was:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sql&amp;gt;copy into md_data FROM '/home/mop/performance/hans.csv' delimiters 
&lt;br&gt;&amp;gt; ',','\n' null as '';
&lt;br&gt;&amp;gt; MAPI &amp;nbsp;= monetdb@localhost:50000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; ACTION= read_line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; QUERY = copy into md_data FROM '/home/mop/performance/hans.csv' delimiters 
&lt;br&gt;&amp;gt; ',','\n' null as '';
&lt;br&gt;&amp;gt; ERROR = Connection terminated &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;did you kill the connection or the server?
&lt;br&gt;if the server crashed, then the input file would be interesting to look at
&lt;br&gt;for use.
&lt;br&gt;&amp;gt; This was of course the quick and dirty way. What happened in the background 
&lt;br&gt;&amp;gt; was that monetdb consumed all memory. My system is a debian lenny 64bit. 
&lt;br&gt;&amp;gt; Server has 4GB and decent CPUs. Why does it need all my memory here?
&lt;br&gt;Quote from the manual:&amp;quot; It is strongly adviced to announce the number of records 
&lt;br&gt;to be inserted. It avoids guessing by the server and subsequent re-allocation of 
&lt;br&gt;table space, which involves potential copying.&amp;quot;
&lt;br&gt;&lt;br&gt;Furthermore, MonetDB uses whatever memory there is. The tables constructed are
&lt;br&gt;memory mapped files.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I then did the same but loaded only parts of the file (1000000 rows).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sql&amp;gt;copy 1000000 records into md_data FROM '/home/mop/performance/hans.csv' 
&lt;br&gt;&amp;gt; delimiters ',','\n' null as '' ;
&lt;br&gt;Same issue. It will have to reallocate space, which may involve copying.
&lt;br&gt;(at least on the released versions)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This worked but the server used ~2-3GB of my RAM during the process and what's 
&lt;br&gt;&amp;gt; even more important it used the same amount even though the copy process 
&lt;br&gt;&amp;gt; finished. Why does it use the RAM even though it is not used anymore?
&lt;br&gt;Tables are retained in memory until not needed and flushed.
&lt;br&gt;Persistent tables therefore likely stay around
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then i tried to insert 1000000 rows more and my expectation was that monetdb 
&lt;br&gt;&amp;gt; would reuse the memory it allocated (and didn't free) in the first loading 
&lt;br&gt;&amp;gt; process.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This wasn't the fact. Again monetdb consumed all my memory and when loading 
&lt;br&gt;&amp;gt; finished it indicated that it was still doing something (CPU @ ~20%).
&lt;br&gt;log records have to be written, your OS may kick in to flush dirty pages,
&lt;br&gt;reloading swapped out processes, ....
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When i tried a:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sql&amp;gt;SELECT COUNT(*) FROM md_data; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it hang completely. Same when trying to establish a new connection.
&lt;br&gt;this is not what i would expect. Did you accidently ran the query as another
&lt;br&gt;parallel user? or the same session as the copy command?
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I stopped the server and restarted again. Everything was fine again. I
&lt;br&gt;good :)
&lt;br&gt;&lt;br&gt;&amp;gt; inserted the rest of the data (memory raised again but there were only 100000 
&lt;br&gt;&amp;gt; rows left so there wasn't any problem this time).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Am i the only one hitting such issues? One could argue that i should import 
&lt;br&gt;&amp;gt; less records at once but even then. There seems to be some nasty memleak in 
&lt;br&gt;Memory leaks has been addressed in the Aug release, we are not aware of serious
&lt;br&gt;ones and would need to re-do the precise experiment to confirm it.
&lt;br&gt;What you see is memory fragmentation due to re-allocation of the BATs in memory.
&lt;br&gt;&lt;br&gt;&amp;gt; the background. Or is this a configuration issue? Or am i doing something 
&lt;br&gt;&amp;gt; completely wrong?
&lt;br&gt;&lt;br&gt;I think your expectations are not yet aligned with what MonetDB does differently
&lt;br&gt;from other systems.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am using the .debs: &lt;a href=&quot;http://monetdb.cwi.nl/downloads/Debian/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/downloads/Debian/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in advance,
&lt;br&gt;thanks to you for sharing this information,
&lt;br&gt;Martin Kersten
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	Andreas Streichardt
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517940&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517940&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/COPY-INTO-memory-issues-tp26517544p26517940.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26517278</id>
	<title>Re: 'create table as select...' from union queries	doesn't work</title>
	<published>2009-11-25T09:46:49Z</published>
	<updated>2009-11-25T09:46:49Z</updated>
	<author>
		<name>Niels Nes</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 09:41:29AM -0800, Alex Bo. wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I do this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; create table t1 (f1 int);
&lt;br&gt;&amp;gt; create table t2 (f1 int);
&lt;br&gt;&amp;gt; create table t_union as (select f1 from t1 union all select f1 from t2) with
&lt;br&gt;&amp;gt; data;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then no table is created and no exception is thrown.
&lt;br&gt;&amp;gt; Should I open a bug for this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (AugSP2 on Windows)
&lt;/div&gt;just tested on linux Nov2009 release and that doesn't have this problem
&lt;br&gt;&lt;br&gt;Niels
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/%27create-table-as-select...%27-from-union-queries-doesn%27t-work-tp26517185p26517185.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/%27create-table-as-select...%27-from-union-queries-doesn%27t-work-tp26517185p26517185.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the monetdb-users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517278&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Niels Nes, Centrum Wiskunde &amp; Informatica (CWI)
&lt;br&gt;Science Park 123, 1098 XG Amsterdam, The Netherlands
&lt;br&gt;room C0.02/M3.46, &amp;nbsp;phone ++31 20 592-4098
&lt;br&gt;url: &lt;a href=&quot;http://www.cwi.nl/~niels&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cwi.nl/~niels&lt;/a&gt;&amp;nbsp; &amp;nbsp;e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517278&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Niels.Nes@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517278&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27create-table-as-select...%27-from-union-queries-doesn%27t-work-tp26517185p26517278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26517185</id>
	<title>'create table as select...' from union queries doesn't work</title>
	<published>2009-11-25T09:41:29Z</published>
	<updated>2009-11-25T09:41:29Z</updated>
	<author>
		<name>Alex Bo.</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;If I do this:
&lt;br&gt;&lt;br&gt;create table t1 (f1 int);
&lt;br&gt;create table t2 (f1 int);
&lt;br&gt;create table t_union as (select f1 from t1 union all select f1 from t2) with data;
&lt;br&gt;&lt;br&gt;Then no table is created and no exception is thrown.
&lt;br&gt;Should I open a bug for this?
&lt;br&gt;&lt;br&gt;&lt;br&gt;(AugSP2 on Windows)&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%27create-table-as-select...%27-from-union-queries-doesn%27t-work-tp26517185p26517185.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26517544</id>
	<title>COPY INTO memory issues</title>
	<published>2009-11-25T09:37:52Z</published>
	<updated>2009-11-25T09:37:52Z</updated>
	<author>
		<name>Andreas Streichardt-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;i had a look at monetdb a while (a year or so) ago and stumbled upon a few 
&lt;br&gt;crashes/memory issues back then. Apart from that it made a very promising 
&lt;br&gt;impression to me.
&lt;br&gt;&lt;br&gt;Today i thought i could give it a try again to see if these issues have been 
&lt;br&gt;fixed and found out that copy into still seems to have memory issues and i 
&lt;br&gt;wonder if i am the only one who hits such issues.
&lt;br&gt;&lt;br&gt;I am experimeting with dummy data created by a script.
&lt;br&gt;&lt;br&gt;Data is created the following way:
&lt;br&gt;&lt;br&gt;20 smallints: Values 1-10.
&lt;br&gt;100 tinyints: Values 0-1
&lt;br&gt;20 ints: Values 1-10000
&lt;br&gt;40 varchars: md5 of some random value
&lt;br&gt;20 floats: rand(1000000)/1000000
&lt;br&gt;&lt;br&gt;I created a CSV file with ~2.1 million rows and then tried to insert the data.
&lt;br&gt;&lt;br&gt;My first attempt was:
&lt;br&gt;&lt;br&gt;sql&amp;gt;copy into md_data FROM '/home/mop/performance/hans.csv' delimiters 
&lt;br&gt;',','\n' null as '';
&lt;br&gt;MAPI &amp;nbsp;= monetdb@localhost:50000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;ACTION= read_line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;QUERY = copy into md_data FROM '/home/mop/performance/hans.csv' delimiters 
&lt;br&gt;',','\n' null as '';
&lt;br&gt;ERROR = Connection terminated &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;This was of course the quick and dirty way. What happened in the background 
&lt;br&gt;was that monetdb consumed all memory. My system is a debian lenny 64bit. 
&lt;br&gt;Server has 4GB and decent CPUs. Why does it need all my memory here?
&lt;br&gt;&lt;br&gt;I then did the same but loaded only parts of the file (1000000 rows).
&lt;br&gt;&lt;br&gt;sql&amp;gt;copy 1000000 records into md_data FROM '/home/mop/performance/hans.csv' 
&lt;br&gt;delimiters ',','\n' null as '' ;
&lt;br&gt;&lt;br&gt;This worked but the server used ~2-3GB of my RAM during the process and what's 
&lt;br&gt;even more important it used the same amount even though the copy process 
&lt;br&gt;finished. Why does it use the RAM even though it is not used anymore?
&lt;br&gt;&lt;br&gt;Then i tried to insert 1000000 rows more and my expectation was that monetdb 
&lt;br&gt;would reuse the memory it allocated (and didn't free) in the first loading 
&lt;br&gt;process.
&lt;br&gt;&lt;br&gt;This wasn't the fact. Again monetdb consumed all my memory and when loading 
&lt;br&gt;finished it indicated that it was still doing something (CPU @ ~20%).
&lt;br&gt;&lt;br&gt;When i tried a:
&lt;br&gt;&lt;br&gt;sql&amp;gt;SELECT COUNT(*) FROM md_data; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;it hang completely. Same when trying to establish a new connection.
&lt;br&gt;&lt;br&gt;I stopped the server and restarted again. Everything was fine again. I 
&lt;br&gt;inserted the rest of the data (memory raised again but there were only 100000 
&lt;br&gt;rows left so there wasn't any problem this time).
&lt;br&gt;&lt;br&gt;Am i the only one hitting such issues? One could argue that i should import 
&lt;br&gt;less records at once but even then. There seems to be some nasty memleak in 
&lt;br&gt;the background. Or is this a configuration issue? Or am i doing something 
&lt;br&gt;completely wrong?
&lt;br&gt;&lt;br&gt;I am using the .debs: &lt;a href=&quot;http://monetdb.cwi.nl/downloads/Debian/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/downloads/Debian/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Andreas Streichardt
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517544&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/COPY-INTO-memory-issues-tp26517544p26517544.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513568</id>
	<title>[ monetdb-Bugs-1809586 ] PF: busy port crashes Mserver</title>
	<published>2009-11-25T06:28:04Z</published>
	<updated>2009-11-25T06:28:04Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #1809586, was opened at 2007-10-08 18:23
&lt;br&gt;Message generated for change (Comment added) made by stmane
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1809586&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1809586&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: PF/runtime
&lt;br&gt;Group: (zombie: Pathfinder 0.20)
&lt;br&gt;Status: Closed
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Jan Rittinger (tsheyar)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: PF: busy port crashes Mserver
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Currently (probably not after a restart anymore) the port 50001 on my PC is in use.
&lt;br&gt;&lt;br&gt;This causes MonetDB to crash if I load 'module(pathfinder)' whereas loading only 'module(mapi)' does not kill the Mserver:
&lt;br&gt;&lt;br&gt;$&amp;gt; Mserver --set='mapi_port=50000' --dbinit='module(mapi);'
&lt;br&gt;# MonetDB Server v4.21.0
&lt;br&gt;# based on GDK &amp;nbsp; v1.21.0
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;MonetDB&amp;gt;
&lt;br&gt;$&amp;gt; Mserver --set='mapi_port=50001' --dbinit='module(mapi);'
&lt;br&gt;# MonetDB Server v4.21.0
&lt;br&gt;# based on GDK &amp;nbsp; v1.21.0
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;!ERROR: MAPIlisten:binding to stream socket (50001) failed
&lt;br&gt;!OS: Address already in use
&lt;br&gt;MonetDB&amp;gt;
&lt;br&gt;$&amp;gt; Mserver --set='mapi_port=50000' --dbinit='module(pathfinder);'
&lt;br&gt;# MonetDB Server v4.21.0
&lt;br&gt;# based on GDK &amp;nbsp; v1.21.0
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;# PF/Tijah module v0.3.0 loaded. &lt;a href=&quot;http://dbappl.cs.utwente.nl/pftijah&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dbappl.cs.utwente.nl/pftijah&lt;/a&gt;&lt;br&gt;# MonetDB/XQuery module v0.21.0 loaded
&lt;br&gt;# XRPC administrative console at &lt;a href=&quot;http://localhost:50001/admin&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:50001/admin&lt;/a&gt;&lt;br&gt;01/Jan/1970 01:00:00 shttpd_open_port: bind(50001): Address already in use
&lt;br&gt;$&amp;gt; Mserver --set='mapi_port=50001' --dbinit='module(pathfinder);'
&lt;br&gt;# MonetDB Server v4.21.0
&lt;br&gt;# based on GDK &amp;nbsp; v1.21.0
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;# PF/Tijah module v0.3.0 loaded. &lt;a href=&quot;http://dbappl.cs.utwente.nl/pftijah&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dbappl.cs.utwente.nl/pftijah&lt;/a&gt;&lt;br&gt;!ERROR: MAPIlisten:binding to stream socket (50001) failed
&lt;br&gt;!OS: Address already in use
&lt;br&gt;$&amp;gt;
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2009-11-25 15:28
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;===================================================================
&lt;br&gt;2009/11/25 - stmane: testing/src/Mfilter.py.in,1.5.4.3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pathfinder/tests/BugTracker/Tests/port_busy.SF-1809586.py,1.2.6.3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;pathfinder/tests/BugTracker/Tests/port_busy.SF-1809586.stable.err,1.2.6.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;pathfinder/tests/BugTracker/Tests/port_busy.SF-1809586.stable.out,1.2.6.1
&lt;br&gt;&lt;br&gt;slightly extended test and approved stable output for
&lt;br&gt;ID: 1809586 &amp;quot;PF: busy port crashes Mserver&amp;quot;
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;aid=1809586&amp;group_id=56967&amp;atid=482468&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;aid=1809586&amp;group_id=56967&amp;atid=482468&lt;/a&gt;&lt;br&gt;and added extra Mfilter rule to cope with variable output
&lt;br&gt;due to changing port numbers.
&lt;br&gt;&lt;br&gt;We accept the fact that starting a MonetDB/XQury server (`Mserver
&lt;br&gt;--dbinit=&amp;quot;module(pathfinder);&amp;quot;`)
&lt;br&gt;quits instantly (with a proper error message)
&lt;br&gt;in case either the MAPIPORT or the XQUERYPORT are not available
&lt;br&gt;(the server does not make much sense without access to these ports).
&lt;br&gt;The default ports can easily be overwritten on the server commandline:
&lt;br&gt;--set mapi_port=&amp;lt;portno&amp;gt; --set xrpc_port=&amp;lt;portno&amp;gt;
&lt;br&gt;===================================================================
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Peter Boncz (boncz)
&lt;br&gt;Date: 2009-11-12 10:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;requested to remove this test
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Sjoerd Mullender (sjoerd)
&lt;br&gt;Date: 2009-07-31 10:45
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Added test in pathfinder/tests/BugTracker/Tests: port_busy.SF-1809586.
&lt;br&gt;No correct stable output yet.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stefan Manegold (stmane)
&lt;br&gt;Date: 2007-10-08 18:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=572415
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;loading module sql_server also crashed the Msever instantly if the
&lt;br&gt;requested mapi_port is busy:
&lt;br&gt;&lt;br&gt;$ Mserver --dbinit='module(sql_server);'
&lt;br&gt;# MonetDB Server v4.20.0
&lt;br&gt;# based on GDK &amp;nbsp; v1.20.0
&lt;br&gt;# Copyright (c) 1993-2007, CWI. All rights reserved.
&lt;br&gt;# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically
&lt;br&gt;linked.
&lt;br&gt;# Visit &lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&amp;nbsp;for further information.
&lt;br&gt;!ERROR: MAPIlisten:binding to stream socket (50000) failed
&lt;br&gt;!OS: Address already in use
&lt;br&gt;$ 
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1809586&amp;group_id=56967&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=482468&amp;aid=1809586&amp;group_id=56967&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Monetdb-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513568&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Monetdb-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-bugs-f4363.html&quot; embed=&quot;fixTarget[4363]&quot; target=&quot;_top&quot; &gt;monetdb-bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--monetdb-Bugs-1809586---PF%3A-busy-port-crashes-Mserver-tp26513568p26513568.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504918</id>
	<title>create function</title>
	<published>2009-11-24T15:06:48Z</published>
	<updated>2009-11-24T15:06:48Z</updated>
	<author>
		<name>pphillips99@gmail.com</name>
	</author>
	<content type="html">Thank you for the find piped help to the src documentation.
&lt;br&gt;&lt;br&gt;I can make the following function using mclient from AUG2009SP2 well:
&lt;br&gt;&lt;br&gt;create function f(i integer) returns bool
&lt;br&gt;begin
&lt;br&gt;return true;
&lt;br&gt;end;
&lt;br&gt;&lt;br&gt;It seems that the create function is failing only in the SQL editor for 
&lt;br&gt;SQuirreL client 3.0.2. I am using the compiled jdbc jar of 
&lt;br&gt;MonetDB-AUG2009SP2 and have tried to use a compiled sourceball version 
&lt;br&gt;of jar from 11NOV2009 current branch.
&lt;br&gt;&lt;br&gt;both provide this error:
&lt;br&gt;&lt;br&gt;Error: syntax error, unexpected $end, expecting WHILE in: &amp;quot;create 
&lt;br&gt;function f(i integer) returns bool
&lt;br&gt;begin
&lt;br&gt;return true;&amp;quot;
&lt;br&gt;SQLState: &amp;nbsp;null
&lt;br&gt;ErrorCode: 0
&lt;br&gt;Error occured in:
&lt;br&gt;create function f(i integer) returns bool
&lt;br&gt;begin
&lt;br&gt;return true
&lt;br&gt;&lt;br&gt;Should this then be a question for SQuirrel Client?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504918&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/create-function-tp26504918p26504918.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504154</id>
	<title>Re: temporary tables</title>
	<published>2009-11-24T14:09:11Z</published>
	<updated>2009-11-24T14:09:11Z</updated>
	<author>
		<name>Niels Nes</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 02:04:15PM -0800, Alex Bo. wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How do temporary tables behave?
&lt;br&gt;&amp;gt; Are they only stored in memory or are they written to the disk too like
&lt;br&gt;&amp;gt; normal tables?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What performance should I expect from using &amp;quot;create temporary table...&amp;quot; and
&lt;br&gt;&amp;gt; then querying it in comparison to having a nested query?
&lt;br&gt;&lt;br&gt;Temporary tables are if needed written to disk. Performance all
&lt;br&gt;depend on the queries. If the nested queries can be properly optimized
&lt;br&gt;then they should perform better than temporary tables. When lots
&lt;br&gt;of work goes in to the query filling the temporary table then the later
&lt;br&gt;may indeed be faster.
&lt;br&gt;&lt;br&gt;Niels
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/temporary-tables-tp26504075p26504075.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/temporary-tables-tp26504075p26504075.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the monetdb-users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504154&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Niels Nes, Centrum Wiskunde &amp; Informatica (CWI)
&lt;br&gt;Science Park 123, 1098 XG Amsterdam, The Netherlands
&lt;br&gt;room C0.02/M3.46, &amp;nbsp;phone ++31 20 592-4098
&lt;br&gt;url: &lt;a href=&quot;http://www.cwi.nl/~niels&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cwi.nl/~niels&lt;/a&gt;&amp;nbsp; &amp;nbsp;e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504154&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Niels.Nes@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504154&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/temporary-tables-tp26504075p26504154.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504075</id>
	<title>temporary tables</title>
	<published>2009-11-24T14:04:15Z</published>
	<updated>2009-11-24T14:04:15Z</updated>
	<author>
		<name>Alex Bo.</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;How do temporary tables behave?
&lt;br&gt;Are they only stored in memory or are they written to the disk too like normal tables?
&lt;br&gt;&lt;br&gt;What performance should I expect from using &amp;quot;create temporary table...&amp;quot; and then querying it in comparison to having a nested query?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/temporary-tables-tp26504075p26504075.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499062</id>
	<title>Re: Database Failure</title>
	<published>2009-11-24T08:29:21Z</published>
	<updated>2009-11-24T08:29:21Z</updated>
	<author>
		<name>Matthew Jones-5</name>
	</author>
	<content type="html">I tend to look at software problems before I look at hardware problems... I&amp;#39;m much more inclined to believe that the deadlock was a mutex issue and the timing of it happening caused the transaction log record file to be truncated.   Hits on memory from cosmic rays?  That&amp;#39;s rather grandiose... I think you should go re-read Occam&amp;#39;s Razor.&lt;br&gt;

&lt;br clear=&quot;all&quot;&gt;73,&lt;br&gt;Matthew W. Jones (KI4ZIB)&lt;br&gt;&lt;a href=&quot;http://matburt.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://matburt.net&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 24, 2009 at 9:55 AM, Sam Mason &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499062&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sam@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;On Tue, Nov 24, 2009 at 09:42:08AM -0500, Matthew Jones wrote:&lt;br&gt;
&amp;gt; Memory tests were run and no problems were reported.   With MonetDB+bad&lt;br&gt;
&amp;gt; memory I would expect to lose some data and no data was lost here.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;You lost the contents of one file didn&amp;#39;t you?  Hits on memory from&lt;br&gt;
cosmic rays cause random single bit flips at a small but measurable&lt;br&gt;
rate--though ECC memory should help.  These could cause something in&lt;br&gt;
Linux&amp;#39;s page buffer to go awry and hence ending up with an empty file&lt;br&gt;
when unexpected.  The bug rate of normal software means that that&lt;br&gt;
these sorts of errors are almost completely masked, however when code&lt;br&gt;
matures these sorts of errors start to become important.  I&amp;#39;m not sure&lt;br&gt;
if Monet is stable enough to think about this yet, but if you&amp;#39;ve got a&lt;br&gt;
stable access pattern that only hits exactly the same code paths then it&lt;br&gt;
shouldn&amp;#39;t matter about the remaining bugs.&lt;br&gt;
&lt;br&gt;
Higher assurance software tends to include checksums and other simple&lt;br&gt;
invariants that are checked at various places in code to make sure that&lt;br&gt;
errors like this aren&amp;#39;t propagated too far.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;  Sam  &lt;a href=&quot;http://samason.me.uk/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://samason.me.uk/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
MonetDB-users mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499062&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499062&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Database-Failure-tp26480470p26499062.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26498134</id>
	<title>Re: Mx documentation</title>
	<published>2009-11-24T07:38:21Z</published>
	<updated>2009-11-24T07:38:21Z</updated>
	<author>
		<name>Stefan Manegold</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 09:15:43AM -0600, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498134&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pphillips99@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Stefan,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you again.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to use CREATE FUNCTION and have been successful with this
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; create function a (x int, y int)
&lt;br&gt;&amp;gt; returns int
&lt;br&gt;&amp;gt; return x*y;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; yet I try to do more complete versions with begin/end like this (and 
&lt;br&gt;&amp;gt; many similar variations) without success.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; create function b (x int)
&lt;br&gt;&amp;gt; returns int
&lt;br&gt;&amp;gt; begin
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;declare retval int;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;select someval into retval from mytbl where id=x;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return retval;
&lt;br&gt;&amp;gt; end;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am confused with trying to correctly learn the documentation. I 
&lt;br&gt;&amp;gt; searched src/tests for examples but they are only easy like my first 
&lt;br&gt;&amp;gt; that works.
&lt;/div&gt;&lt;br&gt;The following files might contain some more helpful examples:
&lt;br&gt;========
&lt;br&gt;$ find sql -type f -name \*.sql | xargs grep -il 'create function' | xargs grep -ilw begin | xargs grep -ilw end
&lt;br&gt;sql/src/sql/skyserver.sql
&lt;br&gt;sql/src/test/BugTracker-2009/Tests/subquery_returns_table_crash.SF-2513620.sql
&lt;br&gt;sql/src/test/BugTracker-2009/Tests/function_call_not_handled.SF-2864179.sql
&lt;br&gt;sql/src/test/BugTracker-2009/Tests/coercion.sql
&lt;br&gt;sql/src/test/BugTracker-2009/Tests/binop.SF.2499537.sql
&lt;br&gt;sql/src/test/BugTracker-2009/Tests/error_while_drop_func_returns_table_type.SF-2604573.sql
&lt;br&gt;sql/src/test/BugTracker-2009/Tests/set_and_arg_null.SF-2812729.sql
&lt;br&gt;sql/src/test/function_syntax.sql
&lt;br&gt;sql/src/test/zones.sql
&lt;br&gt;sql/src/test/Via-m/create-viam.sql
&lt;br&gt;sql/src/test/psm.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/decl_sec_tab_in_func_body.SF-1907858.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/schema_from_declared_table.SF-1983341.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/drop_function.SF-1910396.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/sql_prepare_prob.SF-1909638.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/table_function_column_crash.SF-1913572.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/variable_names.SF-1838816.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/bat_descriptor_problem.SF-1997643.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/view_creation_using_func.SF-1714814.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/order_by_over_table_from_another_function.SF-1959822.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/is_not_null_syntax_error.SF-1959456.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/orderby_in_function.SF-1892708.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/mdb_starts_with_sql_debug_64.SF-1999354.sql
&lt;br&gt;sql/src/test/BugTracker/Tests/coalesce_equal_coalesce.SF-1907905.sql
&lt;br&gt;sql/src/test/crashme.sql
&lt;br&gt;sql/src/test/pg_regress/sql/triggers.sql
&lt;br&gt;sql/src/test/pg_regress/sql/copy2.sql
&lt;br&gt;sql/src/test/pg_regress/sql/portals.sql
&lt;br&gt;sql/src/test/pg_regress/sql/stats.sql
&lt;br&gt;sql/src/test/pg_regress/sql/rangefuncs.sql
&lt;br&gt;sql/src/test/pg_regress/sql/plpgsql.sql
&lt;br&gt;sql/src/test/BugTracker-2008/Tests/col_from_another_inside_function_body.SF-2420768.sql
&lt;br&gt;sql/src/test/Skyserver/Skyserver_functions_v6.sql
&lt;br&gt;sql/src/test/Skyserver/Skyserver_functions.sql
&lt;br&gt;sql/src/test/Triggers/triggers_schema_operations.sql
&lt;br&gt;sql/src/test/DropCascade/Tests/drop_table_cascade.sql
&lt;br&gt;sql/src/test/DropCascade/Tests/drop_function_cascade.sql
&lt;br&gt;sql/src/test/DropCascade/Tests/drop_view_cascade.sql
&lt;br&gt;sql/src/test/DropCascade/Tests/drop_columns_cascade.sql
&lt;br&gt;sql/src/test/BugDay_2005-10-06_2.9.3/Tests/slow_counting_1.SF-923709.sql
&lt;br&gt;sql/src/test/Dependencies/dependency_DBobjects.sql
&lt;br&gt;sql/src/test/Dependencies/dependency_functions.sql
&lt;br&gt;sql/src/test/bugs/Tests/select_into.sql
&lt;br&gt;========
&lt;br&gt;&lt;br&gt;&amp;gt; Separately, I try to read as much as possible from the website as you've 
&lt;br&gt;&amp;gt; said and I also read the sourceball which leads me to many things like 
&lt;br&gt;&amp;gt; rank() and row_number() and they seem to be working yet I don't find 
&lt;br&gt;&amp;gt; many of these in the website. (That was my question about Mx.)
&lt;br&gt;&lt;br&gt;Well, apparently, we've had time to implement these featured, but not yet to
&lt;br&gt;document them --- we're working on that ...
&lt;br&gt;&lt;br&gt;&amp;gt; I am 
&lt;br&gt;&amp;gt; trying to use things I should not? At least I would like to understand 
&lt;br&gt;&amp;gt; create function as I can then try to make a lag ability.
&lt;br&gt;&lt;br&gt;See above. Feel free to post concrete questions in case you run into
&lt;br&gt;problems.
&lt;br&gt;&lt;br&gt;Stefan
&lt;br&gt;&amp;nbsp;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you for you're patience.
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 11/23/2009 6:35 PM, Stefan Manegold wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi Paul,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Mx is only used &amp;quot;internally&amp;quot; for MonetDB development; it's not meant for let
&lt;br&gt;&amp;gt; &amp;gt; alone required by users, and hence not distributed with the MonetDB release.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; All user-relevant documentation (partly indeed extracted from the Mx-based
&lt;br&gt;&amp;gt; &amp;gt; code base using Mx) should be available online on the MonetDB web site at
&lt;br&gt;&amp;gt; &amp;gt; 	&lt;a href=&quot;http://www.monetdb.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.monetdb.org/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; aka.
&lt;br&gt;&amp;gt; &amp;gt; 	&lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Stefan
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ps: In case you are indeed interested in the documentation of Mx itself, you
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;find it at
&lt;br&gt;&amp;gt; &amp;gt; 	&lt;a href=&quot;http://old-www.cwi.nl/themes/ins1/publications/docs/KeScBeBo:UNPUBLISHED:96.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old-www.cwi.nl/themes/ins1/publications/docs/KeScBeBo:UNPUBLISHED:96.pdf&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; pps: In case you are indeed interested in Mx itself, you find the source in
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; the &amp;quot;buildtools&amp;quot; in the MonetDB CVS repository on SourceForge; cf.,
&lt;br&gt;&amp;gt; &amp;gt; 	&lt;a href=&quot;https://sourceforge.net/projects/monetdb/develop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/monetdb/develop&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 	&lt;a href=&quot;http://monetdb.cvs.sourceforge.net/viewvc/monetdb/buildtools/Mx/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cvs.sourceforge.net/viewvc/monetdb/buildtools/Mx/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Mon, Nov 23, 2009 at 06:06:50PM -0600, Paul Phillips [ gmail ] wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Can someone tell where the Mx utility is for creating the documentation?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I have seen references in sources to this command and searches are
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; trouble with only two letters like mx.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Is this documentation different/more than the nl website?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thank you.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498134&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498134&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;| Dr. Stefan Manegold | mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498134&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stefan.Manegold@...&lt;/a&gt; |
&lt;br&gt;| CWI, &amp;nbsp;P.O.Box 94079 | &lt;a href=&quot;http://www.cwi.nl/~manegold/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cwi.nl/~manegold/&lt;/a&gt;&amp;nbsp; |
&lt;br&gt;| 1090 GB Amsterdam &amp;nbsp; | Tel.: +31 (20) 592-4212 &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;| The Netherlands &amp;nbsp; &amp;nbsp; | Fax : +31 (20) 592-4312 &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498134&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mx-documentation-tp26488417p26498134.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26497720</id>
	<title>Re: Mx documentation</title>
	<published>2009-11-24T07:15:43Z</published>
	<updated>2009-11-24T07:15:43Z</updated>
	<author>
		<name>pphillips99@gmail.com</name>
	</author>
	<content type="html">Stefan,
&lt;br&gt;&lt;br&gt;Thank you again.
&lt;br&gt;&lt;br&gt;I would like to use CREATE FUNCTION and have been successful with this
&lt;br&gt;&lt;br&gt;create function a (x int, y int)
&lt;br&gt;returns int
&lt;br&gt;return x*y;
&lt;br&gt;&lt;br&gt;yet I try to do more complete versions with begin/end like this (and 
&lt;br&gt;many similar variations) without success.
&lt;br&gt;&lt;br&gt;create function b (x int)
&lt;br&gt;returns int
&lt;br&gt;begin
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;declare retval int;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;select someval into retval from mytbl where id=x;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return retval;
&lt;br&gt;end;
&lt;br&gt;&lt;br&gt;I am confused with trying to correctly learn the documentation. I 
&lt;br&gt;searched src/tests for examples but they are only easy like my first 
&lt;br&gt;that works.
&lt;br&gt;&lt;br&gt;Separately, I try to read as much as possible from the website as you've 
&lt;br&gt;said and I also read the sourceball which leads me to many things like 
&lt;br&gt;rank() and row_number() and they seem to be working yet I don't find 
&lt;br&gt;many of these in the website. (That was my question about Mx.) I am 
&lt;br&gt;trying to use things I should not? At least I would like to understand 
&lt;br&gt;create function as I can then try to make a lag ability.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you for you're patience.
&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;On 11/23/2009 6:35 PM, Stefan Manegold wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Paul,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mx is only used &amp;quot;internally&amp;quot; for MonetDB development; it's not meant for let
&lt;br&gt;&amp;gt; alone required by users, and hence not distributed with the MonetDB release.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; All user-relevant documentation (partly indeed extracted from the Mx-based
&lt;br&gt;&amp;gt; code base using Mx) should be available online on the MonetDB web site at
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://www.monetdb.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.monetdb.org/&lt;/a&gt;&lt;br&gt;&amp;gt; aka.
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://monetdb.cwi.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cwi.nl/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Stefan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ps: In case you are indeed interested in the documentation of Mx itself, you
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;find it at
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://old-www.cwi.nl/themes/ins1/publications/docs/KeScBeBo:UNPUBLISHED:96.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old-www.cwi.nl/themes/ins1/publications/docs/KeScBeBo:UNPUBLISHED:96.pdf&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; pps: In case you are indeed interested in Mx itself, you find the source in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; the &amp;quot;buildtools&amp;quot; in the MonetDB CVS repository on SourceForge; cf.,
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;https://sourceforge.net/projects/monetdb/develop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/monetdb/develop&lt;/a&gt;&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://monetdb.cvs.sourceforge.net/viewvc/monetdb/buildtools/Mx/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://monetdb.cvs.sourceforge.net/viewvc/monetdb/buildtools/Mx/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 06:06:50PM -0600, Paul Phillips [ gmail ] wrote:
&lt;br&gt;&amp;gt;&amp;gt; Can someone tell where the Mx utility is for creating the documentation?
&lt;br&gt;&amp;gt;&amp;gt; I have seen references in sources to this command and searches are
&lt;br&gt;&amp;gt;&amp;gt; trouble with only two letters like mx.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is this documentation different/more than the nl website?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you.
&lt;br&gt;&amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; MonetDB-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26497720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MonetDB-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26497720&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MonetDB-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/monetdb-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/monetdb-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/monetdb-users-f4367.html&quot; embed=&quot;fixTarget[4367]&quot; target=&quot;_top&quot; &gt;monetdb-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mx-documentation-tp26488417p26497720.html" />
</entry>

</feed>
