Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Updating a huge hash partitioned table.

Updating a huge hash partitioned table.

From: Reddy, Madhusudana <Madhusudana.Reddy_at_bestbuy.com>
Date: Thu, 30 Jan 2003 10:04:56 -0800
Message-ID: <F001.0053F1F8.20030130100456@fatcity.com>


Hello All,
I have a requirement to update a table which is hash partitioned and having a local prefixed index with keys (STORE,  SKU, ACTION_DATE, TRAN_TYPE) . I have to update only one column called 'WH' to a new value where store=store#, wh= 0 and tran_type = -1. Explain plan shows me FULL TABLE access.
Sample query would be like this

Update < table_name >
set wh=-1
where store=<store_no>

and     wh=<old_value>
and     tran_type=<value>

Any suggestions to have better performance ??

Thanks in advance,
Madhu

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Reddy, Madhusudana
  INET: Madhusudana.Reddy_at_bestbuy.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jan 30 2003 - 12:04:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US