Solved

How to reclaim data store space in timesten 7.0.5 database

Posted on 2014-01-03
2
752 Views
Last Modified: 2014-01-06
Hello experts,

Lately i am having challenges with Timesten datastore space issues. I truncated one huge table consisting of 2+ millions rows and even after that i would not get the space back. I tried restarting the TT manager and that didnt work either.

The 'log purge and 'Log auto truncate' options are enabled in my DSN.

Perm size: 900 (currently sitting at 845 mb)
Temp size: 100
log file size 128
log bugger: 131072
0
Comment
Question by:parpaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 500 total points
ID: 39754455
I don't think you can shrink it directly, but  could you copy the data (if there is anything left after deletes/trunctes), drop the tables (and tablespaces if they have nothing else in them), then recreate the structures and reload the data?
0
 
LVL 18

Expert Comment

by:sventhan
ID: 39754625
If the tablespace has not objects on it drop it using the following syntax

drop tablespace tablespace_name including contents;

This will drop the datafiles at the OS level and free up the space.

If the tablespace is NOT empty, but if it has some freespace move that object to a new tablespace and then drop the tablespace. This will help reclaiming the space.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
This video shows how to recover a database from a user managed backup
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question