Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 2nd, 2005, 05:33 AM
H@voc_!nc.'s Avatar
H@voc_!nc. H@voc_!nc. is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Belgium
Posts: 39 H@voc_!nc. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 48 sec
Reputation Power: 8
Send a message via ICQ to H@voc_!nc.
Rebuild indexes

I have a database that went corrupt... I managed to get it back up and running. But know all my indices are "broken". They dont do anymore what they supposed to do

is there a way for rebuilding ALL my indexes? and NOT recompute selectivity. I want to DEACTIVATE and ACTIVATE them I get serious errors and I needto take the db down.n I tried backup and restore allready but no avail
__________________
With Your Hand On A Hot Stove, Fifteen Seconds Can Seem Like Fifteen Minutes. Fifteen Minutes Can Seem Fifteen Seconds When You Are With A Beautiful Woman. That's The Theory Of Relativity

-- Albert Einstein \\

Reply With Quote
  #2  
Old September 5th, 2005, 07:55 AM
SilverDB's Avatar
SilverDB SilverDB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Romania
Posts: 173 SilverDB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 45 m 53 sec
Reputation Power: 5
Send a message via Yahoo to SilverDB
Try dropping & re-creating a few ...
__________________
If i've been helpful, please add to my reputation.
My unfinished site: http://www.dever.ro

Reply With Quote
  #3  
Old September 20th, 2005, 07:50 AM
Jiri Jiri is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 Jiri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 46 sec
Reputation Power: 0
Quote:
Originally Posted by H@voc_!nc.
I have a database that went corrupt... I managed to get it back up and running. But know all my indices are "broken". They dont do anymore what they supposed to do

is there a way for rebuilding ALL my indexes? and NOT recompute selectivity. I want to DEACTIVATE and ACTIVATE them I get serious errors and I needto take the db down.n I tried backup and restore allready but no avail

Did you try to use gfix tool?
It has to be first used with parameter gfix -mend database.fdb
Then back it up and restore it again (using the same tool). It worked for me, it fixes all my broken indexes.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Rebuild indexes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway