<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "truncating the table data"]]></title>
		<link>http://forums.enterprisedb.com/posts/list/8.page</link>
		<description><![CDATA[Latest messages posted in the topic "truncating the table data"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>truncating the table data</title>
				<description><![CDATA[ Hi,<br /> <br /> Truncating in GridSQL is taking lot of time even for very minimum number of rows.<br /> <br /> Thanx<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/1384/4924.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/1384/4924.page</link>
				<pubDate><![CDATA[Mon, 11 Aug 2008 09:20:31]]> GMT</pubDate>
				<author><![CDATA[ Venkat_B]]></author>
			</item>
			<item>
				<title>Re:truncating the table data</title>
				<description><![CDATA[ Hi Venkat,<br /> <br /> Does this eventually return?<br /> <br /> There really is no magic going on here, GridSQL simply passes the TRUNCATE command down to all of the nodes that the table is partitioned on. I am not sure why it would take longer.<br /> <br /> Thanks,<br /> <br /> Mason]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/1384/4928.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/1384/4928.page</link>
				<pubDate><![CDATA[Mon, 11 Aug 2008 16:44:50]]> GMT</pubDate>
				<author><![CDATA[ Mason_S]]></author>
			</item>
			<item>
				<title>Re:truncating the table data</title>
				<description><![CDATA[ Hi Mason,<br /> <br /> Thanks for the reply,<br /> <br /> But the table containing only 5 to 10 rows in a table which is non partitioned also taking lots of time and finally there is no result.<br /> Is there any place like log file to check where it is getting choked.<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/1384/4929.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/1384/4929.page</link>
				<pubDate><![CDATA[Tue, 12 Aug 2008 01:08:54]]> GMT</pubDate>
				<author><![CDATA[ Venkat_B]]></author>
			</item>
			<item>
				<title>Re:truncating the table data</title>
				<description><![CDATA[ Hi Venkat,<br /> <br /> This is working for me:<br /> <br /> gstest2=&gt; create table trunctest (col1 int, col2 int) on node 1;<br /> OK<br /> gstest2=&gt; insert into trunctest values (1, 2);<br /> INSERT 0 1<br /> gstest2=&gt; insert into trunctest values (3, 4);<br /> INSERT 0 1<br /> gstest2=&gt; truncate trunctest;<br /> OK<br /> <br /> Note that truncating requires an exclusive lock on the table.<br /> <br /> If I start another session, do a begin work, and insert, and in a separate session try and truncate, the truncate will appear to hang, because it cannot get an exclusive lock. I am guessing that the table is probably being used in another session(?).<br /> <br /> Regards,<br /> <br /> Mason<br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/1384/4931.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/1384/4931.page</link>
				<pubDate><![CDATA[Tue, 12 Aug 2008 09:32:35]]> GMT</pubDate>
				<author><![CDATA[ Mason_S]]></author>
			</item>
	</channel>
</rss>
