Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 17143 invoked from network); 10 Sep 2007 20:05:17 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 10 Sep 2007 20:05:11 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 20BDE73D10D;
 Mon, 10 Sep 2007 20:26:22 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 12642-04; Mon, 10 Sep 2007 20:26:22 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8CC4E73D396;
 Mon, 10 Sep 2007 20:26:21 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 10 Sep 2007 19:41:50 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C2F9E73DB45
 for <oracle-l@freelists.org>; Mon, 10 Sep 2007 19:41:50 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 06755-01 for <oracle-l@freelists.org>;
 Mon, 10 Sep 2007 19:41:50 -0400 (EDT)
Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7FBBA73DAF4
 for <oracle-l@freelists.org>; Mon, 10 Sep 2007 19:41:50 -0400 (EDT)
Received: from smailcenter65.comcast.net ([204.127.205.165])
          by comcast.net (sccrmhc12) with SMTP
          id <2007091100203101200429n8e>; Tue, 11 Sep 2007 00:20:31 +0000
Received: from [71.126.136.55] by smailcenter65.comcast.net;
 Tue, 11 Sep 2007 00:20:30 +0000
From: ryan_gaffuri@comcast.net
To: oracle-l@freelists.org
Subject: partitioning options for a system that will add 50 million rows/day
Date: Tue, 11 Sep 2007 00:20:30 +0000
Message-Id: <091120070020.9277.46E5DF4E0004D5270000243D2207021553079D9A00000E09A1020E979D@comcast.net>
X-Authenticated-Sender: cnlhbl9nYWZmdXJpQGNvbWNhc3QubmV0
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="NextPart_Webmail_9m3u9jl4l_9277_1189470030_0"
X-archive-position: 1420
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: ryan_gaffuri@comcast.net
Precedence: normal
Reply-to: ryan_gaffuri@comcast.net
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
--NextPart_Webmail_9m3u9jl4l_9277_1189470030_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

I was quoted numbers of 50 Gbs/day so that assumes 1,000 bytes/row. I have not confirmed this. This database will probably grow to around 2 TBs since older data will be purged. All data will be added with bulk loads using external tables. There will be a query element that will use indexes. About 150 rows/query. Not sure what the load will be on this. Right now I am working on a partitioning strategy. We are going to use RAC and we are in 10.2.  

We will definitely use date partitions with local indexes. There has been some talk of 1 partition/hour. Some data loads may take a while. This way newer loads can start on newer partitions. 

Should I explore hash sub-partitions? I need to run tests, but I believe hash partitions will actually hurt performance of inserts since Oracle has to decided where to put the record. 

I think we definitely need ASM because its too hard to manage spreading out partitions across the LUNs on the SAN manually and since we are adding and dropping alot of partitions we would need code to determine which LUN to put partitions on. 

The data model is relatively simple. So there is not alot of complex business logic in the database. The rows are scrubbed before getting to the database. Its just straight array inserts off of external tables. 

anyone have any suggestions or comments?  
--NextPart_Webmail_9m3u9jl4l_9277_1189470030_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit

<html><body>
<DIV>I was quoted numbers of 50 Gbs/day so that assumes 1,000 bytes/row. I have not confirmed this. This database will probably grow to around 2 TBs since older data will be purged. All data will be added with bulk loads using external tables. There will be a query element that will use indexes. About 150 rows/query. Not sure what the load will be on this. Right now I am working on a partitioning strategy. We are going to use RAC and we are in 10.2. &nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>We will definitely use date partitions with local indexes. There has been some talk of 1 partition/hour. Some data loads may take a while. This way newer loads can start on newer partitions. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Should I explore hash sub-partitions? I need to run tests, but I believe hash partitions will actually hurt performance of inserts since Oracle has to decided where to put the record. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I think we definitely need ASM because its too hard to manage spreading out partitions across the LUNs on the SAN manually and since we are adding and dropping alot of partitions we would need code to determine which LUN to put partitions on. </DIV>
<DIV>&nbsp;</DIV>
<DIV>The data model is relatively simple. So there is not alot of complex business logic in the database. The rows are scrubbed before getting to the database. Its just straight array inserts off of external tables. </DIV>
<DIV>&nbsp;</DIV>
<DIV>anyone have any suggestions or comments? &nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></body></html>

--NextPart_Webmail_9m3u9jl4l_9277_1189470030_0--
--
http://www.freelists.org/webpage/oracle-l


