If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 in one environment creating huge LRG files

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-21-11, 10:31
KshitijRaval KshitijRaval is offline
Registered User
 
Join Date: Jun 2011
Posts: 2
DB2 in one environment creating huge LRG files

Problem Definition:
DB2 V9.1 on Windows Environment is creating huge LRG files on our development environment. We compared the configuration with the testing environment to understand this problem. There are some differences but we fail to understand which parameter is leading to creation of such huge files.

The development environment has around 15 LRG files all sized to 30GB, 40GB, 80 GB etc. totalling to 170 GB!!!
WHEREAS
testing environment has each LRG file not more than 350 MB

Can you please look into the attached analysis and help us resolve the problem of huge LRG files.
Attached Files
File Type: zip DB2_huge_LRG_files.zip (81.8 KB, 6 views)
Reply With Quote
  #2 (permalink)  
Old 06-21-11, 10:53
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
These are just tablespace containers. It's not DB2 that creates data in them; it's the database users.
Reply With Quote
  #3 (permalink)  
Old 06-22-11, 05:59
KshitijRaval KshitijRaval is offline
Registered User
 
Join Date: Jun 2011
Posts: 2
I get you, but consider this:

1. Testing environment has atleast 3 times the data as compared to development environment. Still testing environment LRG file size is not more than 350 MB whereas LRG file size in development environment in 80GB

2. There is some configuration in development environment due to which such huge LRG files are getting created.

If you can have a quick look at the configurations of both environment may be you can tell us which configuration is the culprit. If you promise me not to ask where I work, I can tell you that we do not have a DBA on our project, so we are looking forward to experts on this forum to guide us.
Reply With Quote
  #4 (permalink)  
Old 06-23-11, 05:30
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Do you have the same pattern of data access (insert/update/delete/reorg/...) on the test system and the production environment? If the data in the test system is mostly read only, things won't change much. If the production system has, for example, some append-only tables and a lot of activity in terms of data modifications, growing tablespaces are not surprising.

You could collect statistics on the tables and see if there is unused space, for example. Also have a look at the details for each tablespace. It also tells you how much used vs. unused space there is.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On