<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Steve Eichert - oracle</title>
    <link>http://iqueryable.com/</link>
    <description />
    <language>en-us</language>
    <copyright>Steve Eichert</copyright>
    <lastBuildDate>Wed, 13 Jun 2007 03:47:02 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>steve.eichert@gmail.com</managingEditor>
    <webMaster>steve.eichert@gmail.com</webMaster>
    <item>
      <trackback:ping>http://iqueryable.com/Trackback.aspx?guid=d85bdf15-59eb-4dd3-a8ba-d56c0823d309</trackback:ping>
      <pingback:server>http://iqueryable.com/pingback.aspx</pingback:server>
      <pingback:target>http://iqueryable.com/PermaLink,guid,d85bdf15-59eb-4dd3-a8ba-d56c0823d309.aspx</pingback:target>
      <dc:creator>Steve Eichert</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">Brian has a interesting post about his
discovery of <a href="http://vitreosolutions.com/persist/archive/2007/06/12/SQL-Server-2005s-EXCEPT-Statement.aspx">the
new EXCEPT set operator in SQL Server 2005</a>.  When I read his post I was at
first excited, but then disappointed.  You see, the EXCEPT set operator could
potentially save us from updating or inserting a large number of records in the data
imports that our system runs.  Unfortunatly, we currently support BOTH Oracle
and SQL Server so this new and exciting SQL Server 2005 feature wouldn't help us with
many of our clients (since they're primarily on Oracle).  However, after a little
bit of Googling I came across the <a href="http://www.oreilly.com/catalog/mastorasql/chapter/ch07.html">MINUS
operator in Oracle</a>, which appears to be the equivalent of the SQL Server 2005
EXCEPT operator.  I'll have to dig into things a little more to know if the EXCEPT
and MINUS set operators are equivalent, as well as run some tests to see what kind
of impact it could have on our data imports, but it looks promising.<br /><p></p><img width="0" height="0" src="http://iqueryable.com/aggbug.ashx?id=d85bdf15-59eb-4dd3-a8ba-d56c0823d309" /></body>
      <title>SQL Server 2005 EXCEPT operator and the Oracle MINUS set operator</title>
      <guid isPermaLink="false">http://iqueryable.com/PermaLink,guid,d85bdf15-59eb-4dd3-a8ba-d56c0823d309.aspx</guid>
      <link>http://iqueryable.com/2007/06/13/SQLServer2005EXCEPTOperatorAndTheOracleMINUSSetOperator.aspx</link>
      <pubDate>Wed, 13 Jun 2007 03:47:02 GMT</pubDate>
      <description>Brian has a interesting post about his discovery of &lt;a href="http://vitreosolutions.com/persist/archive/2007/06/12/SQL-Server-2005s-EXCEPT-Statement.aspx"&gt;the
new EXCEPT set operator in SQL Server 2005&lt;/a&gt;.&amp;nbsp; When I read his post I was at
first excited, but then disappointed.&amp;nbsp; You see, the EXCEPT set operator could
potentially save us from updating or inserting a large number of records in the data
imports that our system runs.&amp;nbsp; Unfortunatly, we currently support BOTH Oracle
and SQL Server so this new and exciting SQL Server 2005 feature wouldn't help us with
many of our clients (since they're primarily on Oracle).&amp;nbsp; However, after a little
bit of Googling I came across the &lt;a href="http://www.oreilly.com/catalog/mastorasql/chapter/ch07.html"&gt;MINUS
operator in Oracle&lt;/a&gt;, which appears to be the equivalent of the SQL Server 2005
EXCEPT operator.&amp;nbsp; I'll have to dig into things a little more to know if the EXCEPT
and MINUS set operators are equivalent, as well as run some tests to see what kind
of impact it could have on our data imports, but it looks promising.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://iqueryable.com/aggbug.ashx?id=d85bdf15-59eb-4dd3-a8ba-d56c0823d309" /&gt;</description>
      <category>data;oracle</category>
    </item>
    <item>
      <trackback:ping>http://iqueryable.com/Trackback.aspx?guid=a2413f91-8f81-4f32-a5bd-25394004bfa0</trackback:ping>
      <pingback:server>http://iqueryable.com/pingback.aspx</pingback:server>
      <pingback:target>http://iqueryable.com/PermaLink,guid,a2413f91-8f81-4f32-a5bd-25394004bfa0.aspx</pingback:target>
      <dc:creator>Steve Eichert</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">Today at work we had a brief discussion
about whether using an IN or an EXISTS is more performant.  There were a couple
different opinions, although most thought that EXISTS was faster.  It turns out
that like most things in our wonderful software world there is not clear cut answer. 
In general the below holds true:<br /><ul><li>
If the majority of the filtering criteria are in the subquery then the <code>IN</code> variation
may be more performant.</li><li>
If the majority of the filtering criteria are in the top query then the <code>EXISTS</code> variation
may be more performant.</li></ul>
Source: <a href="http://www.oracle-base.com/articles/misc/EfficientSQLStatements.php#Exists">http://www.oracle-base.com/articles/misc/EfficientSQLStatements.php#Exists</a> and <a href="http://builder.com.com/5100-6388-5297080.html">this</a>.<br /><br />
I assume the same holds true for SQL Server, although we're less interested in that
at the moment.<br /><p></p><img width="0" height="0" src="http://iqueryable.com/aggbug.ashx?id=a2413f91-8f81-4f32-a5bd-25394004bfa0" /></body>
      <title>Is IN OR EXISTS faster?</title>
      <guid isPermaLink="false">http://iqueryable.com/PermaLink,guid,a2413f91-8f81-4f32-a5bd-25394004bfa0.aspx</guid>
      <link>http://iqueryable.com/2007/04/20/IsINOREXISTSFaster.aspx</link>
      <pubDate>Fri, 20 Apr 2007 01:45:29 GMT</pubDate>
      <description>Today at work we had a brief discussion about whether using an IN or an EXISTS is more performant.&amp;nbsp; There were a couple different opinions, although most thought that EXISTS was faster.&amp;nbsp; It turns out that like most things in our wonderful software world there is not clear cut answer.&amp;nbsp; In general the below holds true:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;
If the majority of the filtering criteria are in the subquery then the &lt;code&gt;IN&lt;/code&gt; variation
may be more performant.&lt;/li&gt;
&lt;li&gt;
If the majority of the filtering criteria are in the top query then the &lt;code&gt;EXISTS&lt;/code&gt; variation
may be more performant.&lt;/li&gt;
&lt;/ul&gt;
Source: &lt;a href="http://www.oracle-base.com/articles/misc/EfficientSQLStatements.php#Exists"&gt;http://www.oracle-base.com/articles/misc/EfficientSQLStatements.php#Exists&lt;/a&gt; and &lt;a href="http://builder.com.com/5100-6388-5297080.html"&gt;this&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
I assume the same holds true for SQL Server, although we're less interested in that
at the moment.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://iqueryable.com/aggbug.ashx?id=a2413f91-8f81-4f32-a5bd-25394004bfa0" /&gt;</description>
      <category>data;oracle</category>
    </item>
    <item>
      <trackback:ping>http://iqueryable.com/Trackback.aspx?guid=8b70eb2e-575a-4cec-a227-776e9b67c273</trackback:ping>
      <pingback:server>http://iqueryable.com/pingback.aspx</pingback:server>
      <pingback:target>http://iqueryable.com/PermaLink,guid,8b70eb2e-575a-4cec-a227-776e9b67c273.aspx</pingback:target>
      <dc:creator>Steve Eichert</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">Recently we've been discussing ways to
increase the performance of some performance critical areas of our application. 
As such, a number of individuals have been doing research into various options. 
Through our investigation we came upon <a href="http://www.oracle.com/technology/products/timesten/index.html">Oracle's
Timesten In-Memory database</a>.  I was familiar with many other In-Memory databases,
such as <strike><a href="http://www.firebirdsql.org/">Firebird</a></strike> (<a href="http://sqlite.org/">SQLite</a>?, <a href="http://www.vistadb.com/">VistaDB</a>?),
but up until yesterday I wasn't aware that Oracle had a product in the in-memory space. 
While Oracle doesn't currently offer a .NET native provider for Timesten, TankardSoft
does offer a commercial <a href="http://www.tankardsoft.com/product.aspx">native .NET
data provider for Timesten</a> that supports the recently released version 7 of Timesten.  
<br /><p></p><img width="0" height="0" src="http://iqueryable.com/aggbug.ashx?id=8b70eb2e-575a-4cec-a227-776e9b67c273" /></body>
      <title>Oracle Timesten In-Memory Database</title>
      <guid isPermaLink="false">http://iqueryable.com/PermaLink,guid,8b70eb2e-575a-4cec-a227-776e9b67c273.aspx</guid>
      <link>http://iqueryable.com/2007/04/10/OracleTimestenInMemoryDatabase.aspx</link>
      <pubDate>Tue, 10 Apr 2007 11:09:19 GMT</pubDate>
      <description>Recently we've been discussing ways to increase the performance of some performance critical areas of our application.&amp;nbsp; As such, a number of individuals have been doing research into various options.&amp;nbsp; Through our investigation we came upon &lt;a href="http://www.oracle.com/technology/products/timesten/index.html"&gt;Oracle's
Timesten In-Memory database&lt;/a&gt;.&amp;nbsp; I was familiar with many other In-Memory databases,
such as &lt;strike&gt;&lt;a href="http://www.firebirdsql.org/"&gt;Firebird&lt;/a&gt;&lt;/strike&gt; (&lt;a href="http://sqlite.org/"&gt;SQLite&lt;/a&gt;?, &lt;a href="http://www.vistadb.com/"&gt;VistaDB&lt;/a&gt;?),
but up until yesterday I wasn't aware that Oracle had a product in the in-memory space.&amp;nbsp;
While Oracle doesn't currently offer a .NET native provider for Timesten, TankardSoft
does offer a commercial &lt;a href="http://www.tankardsoft.com/product.aspx"&gt;native .NET
data provider for Timesten&lt;/a&gt; that supports the recently released version 7 of Timesten.&amp;nbsp; 
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://iqueryable.com/aggbug.ashx?id=8b70eb2e-575a-4cec-a227-776e9b67c273" /&gt;</description>
      <category>data;oracle;performance</category>
    </item>
  </channel>
</rss>