473,671 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3419
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*****@mobile audio.com> wrote in message news:<40******* ***@corp.newsgr oups.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**@tablimite d.com.au> wrote in message
news:8d******** *************** ***@posting.goo gle.com...
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*****@mobile audio.com> wrote in message

news:<40******* ***@corp.newsgr oups.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
2883
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. Value selected is used as the 'where' clause of the 2nd query. If $site is a single word, the 2nd query works like a charm. If $site is more than one word (has spaces), the query returns a null
27
7523
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 restored and roll-forwarded to a timestamp <ts3> on Wednesday. Now my question is: because the entire database is being roll-forwarded, I suppose the database roll forward operation will
4
2743
by: Rocketman | last post by:
How can i program this function in C#
4
9465
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 form. I have tryed this code: <input name="testbox1" type="text" value=<?php echo "$myvar"; ?>> the result is a form with a textbox with the default value "TEST"
3
8544
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 during the maintenance window . After REORG some of the tablespaces, the performance is very slow .This is really strange because no code changes has been involved and also nothing was changed, it's just a Reorg of some tablespaces. I think this...
2
4776
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 does not have a clustered index. I ran a reorg on the table and the indexes. I ran runstats on the table and the indexes after the reorg. Three indexes on the table have an index cluster ratios of 99,99,100 respectively. The fourth index has a...
7
3282
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 identified and selected as reorg candidates in subsequent/followup reorgchk. Has anyone had this experience? Can you share with me what you may have found out to the the reason and if possible what are the possible solutions to correct the situation?
0
1661
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 replicated table ? My nvironment is Source table : DB2.8.2 / AIX ( Primary key = uniq time stamp )
9
3202
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++; }
0
8473
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8911
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8819
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8597
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
7428
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6222
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4222
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4402
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.