[seek-dev] cache post-relational database

Bertram Ludaescher ludaesch at sdsc.edu
Fri Nov 5 05:45:37 PST 2004


Matt, Serguei, Shawn:

Also related to our discussion yesterday is this paper: 
  A Comprehensive XQuery to SQL Translation using Dynamic Interval Encoding

ABSTRACT The W3C XQuery language recommendation, based on a
hierarchical and ordered document model, supports a wide variety of
constructs and use cases. There is a diversity of approaches and
strategies for evaluating XQuery expressions, in many cases only
dealing with limited subsets of the language. In this paper we
describe an implementation approach that handles XQuery with
arbitrarily-nested FLWR expressions, element constructors and built-in
functions (including structural comparisons). Our proposal maps an
XQuery expression to a single equivalent SQL query using a novel
dynamic interval encoding of a collection of XML documents as
relations, augmented with information tied to the query evaluation
environment. The dynamic interval technique enables (suitably
enhanced) relational engines to produce predictably good query plans
that do not restrict the use of sort-merge join query operators. The
benefits are realized despite the challenges presented by intermediate
results that create arbitrary documents and the need to preserve
document order as prescribed by semantics of XQuery. Finally, our
experimental results demonstrate that (native or relational) XML
systems can benefit from the above technique to avoid a quadratic
scale up penalty that effectively prevents the evaluation of nested
FLWR expressions for large documents.

Here is the paper: http://db.uwaterloo.ca/~david/papers-sigmod03.pdf

Bertram


>>>>> "SK" == Serguei Krivov <Serguei.Krivov at uvm.edu> writes:
SK> 
SK> Dear All,
SK> The InterSystem Corporation http://www.intersystems.com/cache/
SK> claims that CACHE database  has far better performance  comparing to
SK> Oracle. 
SK> It has native XML  mapping and a bunch of other useful features.
SK>  
SK> Does anyone have any opinion on pros vs. cons of their multidimensional
SK> arrays storage  technology,
SK> described eg. At
SK> http://www.intersystems.com/cache/technology/techguide/index.html  ???
SK>  
SK> Thanks,
SK> Serguei
SK>  
SK>  
SK>  
SK> <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
SK> 
SK> <head>
SK> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
SK> 
SK> 
SK> <meta name=ProgId content=Word.Document>
SK> <meta name=Generator content="Microsoft Word 10">
SK> <meta name=Originator content="Microsoft Word 10">
SK> <link rel=File-List href="cid:filelist.xml at 01C4C30D.E148C3D0">
SK> <!--[if gte mso 9]><xml>
SK>  <o:OfficeDocumentSettings>
SK>   <o:DoNotRelyOnCSS/>
SK>  </o:OfficeDocumentSettings>
SK> </xml><![endif]--><!--[if gte mso 9]><xml>
SK>  <w:WordDocument>
SK>   <w:SpellingState>Clean</w:SpellingState>
SK>   <w:GrammarState>Clean</w:GrammarState>
SK>   <w:DocumentKind>DocumentEmail</w:DocumentKind>
SK>   <w:EnvelopeVis/>
SK>   <w:DrawingGridHorizontalSpacing>6 pt</w:DrawingGridHorizontalSpacing>
SK>   <w:DisplayHorizontalDrawingGridEvery>2</w:DisplayHorizontalDrawingGridEvery>
SK>   <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
SK>   <w:Compatibility>
SK>    <w:BreakWrappedTables/>
SK>    <w:SnapToGridInCell/>
SK>    <w:WrapTextWithPunct/>
SK>    <w:UseAsianBreakRules/>
SK>   </w:Compatibility>
SK>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
SK>  </w:WordDocument>
SK> </xml><![endif]-->
SK> <style>
SK> <!--
SK>  /* Style Definitions */
SK>  p.MsoNormal, li.MsoNormal, div.MsoNormal
SK> 	{mso-style-parent:"";
SK> 	margin:0in;
SK> 	margin-bottom:.0001pt;
SK> 	mso-pagination:widow-orphan;
SK> 	font-size:12.0pt;
SK> 	font-family:"Times New Roman";
SK> 	mso-fareast-font-family:"Times New Roman";}
SK> a:link, span.MsoHyperlink
SK> 	{color:blue;
SK> 	text-decoration:underline;
SK> 	text-underline:single;}
SK> a:visited, span.MsoHyperlinkFollowed
SK> 	{color:purple;
SK> 	text-decoration:underline;
SK> 	text-underline:single;}
SK> p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
SK> 	{margin:0in;
SK> 	margin-bottom:.0001pt;
SK> 	mso-pagination:widow-orphan;
SK> 	font-size:12.0pt;
SK> 	font-family:"Times New Roman";
SK> 	mso-fareast-font-family:"Times New Roman";}
SK> span.EmailStyle17
SK> 	{mso-style-type:personal-compose;
SK> 	mso-style-noshow:yes;
SK> 	mso-ansi-font-size:10.0pt;
SK> 	mso-bidi-font-size:10.0pt;
SK> 	font-family:Arial;
SK> 	mso-ascii-font-family:Arial;
SK> 	mso-hansi-font-family:Arial;
SK> 	mso-bidi-font-family:Arial;
SK> 	color:windowtext;}
SK> span.SpellE
SK> 	{mso-style-name:"";
SK> 	mso-spl-e:yes;}
SK> span.GramE
SK> 	{mso-style-name:"";
SK> 	mso-gram-e:yes;}
SK> @page Section1
SK> 	{size:8.5in 11.0in;
SK> 	margin:1.0in 1.0in 1.0in 1.0in;
SK> 	mso-header-margin:.5in;
SK> 	mso-footer-margin:.5in;
SK> 	mso-paper-source:0;}
SK> div.Section1
SK> 	{page:Section1;}
--> 
SK> </style>
SK> <!--[if gte mso 10]>
SK> <style>
SK>  /* Style Definitions */ 
SK>  table.MsoNormalTable
SK> 	{mso-style-name:"Table Normal";
SK> 	mso-tstyle-rowband-size:0;
SK> 	mso-tstyle-colband-size:0;
SK> 	mso-style-noshow:yes;
SK> 	mso-style-parent:"";
SK> 	mso-padding-alt:0in 5.4pt 0in 5.4pt;
SK> 	mso-para-margin:0in;
SK> 	mso-para-margin-bottom:.0001pt;
SK> 	mso-pagination:widow-orphan;
SK> 	font-size:10.0pt;
SK> 	font-family:"Times New Roman";}
SK> </style>
SK> <![endif]-->
SK> </head>
SK> 
SK> <body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
SK> 
SK> <div class=Section1>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'>Dear All,<o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'>The <span class=SpellE>InterSystem</span> Corporation <a
SK> href="http://www.intersystems.com/cache/">http://www.intersystems.com/cache/</a><o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
SK> style='font-size:10.0pt;font-family:Arial'>claims</span></font></span><font
SK> size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> that CACHE
SK> database<span style='mso-spacerun:yes'>&nbsp; </span>has far better performance
SK> <span style='mso-spacerun:yes'>&nbsp;</span>comparing to Oracle. <o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'>It has native <span class=GramE>XML <span
SK> style='mso-spacerun:yes'>&nbsp;</span>mapping</span> and a bunch of other useful
SK> features.<o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'>Does anyone have any opinion on pros vs. cons of their multidimensional
SK> arrays storage <span style='mso-spacerun:yes'>&nbsp;</span>technology,<o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
SK> style='font-size:10.0pt;font-family:Arial'>described</span></font></span><font
SK> size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <span
SK> class=SpellE>eg</span>. </span></font><font size=2 face=Arial><span lang=DA
SK> style='font-size:10.0pt;font-family:Arial;mso-ansi-language:DA'>At http://www.intersystems.com/cache/technology/techguide/index.html<span
SK> style='mso-spacerun:yes'>&nbsp; </span>???<o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span lang=DA style='font-size:10.0pt;
SK> font-family:Arial;mso-ansi-language:DA'><o:p>&nbsp;</o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'>Serguei<o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
SK> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
SK> 
SK> <p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
SK> 12.0pt;mso-no-proof:yes'><span style='mso-spacerun:yes'>&nbsp;</span><o:p></o:p></span></font></p>
SK> 
SK> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
SK> 12.0pt'><o:p>&nbsp;</o:p></span></font></p>
SK> 
SK> </div>
SK> 
SK> </body>
SK> 
SK> </html>



More information about the Seek-dev mailing list