473,811 Members | 2,540 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Range Partitioning

2 New Member
I have 2 questions regarding DB2 9's Range Partitioning.
1. Do the Partition fields have to reside on the table being Partitioned? We have a Fact table we would like to Partition and the Week identifier resides on the table. This identifier's parent Dimension table has a month value. In order to Partition the Fact table by month, somehow the Dimension table would need to be referenced.

2. The Fact table mentioned in the above paragraph is approximately 1 Terabyte and as mentioned, contains weekly level data. There are approximately 4 to 6 million rows per week. Are there enough rows to create a partition at this level or would we need to create the partition at a monthly level, which would be approximately 24 million rows. Is there a lot of overhead in creating 52 partitions per year versus 12. We plan on having 5 years of history and on that 6th year, begin dropping partitions either weekly or monthly, depending on the partitioning strategy we use. Is there much more overhead in the weekly versus monthly partition dropping.
May 23 '07 #1
0 1689

Sign in to post your reply or Sign up for a free account.

Similar topics

7
7269
by: Jane | last post by:
In Oracle we can partition a table as follows. What is the equivalent in DB2? CREATE TABLE sales_list (salesman_id NUMBER(5), salesman_name VARCHAR2(30), sales_state VARCHAR2(20), sales_amount NUMBER(10), sales_date DATE) PARTITION BY LIST(sales_state) (
7
3948
by: Rajesh.............................. | last post by:
What is the impact of using a nullable column vs a not nullable column for partitioning a Union ALL View? I have a Union ALL View with ten underlying tables unioned based on different values for a column partition_id in these tables. Now, if I define this column as NOT NULL, I notice that the loading this view is almost twice fast as if I had defined it NULLABLE. Can anyone explain? What exactly is DB2 doing in each of the case when...
1
1449
by: pramod.barthwal | last post by:
Can we create a partitioned table with MDC feature. Please let me know how that works.
0
1626
by: Robert Klemme | last post by:
Hi, this is just to verify: I checked the documentation and it seems that SQL 2005 does not support hash partitioning on a number of columns. As far as I can see only range partitioning is supported. Also, it seems SQL 2005 only supports partitioning on a single column. Is that true or did I miss something? Kind regards
10
3564
by: shsandeep | last post by:
DB2 V8.2 (not Viper yet and no range partitioning!!) I have created a table T1 (col1, col2) with col1 as the primary key. When I try to create a partitioning key on col2, it gives me error that it should have all primary keys included. So, I created table T1 again with col2 as the partitioning key. Now, I do not have col1 as the primary key. When I try to create col1 as the primary key, I get the following error: 1 The primary key, each...
2
2123
by: Mark A | last post by:
If I have a license for DB2 V9 ESE for the appropriate number of CPU's on my server, do I need a separate additional license for Range Partitioning (like I need for DPF).
0
1881
by: Nate Eaton | last post by:
According to the original whitepaper on UDB range partitioning (http:// www-106.ibm.com/developerworks/db2/library/techarticle/0202zuzarte/ 0202zuzarte.pdf), you can use a range as a criteria, either in the UNION ALL view or in constraints. One restriction it lists, though, is that the optimizer can't use a constraint that references a range versus a discrete value for SQL containing host variables or parameter markers. That was for V7 and...
2
3817
by: Justin | last post by:
I have set up a test table with range partitioning. The partitions are by date (recdate): 1) Pre-2004 2) 2004 3) 2005 4) 2006 5) 2007 6) 2008 When executing the query: select * from analysis_data where
0
1201
by: udbguy | last post by:
Dear All. I am supposed to design range partitioned tables. and table spaces, I have approx 30 tables each with 1 billion rows in it and each month has 200 GB worth of data. I want a design which should be easy to implement and maintain meaning,it should be easy to roll out and roll in the partitions and during the roll out process i want that the space should be given back to the system - so that i can save space and i can avoid spending...
0
9730
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4341
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3868
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.