<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Actian Community Forums - Vectorwise Discussion</title>
		<link>http://community.actian.com/forum/</link>
		<description>Discussion about the Ingres/Vectorwise project.</description>
		<language>en</language>
		<lastBuildDate>Fri, 18 May 2012 08:55:29 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://community.actian.com/forum/ingres4/misc/rss.jpg</url>
			<title>Actian Community Forums - Vectorwise Discussion</title>
			<link>http://community.actian.com/forum/</link>
		</image>
		<item>
			<title>View from views: Bad query tree</title>
			<link>http://community.actian.com/forum/vectorwise-discussion/14435-view-views-bad-query-tree.html</link>
			<pubDate>Thu, 17 May 2012 11:48:38 GMT</pubDate>
			<description>Hi there! 
Take a look at this: 
 
 
Code: 
--------- 
drop table if exists x1; 
drop table if exists  x2; 
drop view if exists  v1; 
drop view if...</description>
			<content:encoded><![CDATA[<div>Hi there!<br />
Take a look at this:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">drop table if exists x1;<br />
drop table if exists&nbsp; x2;<br />
drop view if exists&nbsp; v1;<br />
drop view if exists&nbsp; v2;<br />
drop view if exists&nbsp; v12;<br />
<br />
create table x1(user_sk int);<br />
create table x2(user_sk int);<br />
create table x3(user_sk int);<br />
<br />
create view v1 as select distinct user_sk from (select user_sk from x1 union all select user_sk from x2) x;<br />
create view v2 as select distinct user_sk from (select user_sk from x2 union all select user_sk from x3) x;<br />
<br />
create view v12 as select distinct user_sk from (select user_sk from v1 union all select user_sk from v2) x;<br />
\g<br />
<br />
select * from v12;<br />
\g</code><hr />
</div>I get ugly message <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">E_SC0206 An internal error prevents further processing of this query.<br />
&nbsp; &nbsp; Associated error messages which provide more detailed information about<br />
&nbsp; &nbsp; the problem can be found in the error log, II_LOG:errlog.log<br />
&nbsp; &nbsp; (Thu May 17 04:41:29 2012)<br />
<br />
E_SC0206 An internal error prevents further processing of this query.<br />
&nbsp; &nbsp; Associated error messages which provide more detailed information about<br />
&nbsp; &nbsp; the problem can be found in the error log, II_LOG:errlog.log<br />
&nbsp; &nbsp; (Thu May 17 04:41:29 2012)<br />
<br />
Exiting session because of communications failure.</code><hr />
</div>and the session dies. In the errlog.log file i have lines like:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">HD-SM&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ::[18731&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , 9968&nbsp; &nbsp; &nbsp; ,&nbsp; 0000000003e14200, psyview.c:3840&nbsp; &nbsp; &nbsp; &nbsp; ]: Thu May 17 04:41:29 2012 E_PS0C04_BAD_TREE&nbsp; &nbsp;  Bad query tree.<br />
HD-SM&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ::[18731&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , 9968&nbsp; &nbsp; &nbsp; ,&nbsp; 0000000003e14200, scsqncr.c:4304&nbsp; &nbsp; &nbsp; &nbsp; ]: Thu May 17 04:41:29 2012 E_PS0002_INTERNAL_ERROR&nbsp; &nbsp; &nbsp;  Internal error in PSF<br />
HD-SM&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ::[18731&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , 9968&nbsp; &nbsp; &nbsp; ,&nbsp; 0000000003e14200, scsqncr.c:4305&nbsp; &nbsp; &nbsp; &nbsp; ]: Thu May 17 04:41:29 2012 E_SC0215_PSF_ERROR&nbsp; &nbsp; Error returned by PSF.<br />
HD-SM&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ::[18731&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , 9968&nbsp; &nbsp; &nbsp; ,&nbsp; 0000000003e14200, scdnote.c:161&nbsp; &nbsp; &nbsp; &nbsp;  ]: Thu May 17 04:41:29 2012 E_SC0220_SESSION_ERROR_MAX&nbsp; &nbsp; Too many errors for this session.</code><hr />
</div>Is this a known issue?</div>

]]></content:encoded>
			<category domain="http://community.actian.com/forum/vectorwise-discussion/">Vectorwise Discussion</category>
			<dc:creator>ania</dc:creator>
			<guid isPermaLink="true">http://community.actian.com/forum/vectorwise-discussion/14435-view-views-bad-query-tree.html</guid>
		</item>
		<item>
			<title>Different output formatting when sql cli run from a script</title>
			<link>http://community.actian.com/forum/vectorwise-discussion/14413-different-output-formatting-when-sql-cli-run-script.html</link>
			<pubDate>Wed, 09 May 2012 12:50:31 GMT</pubDate>
			<description><![CDATA[Hi, take a look at this: 
 
 
Code: 
--------- 
$ echo 'select 1, 2; \g' | sql -S testdb 
col1  |col2    
     1|     2 
--------- 
But if you do the...]]></description>
			<content:encoded><![CDATA[<div>Hi, take a look at this:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">$ echo 'select 1, 2; \g' | sql -S testdb<br />
col1&nbsp; |col2&nbsp;  <br />
&nbsp; &nbsp;  1|&nbsp; &nbsp;  2</code><hr />
</div>But if you do the same in a script:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">$ cat test_select <br />
echo 'select 1, 2; \g' | sql -S testdb<br />
$ ./test_select <br />
col1&nbsp;  col2&nbsp;  <br />
&nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; 2</code><hr />
</div>Notice the lack of vertical separator '|'. The output formatting differs even more when no -S switch is used. Is it an intentional distinction between interactive and non-interactive environments? If so, what is it's purpose? And how does the tool discovers the interactiveness anyway? ;)<br />
<br />
Best regards!<br />
<br />
Konrad Procak</div>

]]></content:encoded>
			<category domain="http://community.actian.com/forum/vectorwise-discussion/">Vectorwise Discussion</category>
			<dc:creator>kuonirat</dc:creator>
			<guid isPermaLink="true">http://community.actian.com/forum/vectorwise-discussion/14413-different-output-formatting-when-sql-cli-run-script.html</guid>
		</item>
		<item>
			<title>increase the Max Memory Size</title>
			<link>http://community.actian.com/forum/vectorwise-discussion/14410-increase-max-memory-size.html</link>
			<pubDate>Tue, 08 May 2012 11:13:21 GMT</pubDate>
			<description>Hi, 
 
I am getting following error:  
 
Not enough memory to extend hash table in VHT@9 to 1025 keys (phase:                        
allocate). 
 
...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am getting following error: <br />
<br />
Not enough memory to extend hash table in VHT@9 to 1025 keys (phase:                       <br />
allocate).<br />
<br />
 Increase the max_memory_size parameter or consult the                            <br />
Vectorwise User Guide for other solutions<br />
<br />
which file need to be configured</div>

]]></content:encoded>
			<category domain="http://community.actian.com/forum/vectorwise-discussion/">Vectorwise Discussion</category>
			<dc:creator>mohit_symb</dc:creator>
			<guid isPermaLink="true">http://community.actian.com/forum/vectorwise-discussion/14410-increase-max-memory-size.html</guid>
		</item>
	</channel>
</rss>

