473,757 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reclaiming LOB space from deleted CLOBs in V8.1.5?

Hello,

I found a CLOB column in a DMS table that programmers were using to
store tiny strings (less than a couple kilobytes). Since CLOB columns
can only allocate entire kilobytes of space at best (when created with
the COMPACT qualifier), I know that this was wasting a lot of space in
the long tablespace. I added a VARCHAR(2048) column to that table so
it could hold those small strings instead, which allowed me to null
out the tiny CLOBs in the table by moving the text into the VARCHAR
column. Unfortunately, nothing I do seems to release the freed up CLOB
space to other tables. I've tried an inplace reorg of the table, as
well as an offline reorg, and the number of used pages in the
tablespace snapshot stays the same for the long tablespace.

Do I really have to drop and recreate the entire table in order to
reclaim the freed up CLOB space?

Fred
Nov 12 '05 #1
0 1738

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

Similar topics

4
1609
by: Thomas Rast | last post by:
Hello everyone My scenario is somewhat involved, so if you're in a hurry, here's an abstract: I have a daemon that needs about 80MB of RAM to build its internal data structures, but can pack them to 20MB for the rest of its lifetime. The other 60MB are never returned to the operating system. I've thought of building and packing the structures in a fork()ed process, then piping them over to the main part; is there an easier way to get...
0
518
by: Rachel Pevtzow | last post by:
i currently have a few (non-oracle) databases containing personal papers of wellington, mountbatten, etc. i'm thinking about moving it into oracle, but i'm worried about how to get the data in. the limit on character fields in the current database system is 65000 characters, and we've run into that a number of times. i've used sqloader to get data into oracle databases in the past, but i've never worked with clobs before. i can output...
27
20065
by: Aurangzeb M. Agha | last post by:
I'm running Postgres 7.1.3, and just started having a problem where my dynamic site is going down (read-only DB, with no writes happening to the DB) regularly (every other day). I have no idea whay this is happening, and my search of the FAQ's and mail list don't bring up anything. i've attached the error from the log file, at the end of this message. Here's an output of the disk usage from within the DB dir $ du -k . 1716 ...
1
1480
by: kacper | last post by:
Hello, Recently I had to connect my application (Delphi, dbexpress) to remote db2 server connected via WAN. (3Mb/s). If I'm not working with clobs - everything works just great - I have an average network transfer of 280 Kb/s. The problem is that when I'm trying to retrieve clobs as well - everything gets slower for ten times or even worser. (Network transfer of an averege 20-30 Kb/s). Any advices?
9
7141
by: mike_dba | last post by:
I am using DMS raw. I have a tablespace which is defined with 5 containers each allocated at 1.5 GB for a total of about 7.5 GB. I did a major deletion followed by a reorg and a runstats. I am not regaining as much space as anticipated. Additionally, the syscat.tables and syscat.indexes show my usage to be small. How do I determine who is using all the space ? The list tablespaces shows - Usable pages = 7.4 GB Used pages = 6.2 GB
0
1147
by: pigeonrandle | last post by:
Hello! Does anyone have any thoughts on the best way to go about reclaiming dormant connections? I see people using timers in examples, but their implementations vary from using a separate class to using a function within the server class. If anyone has done this successfully, i would love to hear their thoughts on the matter. As always, thanks,
3
7164
by: amitabh.mehra | last post by:
Hi I m new to DB2.. I am using DB2 version8. I have a few queries (which i create dynamically) stored in a table. The column which stores them is clob 32k. Each of these query has a ":wf_id" string in 2 places, which i replace with another string (using the replace function in sysfun pkg in db2) before executing them. its something like:
0
1678
by: Starsky | last post by:
Hello everyone! I am spanish and I am developing an application using DB2 v9 and Java. I´m currently trying new things but I have a problem. I can easily do INSERTS from my application into the DB (XML, CLOBS, etc.) but I have problems when I execute: String qDesc="SELECT DESCRIPCION FROM AVION"; Statement pst2 = cx.createStatement(); ResultSet...
0
11269
ashitpro
by: ashitpro | last post by:
Writing System Call Wrappers in User Space. Recently I saw a post in Linux/Unix section to know the user who deleted the file in linux. Currently there is nothing in linux which could achieve this. There are certain tools which profiles the activities on file system, but none of these provides the particular user information. Main task for all these tools to check the performance of the system. First I thought why not to hook the unlink...
0
9487
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
9297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9735
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8736
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...
0
6556
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5324
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3828
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
3
3395
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2697
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.