dbTalk Databases Forums  

Interested in Testing MVCC?

comp.databases.ingres comp.databases.ingres


Discuss Interested in Testing MVCC? in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ingres Forums
 
Posts: n/a

Default Interested in Testing MVCC? - 01-27-2010 , 05:08 PM






As noted in prior forum postings, we've been working on adding support
for MVCC into Ingres. (See 'MVCC - Ingres Community Wiki'
(http://community.ingres.com/wiki/MVCC) for details on the feature.)

The feature will be available in the next few weeks in a community
edition version of Ingres 10. If you have an interest in testing the
feature, please send me email directly at zelaine.fong (AT) ingres (DOT) com, and I
can then email you back when the product is available for download.

Thanks in advance for your interest.

-- Zelaine


--
zelaine

Reply With Quote
  #2  
Old   
Roy Hann
 
Posts: n/a

Default Re: Interested in Testing MVCC? - 01-28-2010 , 01:29 AM






Ingres Forums wrote:

Quote:
As noted in prior forum postings, we've been working on adding support
for MVCC into Ingres. (See 'MVCC - Ingres Community Wiki'
(http://community.ingres.com/wiki/MVCC) for details on the feature.)

The feature will be available in the next few weeks in a community
edition version of Ingres 10. If you have an interest in testing the
feature, please send me email directly at zelaine.fong (AT) ingres (DOT) com, and I
can then email you back when the product is available for download.
First the VectorWise tech preview program, and now first sight of MVCC!?
What a week. I'm like a dog with two tails.

--
Roy

UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010
Go to http://www.iua.org.uk/join to get on the mailing list.

Reply With Quote
  #3  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Interested in Testing MVCC? - 01-28-2010 , 04:34 AM



Quote:
First the VectorWise tech preview program, and now first sight of
MVCC!?
What a week. I'm like a dog with two tails.
That's sounds so much better than being a one legged Chinese Elvis
impersonator.

But the effect is much the same.

Marty

Reply With Quote
  #4  
Old   
Roy Hann
 
Posts: n/a

Default Re: [Info-Ingres] Interested in Testing MVCC? - 01-28-2010 , 05:04 AM



Martin Bowes wrote:

Quote:
First the VectorWise tech preview program, and now first sight of
MVCC!?
What a week. I'm like a dog with two tails.

That's sounds so much better than being a one legged Chinese Elvis
impersonator.

But the effect is much the same.
Tell me *you're* not impressed.

--
Roy

UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010
Go to http://www.iua.org.uk/join to get on the mailing list.

Reply With Quote
  #5  
Old   
Ingres Forums
 
Posts: n/a

Default Re: Interested in Testing MVCC? - 01-28-2010 , 10:54 AM



I feel like Roy to be honest.


--
dejan

Reply With Quote
  #6  
Old   
Martin Bowes
 
Posts: n/a

Default [Info-Ingres] Raising PSF_USERERR from pslsscan.c - 02-01-2010 , 03:05 AM



Hi All,

I've been working on a little Opensource project that would allow me to express integer constants in kbytes.
This would allow things like 'with page_size=4k'.

I've made the necessary changes to back!psf!psl!pslsscan.c and it appears to work OK. The problem occurs when
I try to get it to raise an error if the number would exceed what could be held by an int8 item.

I've defined an error message in common!hdr!hdr!erusf.msg and throw it from the pslsscan.c with the following code.
switch (byte_scale)
{
case KIBIBYTE:
TRdisplay("Have found kibibyte %ld\n", int_number);
if (int_number >= MINI8K && int_number <= MAXI8K)
{
int_number = int_number << 10;
}
else
{
TRdisplay("Want to Generate error E_US0AD0_2768,\n");
_VOID_ psf_error(2768L, 0L, PSF_USERERR,
&err_code, &psq_cb->psq_error, 0);
return (-1);
};
break;

/* case MEBIBYTE: etc... */
}; /* switch(byte_scale) */


Trouble is that my error message is not printed, instead I get: E_US0A94 line 1, Unexpected character ''.

I've traced back!psf!psf!psferror.c and it appears that the problem is that my message comes with a
setting for pss_retry = 1 in the session CB. This gets anded to PSS_REPORT_MSGS = 2, and hence my message
is not printed. The E_US0A94 message comes with a pss_retry=10 and is hence printed.

Anyone know ehat incantation I need when defining the error message to get the pss_retry = 10?

Martin Bowes

Reply With Quote
  #7  
Old   
Karl Schendel
 
Posts: n/a

Default Re: [Info-Ingres] Raising PSF_USERERR from pslsscan.c - 02-01-2010 , 05:46 AM



On Feb 1, 2010, at 4:05 AM, Martin Bowes wrote:

Quote:
I've made the necessary changes to back!psf!psl!pslsscan.c and it appears to work OK. The problem occurs when
I try to get it to raise an error if the number would exceed what could be held by an int8 item.
...Trouble is that my error message is not printed, instead I get: E_US0A94 line 1, Unexpected character ''.

I've traced back!psf!psf!psferror.c and it appears that the problem is that my message comes with a
setting for pss_retry = 1 in the session CB. This gets anded to PSS_REPORT_MSGS = 2, and hence my message
is not printed. The E_US0A94 message comes with a pss_retry=10 and is hence printed.
A query that fails is parsed twice. (!)
The first time has messages suppressed. The second time runs with REPORT_MSGS
and a flag that tells RDF to refresh anything it's asked for. The idea behind this
craziness is that RDF is unreliable and might be giving the parser bad
information. So, your message should be seen the second time around.
The question is why you are getting US0A94 instead, and when.
I'd try to determine whether the US0A94 is happening on the first
parse attempt or the second, that might help you locate the problem.

Karl

Reply With Quote
  #8  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Raising PSF_USERERR from pslsscan.c - 02-01-2010 , 06:00 AM



Hi Karl,

Thanks for that. My message is generated on the first pass but not the second. On the second pass the E_US0A94 is generated.
No idea why just yet!

Marty

-----Original Message-----
From: info-ingres-bounces (AT) kettleriver...ting (DOT) com on behalf of Karl Schendel
Sent: Mon 01/02/2010 11:46
To: Ingres and related product discussion forum
Subject: Re: [Info-Ingres] Raising PSF_USERERR from pslsscan.c

On Feb 1, 2010, at 4:05 AM, Martin Bowes wrote:

Quote:
I've made the necessary changes to back!psf!psl!pslsscan.c and it appears to work OK. The problem occurs when
I try to get it to raise an error if the number would exceed what could be held by an int8 item.
...Trouble is that my error message is not printed, instead I get: E_US0A94 line 1, Unexpected character ''.

I've traced back!psf!psf!psferror.c and it appears that the problem is that my message comes with a
setting for pss_retry = 1 in the session CB. This gets anded to PSS_REPORT_MSGS = 2, and hence my message
is not printed. The E_US0A94 message comes with a pss_retry=10 and is hence printed.
A query that fails is parsed twice. (!)
The first time has messages suppressed. The second time runs with REPORT_MSGS
and a flag that tells RDF to refresh anything it's asked for. The idea behind this
craziness is that RDF is unreliable and might be giving the parser bad
information. So, your message should be seen the second time around.
The question is why you are getting US0A94 instead, and when.
I'd try to determine whether the US0A94 is happening on the first
parse attempt or the second, that might help you locate the problem.

Karl



_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://ext-cando.kettleriverconsulti...fo/info-ingres

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.