# Re: RFC: remove DB_PRIVATE flag Post by: satoshi on August 26, 2010, 12:33:28 AM Can you provide more details about what removing DB\_PRIVATE does? I can't remember if I had a specific reason for DB\_PRIVATE, or if I just copied the flags from some example code.  Does removing DB\_PRIVATE make it safe for other processes to open the database simultaneously?  That may be an improvement, depending what the side effects are.  Does it substantially reduce performance by making it have to write out every change immediately or do other coordination?  Are there additional locking or coordination files then?  What else changes?  You could test by timing an initial block download with and without DB\_PRIVATE, preferably -connect-ing to a local machine so network isn't a factor. Apparently, DB\_PRIVATE doesn't do what you would hope it would do, which is prevent other processes from being able to open the database.  It still lets them, it just screws up if they do.  Another option, if there's a way, would be to make it lock the database files so they can't be accessed by other processes. --- Source file: bitcoin-forum-satoshi-nakamoto.tgz External link: https://bitcointalk.org/index.php?topic=920.msg11224#msg11224