# Re: RFC: remove DB_PRIVATE flag
Post by: satoshi on September 12, 2010, 06:00:39 PM
Last edit: September 12, 2010, 06:25:04 PM by satoshi
Trying it without the DB\_PRIVATE flag in rev 153. We need to keep an eye on what's different.
On Windows at least, it creates six \_\_db.001 - \_\_db.006 files with sizes from 24K to 4MB. It doesn't delete them on exit, it just leaves them behind.
The docs say it uses memory mapped files. I assume they have the same file permissions as the database files, so the same user access restrictions apply.
Tests on Windows private LAN download of 78500 blocks:
with DB\_PRIVATE 20 minutes 51 seconds
without DB\_PRIVATE 20 minutes 51 seconds
I wasn't expecting them to come out exactly the same.
---
Source file: bitcoin-forum-satoshi-nakamoto.tgz
External link: https://bitcointalk.org/index.php?topic=920.msg12484#msg12484