<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Performance :SQLLoader Versus Select for Update in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182980#M795255</link>
    <description>Like so many things, it depends. Are there indexes with the table that are getting rewritten with each update? Can you make sure your temporary table in on a different physical &amp;amp; logical drive than the table you are selecting against?  And is there sufficient memory and paging space on the system to account for moving this much data along with the regular activity on the system?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mark</description>
    <pubDate>Wed, 04 Feb 2004 12:03:01 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2004-02-04T12:03:01Z</dc:date>
    <item>
      <title>Performance :SQLLoader Versus Select for Update</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182979#M795254</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm currently in front of a performance problem about a FETCH with an update in table ( 80 millions Records ) and this request commit 25 row per seconds.&lt;BR /&gt;SO I would like to now if&lt;BR /&gt;- I select all my record &lt;BR /&gt;-,insert them in a temporary table &lt;BR /&gt;-and finally reload with sqlldr the empty table with the updated records&lt;BR /&gt;that will be more efficient in term of performance than the update describe on top.&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;LLB</description>
      <pubDate>Wed, 04 Feb 2004 11:48:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182979#M795254</guid>
      <dc:creator>Chartier Jerome</dc:creator>
      <dc:date>2004-02-04T11:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance :SQLLoader Versus Select for Update</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182980#M795255</link>
      <description>Like so many things, it depends. Are there indexes with the table that are getting rewritten with each update? Can you make sure your temporary table in on a different physical &amp;amp; logical drive than the table you are selecting against?  And is there sufficient memory and paging space on the system to account for moving this much data along with the regular activity on the system?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Wed, 04 Feb 2004 12:03:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182980#M795255</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-02-04T12:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Performance :SQLLoader Versus Select for Update</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182981#M795256</link>
      <description>If this is a once off or if the table is not accessed by anyone else when you run thiss specific update, you can&lt;BR /&gt; - write updated rows to flat file&lt;BR /&gt; - truncate the table&lt;BR /&gt; - reload (Direct ?) into table&lt;BR /&gt;&lt;BR /&gt;We had a similar pb in the past where we had to read and append a huge table with updated info. We chnage the batch so we wrote into a flat file and load append to existing table.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Wed, 04 Feb 2004 13:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182981#M795256</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-02-04T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Performance :SQLLoader Versus Select for Update</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182982#M795257</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If I had to update millions of records I would probably opt to NOT update.&lt;BR /&gt;&lt;BR /&gt;I would more likely do:&lt;BR /&gt;&lt;BR /&gt;CREATE TABLE new_table as select &lt;DO the="" update=""&gt; from old_table;&lt;BR /&gt;&lt;BR /&gt;index new_table&lt;BR /&gt;grant on new table&lt;BR /&gt;add constraints on new_table&lt;BR /&gt;etc on new_table&lt;BR /&gt;&lt;BR /&gt;drop table old_table&lt;BR /&gt;rename new_table to old_table;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you can do that using parallel query, with nologging on most operations generating very little redo and no undo at all -- in a fraction of the time it would take to update the data. &lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj&lt;/DO&gt;</description>
      <pubDate>Thu, 05 Feb 2004 02:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-sqlloader-versus-select-for-update/m-p/3182982#M795257</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-05T02:23:15Z</dc:date>
    </item>
  </channel>
</rss>

