473,378 Members | 1,438 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,378 software developers and data experts.

After Reorg space is not reclaimed

Hi

Something bizarrae is happening in my db2 udb on aix 8.1.4 database.
I deleted all data from a particular database and to reclaim empty
pages I have reorg'd and runstated all tables in this tablespace.
However the tablespace pages used counter is not decreasing at all. In
fact it's increasing.

I've done a reorgchk also. What else could the problem be??

Thanks in advance
Lyn
Nov 12 '05 #1
4 3399
Are you sure you deleted all table data?
Perhaps there are indexes in there from tables that still contain data?

Lyn Duong wrote:
Hi

Something bizarrae is happening in my db2 udb on aix 8.1.4 database.
I deleted all data from a particular database and to reclaim empty
pages I have reorg'd and runstated all tables in this tablespace.
However the tablespace pages used counter is not decreasing at all. In
fact it's increasing.

I've done a reorgchk also. What else could the problem be??

Thanks in advance
Lyn


--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands

Nov 12 '05 #2
Ian
Lyn Duong wrote:
Hi

Something bizarrae is happening in my db2 udb on aix 8.1.4 database.
I deleted all data from a particular database and to reclaim empty
pages I have reorg'd and runstated all tables in this tablespace.
However the tablespace pages used counter is not decreasing at all. In
fact it's increasing.


Are you sure you're not looking at the tablespaces' high water mark?

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #3
Hi

No, I've cleaned out absolutely everything.
What I then did was disconnected everyone from the database and
reactivated it. Then the pagesize went down.

Thanks
Lyn

Ian <ia*****@mobileaudio.com> wrote in message news:<40**********@corp.newsgroups.com>...
Lyn Duong wrote:
Hi

Something bizarrae is happening in my db2 udb on aix 8.1.4 database.
I deleted all data from a particular database and to reclaim empty
pages I have reorg'd and runstated all tables in this tablespace.
However the tablespace pages used counter is not decreasing at all. In
fact it's increasing.


Are you sure you're not looking at the tablespaces' high water mark?

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Nov 12 '05 #4
I assumed that you got "used pages" through tablespace snapshot.
There is a trick I just learned. You can use LIST TABLESPACES SHOW DETAIL if
you need to ensure extents that are 'pending delete' are actually freed -:)
"Lyn Duong" <ly**@tablimited.com.au> wrote in message
news:8d**************************@posting.google.c om...
Hi

No, I've cleaned out absolutely everything.
What I then did was disconnected everyone from the database and
reactivated it. Then the pagesize went down.

Thanks
Lyn

Ian <ia*****@mobileaudio.com> wrote in message

news:<40**********@corp.newsgroups.com>...
Lyn Duong wrote:
Hi

Something bizarrae is happening in my db2 udb on aix 8.1.4 database.
I deleted all data from a particular database and to reclaim empty
pages I have reorg'd and runstated all tables in this tablespace.
However the tablespace pages used counter is not decreasing at all. In
fact it's increasing.


Are you sure you're not looking at the tablespaces' high water mark?

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Nov 12 '05 #5

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

Similar topics

13
by: dogu | last post by:
Noob alert. Code is below. File is saved as a .php. What I'm trying to do: User uses 'select' box drop down list to pick a value. Value ($site) is derived from a db query. This works fine....
27
by: Raquel | last post by:
This question if for UDB on LUW. Suppose I take regular database backups of my database Monday: database backup <ts1> Tuesday: Tablespace reorged and imagecopied <ts2> Friday: database...
4
by: Rocketman | last post by:
How can i program this function in C#
4
by: | last post by:
The title is maby a bit strage, I had problem coming up with a title that explain my problem. I have a variable $myvar="TEST 123" I would like to use this variable as a default value in a...
3
by: kartic_s | last post by:
he brief explanation of the problem is, After DB2 maintenance window performance has gone down, it takes some hours to retrieve the data. We have provided some table spaces to Reorg/Runstat...
2
by: dunleav1 | last post by:
I have a many row and many column table that is in a 16K page size. I have four indexes on the table. I am running row compression on the table. The table does not have a primary key. The table...
7
by: Okonita via DBMonster.com | last post by:
Hi all, I am very surprised to see that after doing a Reorgchk followed by reorg of selected tables and concluding with a runstats of the reorged tables, all of the tables continue to be...
0
by: mvsmsh | last post by:
Hi all , I got a replicated source table that needs reorg to reclaim space. it was never reorganized since it created . I wonder are there any restriction or special care needed for reorg...
9
by: ehab mohamed | last post by:
#include<stdio.h> void num(char arr) { int i=0, count=1; while (arr!='\0') { if (arr==' ') {count++;} i++; }
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.