473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Data loads: Offline performance with online benefits

Hi
Hopefully someone could point me in the right direction on this one.

INFRASTRUCTURE
DB2 v7 on MVS OS390

SCENARIO
We are currently loading large volumes of data (eg 20MM rows) per day
into a partitioned DB2 database. In the installed version of DB2
there are only upto 240 (or so) partitions, so we have to double up
and put two days (eg Day 34 and Day 276) in each partition.
The problem occurs when we need to load new data into a given
partition (ie replacing Day 34) whilst allow the other day's data to
be readable (ie Day 276).
This is currently being done using an online load which works fine
except from the cpu and elapsed timeframes.

SOLUTION
1. In version 8, this problem goes away since we can use upto 2040
partitions (ie one or two per day) but the rollout plan for this isn't
for another year or so.
2. I've heard about shadow or flip/flop tables whereby the old data is
kept online whilst a copy of it is amended before the view (or
whatever) is updated to view this new data. Is there any sort of DB2
command or url I can use/view which demonstrates this ??

Thanks for any help in advance.
Simon.
Nov 12 '05 #1
1 1857
"simon" <si******@hotmail.com> wrote in message
news:3e*************************@posting.google.co m...
Hi
Hopefully someone could point me in the right direction on this one.

INFRASTRUCTURE
DB2 v7 on MVS OS390

SCENARIO
We are currently loading large volumes of data (eg 20MM rows) per day
into a partitioned DB2 database. In the installed version of DB2
there are only upto 240 (or so) partitions, so we have to double up
and put two days (eg Day 34 and Day 276) in each partition.
The problem occurs when we need to load new data into a given
partition (ie replacing Day 34) whilst allow the other day's data to
be readable (ie Day 276).
This is currently being done using an online load which works fine
except from the cpu and elapsed timeframes.

SOLUTION
1. In version 8, this problem goes away since we can use upto 2040
partitions (ie one or two per day) but the rollout plan for this isn't
for another year or so.
2. I've heard about shadow or flip/flop tables whereby the old data is
kept online whilst a copy of it is amended before the view (or
whatever) is updated to view this new data. Is there any sort of DB2
command or url I can use/view which demonstrates this ??

Thanks for any help in advance.
Simon.


I think you mean that you have a partitioned tablespace(s), not database.

The flip flop technique is used by DB2 for on-line reorgs. I am not sure if
it only applies to one partition in a partitioned tablespace. You could look
at the technique employed by DB2 to do that, but I think they do it at the
VSAM level.

You could use rename table SQL to flip-flop tables, but I believe it applies
to the whole table and not just a partition (which still might be OK).
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Moti | last post by:
Hello, I am trying to check the integrity of SQL database. The 'problem' with SQL server is that it's fixing the DB automatically after restore so I need a way to do it offline, much like using...
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for...
2
by: Greg Bacchus | last post by:
Hi, Does anyone know how to get an offline reference to an assembly that has been downloaded using Assembly.LoadFrom. E.g. Application downloads the assembly while it in online... next time it...
4
by: Guadala Harry | last post by:
Is there any way for one Session to remove and update objects in another Session? I seriously doubt it, but thought I'd ask. Here's why: I have some data that is unique per user (or per session -...
2
by: John | last post by:
Hi I need to write a vb2005/sql server2005 app running over a LAN. Some users who use laptop need to have the app to have an offline mode for when they are away. I am new to net and would like...
4
by: manwiththeaxe.70 | last post by:
I have recently begun to migrate our DB2 UDB v7.2 enterprise databases up to DB2 UDB v8.2. One question I can't seem to understand is why would I want to run an offline backup for a database now...
6
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in...
10
by: Michael Hoffmann | last post by:
Hello, I hope this doesn't come across as totally newbieish, but I've been searching the web and the IBM docs until smoke is coming out of my head. Scenario: We are trying to take primitive...
9
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all On SQL Server tables I use SqlDataReader to query data like "SELECT * FROM table". Is there something similar for XML Files ? I want to use SQL Syntax like "SELECT * FROM table" on a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...

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.