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

Delete Huge Records From Huge Partition TableSpace.


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

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Sun Jun 20, 2010 1:13 pm
Reply with quote

Hi,

I am looking for best way for deleting huge records from in one of our large On-line partition table-space.

Please advise. and let me know your experience.

Another question is this delete effected on number of leaf-page please explain why?

Regards
Manshadi
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 20, 2010 8:36 pm
Reply with quote

Hello,

You need to provide much more detail about what you need to do and your concern(s).

What is "huge" to you?

Why do you believe you need to be concerned with leaf pages?

What does your dba suggest?
Back to top
View user's profile Send private message
Manshadi

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Mon Jun 21, 2010 3:46 pm
Reply with quote

Hi,

To me, huge is deleting 500,000,000 records on our on-line partition table space with 1,500,000,000 records.

About leaf page I checked and deleted 10,000,000 records in our test system after reorg and runstat utility, I found that the leaf pages are increase.

I am DBA and looking for the other DBAs suggestion.

Hope this helps,
Manshadi
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Mon Jun 21, 2010 4:27 pm
Reply with quote

Manshadi,

How often do this deletes happen ?

What are the limit keys and columns for this partition tablespace.

What your delete statement will look like ?(where clause)

Thank You,
Sushanth
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Mon Jun 21, 2010 4:28 pm
Reply with quote

Hello Manshadi,

I would suggest Reorg with discard option
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 DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts DROP & ALTER PARTITION-PBR DB2 0
Search our Forums:

Back to Top