Transaction

033312d195432046dac9a5376627f0d568fc802cc3ebe3f7bfbf89d2cc6a1f0a
( - )
8,449
2024-03-27 09:44:00
1
1,343 B

2 Outputs

Total Output:
  • j"1LAnZuoQdcKCkpDBKQMCgziGMoPC4VQUckMB<div class="post">Can you provide more details about what removing DB_PRIVATE does?<br/><br/>I can't remember if I had a specific reason for DB_PRIVATE, or if I just copied the flags from some example code.&nbsp; Does removing DB_PRIVATE make it safe for other processes to open the database simultaneously?&nbsp; That may be an improvement, depending what the side effects are.&nbsp; Does it substantially reduce performance by making it have to write out every change immediately or do other coordination?&nbsp; Are there additional locking or coordination files then?&nbsp; What else changes?&nbsp; 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.<br/><br/>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.&nbsp; It still lets them, it just screws up if they do.&nbsp; 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.</div> text/html
    https://whatsonchain.com/tx/033312d195432046dac9a5376627f0d568fc802cc3ebe3f7bfbf89d2cc6a1f0a