×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Interbase db groes large with minimum of data

Interbase db groes large with minimum of data

Interbase db groes large with minimum of data

(OP)
Hello,

I have something strange going on with a Interbase DB (6.5).
When I look at the size of the database it is around 12 mb but it only contains 7 tables with around 2 or 3 records per table.

There isn't much data in it but a service is communicating with the database every 2 to 3 seconds and there are only updates performed to one table but not all the time.

It has hapened already two times that after a time period of around 4 weeks the ibserver.exe creates a fatal exception and the cpu keeps running after that at 100 %. Even after rebooting the pc the ibserver.exe takes 100 % cpu time.

Does anyone have any idea's why my database is so big and it only contains so little data and what might cause the crash ?

Greetings,

Pascal.

RE: Interbase db groes large with minimum of data

did u try to make a backup from your database and then
make a restore?.

RE: Interbase db groes large with minimum of data

(OP)
No not yet but what does restore do ?
I have to know what might be causing the problem.

RE: Interbase db groes large with minimum of data

(OP)
I did a backup and restore. Now the file is only 256 kb.
The system table RDB$PAGES first contained 3200 records and after the restore only 256 records.

Any ideas ?

Greetings,

Pascal.

RE: Interbase db groes large with minimum of data

Hi Pascal,

Usually, database growth without adding records means that you have some long running transactions that's keeping other transaction from overwriting garbage (to be erased) data.

You can use "gstat" to watch the transaction counters and see if there's a huge difference between the Oldest Active Transaction and "Next Transaction" (or something along those words).

Martijn Tonies
Database Workbench - the developer tool for InterBase, Firebird, MySQL & MS SQL Server
http://www.upscene.com

RE: Interbase db groes large with minimum of data

(OP)
Where do I have to use "gstat" ?

RE: Interbase db groes large with minimum of data

It's a command line tool - read the docs.

Martijn Tonies
Database Workbench - the developer tool for InterBase, Firebird, MySQL & MS SQL Server
http://www.upscene.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close