IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

TABLE vs TAPE


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pshongal

New User


Joined: 14 Jun 2012
Posts: 96
Location: India

PostPosted: Tue Mar 08, 2016 1:02 pm
Reply with quote

Hi,
We are inserting huge amount of data in a table. We are keeping the data in table for 1 month. Amount of data inserted is around 15MM records per day and length of record is about 2500 (variable).

My question is, whether dumping this data in a TAPE weekly and keeping only 1 week of data in table will reduce the cost? I want to know TAPE is cheaper or DB2 table?

Thanks.
PS
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Tue Mar 08, 2016 3:12 pm
Reply with quote

The answer to that should be obvious to you.

The real question is, if the intention is to hold the data for one month, is it really likely that for the last three weeks that tape is an acceptable medium for data-enquiry. This seems unlikely in general, but obviously it depends entirely on the specifics of the data.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2453
Location: Hampshire, UK

PostPosted: Tue Mar 08, 2016 3:31 pm
Reply with quote

How do you propose to query the data on the tape- it is no longer a DB2 table but a sequential dataset? You would have to write programs to run in batch to handle queries against that data.
Back to top
View user's profile Send private message
pshongal

New User


Joined: 14 Jun 2012
Posts: 96
Location: India

PostPosted: Wed Mar 09, 2016 10:27 am
Reply with quote

Hi Bill/Nic,

We do not query the data regularly unless when there is a issue and need to check the data, and this scenario is very rare in our environment. So we are least bothered on data query.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
No new posts Need to read duplicate rows from tabl... DB2 3
No new posts Hex Table COBOL Programming 2
No new posts Catalog table SYSSTATSFEEDBACK DB2 2
No new posts Global temporary table DB2 1
Search our Forums:

Back to Top