<p>Shutdown Bitcoin-QT cleanly and no reindexing is needed.</p>

<p>The reindexing of bitcoind database is only needed if the application did not have time to properly shut itself down and write all information in its memory to disk.</p>

CC BY-SA 3.0
2015-04-05T09:36:30.297Z
It probably the shutdown procedure of Windows 10. With Windows 7 I also ran defraggler with an automated shutdown when finished and never had a problem. It now forces to shutdown every program but it is to fast to let bitcoin shutdown correct what causes the problem. In short, no automated shutdown after defrag is done or close bitcoin before leaving computer.
Joost de Bruijne
CC BY-SA 3.0
2015-04-06T03:22:21.927Z
@JoostdeBruijne make this an answer!
Wizard Of Ozzie
CC BY-SA 3.0
2015-04-04T14:38:57.417Z
2015-04-04T14:38:57.417Z
Mikko Ohtamaa
<p>I'm running Windows 10 technical preview 10049 and I'm running bitcoin-qt from my data hard drive with 1.17TB available disk space. It is a striped volume and due to much data writing and deleting it needs to be defragmented from time to time. Every time I have done this and I start Bitcoin-QT again it gives an error that the database needs to be rebuild what takes ages.</p>

CC BY-SA 3.0
2015-04-04T22:25:33.580Z
That's very odd. Unless your defragmentation program is changing the data it operates on, it shouldn't cause Bitcoin to need to reindex.
Nick ODell
<blockchain><database>
Bitcoin database needs to rebuild every time after defrag or reboot
Joost de Bruijne
# Bitcoin database needs to rebuild every time after defrag or reboot

(Asked by: username_0 on 2015-04-04)

I'm running Windows 10 technical preview 10049 and I'm running bitcoin-qt from my data hard drive with 1.17TB available disk space. It is a striped volume and due to much data writing and deleting it needs to be defragmented from time to time. Every time I have done this and I start Bitcoin-QT again it gives an error that the database needs to be rebuild what takes ages.

**Tags:** blockchain, database

> **Comments:**
> **username_1**: That's very odd. Unless your defragmentation program is changing the data it operates on, it shouldn't cause Bitcoin to need to reindex.  

---

## 1 answers

### Answer by username_2 on 2015-04-04. Score: 1

Shutdown Bitcoin-QT cleanly and no reindexing is needed.

The reindexing of bitcoind database is only needed if the application did not have time to properly shut itself down and write all information in its memory to disk.

> **Comments:**
> **username_0**: It probably the shutdown procedure of Windows 10. With Windows 7 I also ran defraggler with an automated shutdown when finished and never had a problem. It now forces to shutdown every program but it is to fast to let bitcoin shutdown correct what causes the problem. In short, no automated shutdown after defrag is done or close bitcoin before leaving computer.  
> **username_3**: @username_0 make this an answer!  

---

