473,574 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB2 for z/OS problem - empty tablespace growing in size

We are in SAP R/3 using z/OS DB2 V7.1 as our DB Server.

SAP uses a table called VBDATA for it's internal intermediate needs just
inserting in it's primary transaction a row and then selects and deletes
the row in it's secondary transaction.

The table is basically empty. During our peak time we have just a few tens
of rows in the table.

The problem is that the tablespace is constantly growing - goes into
extents (and it's over allocated and it's a huge chank of just empty pages).

We tryed simple and segmanted tablespaces. We tryed descending and
ascending clustering indexes - nothing helps.

Any ideas?

Thanks,
Michael.

--
Message posted via http://www.dbmonster.com
Nov 12 '05 #1
2 2392
Is the data tablespace or the index tablespace growing in size?
I assume it is the data tablespace.
A segmented tablespace is probably best for this type of usage.
You should REORG it on a regular basis.
Or just drop the tablespace and redefine it and its dependents (tables,
indexes etc.). You also might want to increase the primamry and secondary
space allocations a bit to avoid a large number of extents,
if you don't reorg it often.

--
Message posted via http://www.dbmonster.com
Nov 12 '05 #2

Michael Raz via DBMonster.com wrote:
We are in SAP R/3 using z/OS DB2 V7.1 as our DB Server.

SAP uses a table called VBDATA for it's internal intermediate needs just inserting in it's primary transaction a row and then selects and deletes the row in it's secondary transaction.

The table is basically empty. During our peak time we have just a few tens of rows in the table.

The problem is that the tablespace is constantly growing - goes into
extents (and it's over allocated and it's a huge chank of just empty pages).
We tryed simple and segmanted tablespaces. We tryed descending and
ascending clustering indexes - nothing helps.

Any ideas?

Thanks,
Michael.

--
Message posted via http://www.dbmonster.com


couple of things (not necessarily DB2 specific)

- if a transaction is open, database engines don't reuse page slots
since they aren't really yet available. this is what the
situation sounds like.

- the engine has a maximum number of slots per page (255 last time i
looked). if you've a large bufferpool size for the tablespace,
you could be using lots of empty disc real estate. sounds like
the 4k page size (minimum) would help.

btdb

Nov 12 '05 #3

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

Similar topics

1
20341
by: Jens H. Hamann | last post by:
Hi, I am having a strange problem with the storage parameters in Oracle 9.2.0.1 database. I create a tablespace with some default storage parameters but when i am adding a table to the tablespace i can not override the NEXT statement? No matter what i set the NEXT storage parameters to, it is always the same as the tablespace default, the...
1
5012
by: xixi | last post by:
There is one thing I don't understand, I have default tablespace userspace1 is database managed type, with total freepages 506048. another one called tmpxx is DMS type too, with 525120 free pages. When I create a new table (did not specify on which tablespace), why the table not created on the userspace1 but instead on tmpxx? what is the rule...
2
10235
by: Stanley Sinclair | last post by:
About to create a table which will "include" a BLOB. Am not sure how large to make the container and the tablespace. What I see says that BLOB is stored "separately." However, I don't know where. With a table kinda like: CREATE TABLE BLOB_TABLE ( BLOB_ID INT,
4
14385
by: mairhtin o'feannag | last post by:
Hello, I have a tablespace striped across three drives, call them 1,2,3, just to be clever. :) I allocated a lot more space (DMS) than I should have, since I didn't know a way to estimate the space required (long story, but the original space was in one huge tablespace for all tables ((35 million row tables)) and I needed to segregate...
4
13223
by: Alvin SIU | last post by:
Hi all, I am now doing development using DB2. Q1. There is one tablespace to store 5 tables. But, when in production, there will be one tablespace for EACH of the tables.
0
1361
by: okonita | last post by:
Hi all, I am running a recover tocopy procedure and twice with different image copy I found this informational message AND no data recovered: DSNUCBAL - THE IMAGE COPY DATA SET DPDD.IMAG.ANG00001.TS00011S.G0118 IS PARTICIPATING IN RECOVERY OF TABLESPACE ANG00001.TS00011S DSNUCBMD - MERGE STATISTICS FOR TABLESPACE ANG00001.TS00011S ...
0
1506
by: Okonita | last post by:
Hi all, I am running a recover tocopy procedure and twice with different image copy I found this informational message AND no data recovered: DSNUCBAL - THE IMAGE COPY DATA SET DPDD.IMAG.ANG00001.TS00011S.G0118 IS PARTICIPATING IN RECOVERY OF TABLESPACE ANG00001.TS00011S DSNUCBMD - MERGE STATISTICS FOR TABLESPACE ANG00001.TS00011S -...
5
4150
by: Mark A | last post by:
I have an OLTP database that has a tablespace that will start out at about 1 TB, but may grow to 75 TB's in size over the next 5 years. When I add new containers (on a new mount point), I want to use the BEGIN NEW STRIPE SET command to avoid rebalancing. Anyone know the maximum number of STRIPE SET's that can be created for a tablespace.
1
3009
by: deshaipet | last post by:
Hi friends - I created a automatic storage tablespace with a pagesize of 16 K and initial size of 64 MB. create large tablespace test_tbsp1 pagesize 16k managed by automatic storage autoresize yes initialsize 64 M increasesize 64 M maxsize 2 G no extent size 16 prefetchsize 16 bufferpool test_bp1 file system caching dropped table recovery...
0
7814
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...
1
7827
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8109
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...
1
5632
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...
0
5316
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3752
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2253
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
1
1356
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.