If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Tunning EnterpriseDB(8.1.3.12) for disk space

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-02-07, 06:20
Kaliki Neelima Kaliki Neelima is offline
Registered User
 
Join Date: Apr 2007
Posts: 3
Question Tunning EnterpriseDB(8.1.3.12) for disk space

Hi,

As i keep inserting and deleting the data, my Enterprise DB (8.1.3.12) folder size is getting increased exponentially.

We suspect that it might be because of transaction logs.

Can some one help in tunning the Enterprise DB for disk space.

Also can help what sort of information will be present in the location "C:\EnterpriseDB\8.1.3.12\data\base"

Thanks,
Neelima.
Reply With Quote
  #2 (permalink)  
Old 05-02-07, 13:15
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,797
I believe you'll need to look at vacuuming your databases.

PostgreSQL (on which EnterpriseDB is based) has a feature called autovaccuum, which will periodically perform a background vacuum. This releases rows which were previously deleted, for re-use. However, you still need to perform full vacuums periodically. A full vacuum is equivalent to a disk defrag. Deleted rows are removed and wasted space is recovered.
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Reply With Quote
  #3 (permalink)  
Old 05-02-07, 14:06
bhatti81 bhatti81 is offline
Registered User
 
Join Date: Mar 2006
Posts: 1
about base

The base directory is the main place that contains your data for tables/indexes etc. The base directory contains per database directories (named on pg_database.oid). So, the directory titled 1 belongs to template1 and there is another directory for template0. Rest of the directories map to the oids of the databases that you create. Inside each of these directories, you would find different files (named on the pg_class.relfilenode) corresponding to the tables/indexes within that database. For more details and a timely response, you can register on the EnterpriseDB website and post your queries on the forums under the Support tab.

Thanks,
A. Hayee Bhatti
EnterpriseDB
www.enterprisedb.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On