http://www.perlmonks.org?node_id=1045679


in reply to Re^8: threads::shared seems to kill performance (Workaround).
in thread threads::shared seems to kill performance

An ADS cannot exist without a main file; and unlinking the main file will always delete the ADS; so I'm not sure what you are getting at here?

I asked the question on the sqlite mailing list; but besides getting the obvious reply -- "if the data persists it isn't an in-memory db"; Well d'uh! -- total silence. Probably there is noone with any windows knowledge on the list.

My suspicion is:

Another possibility is that using threads and multiple handles to an in-memory db in conjunction with DBI's broken threading semantics is preventing the clean-up code being invoked.

I'm not sure where else to go looking for knowledgeable sqlite+windows devs?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^9: threads::shared seems to kill performance (Workaround).

Replies are listed 'Best First'.
Re^10: threads::shared seems to kill performance (Workaround).
by MidLifeXis (Monsignor) on Jul 22, 2013 at 15:40 UTC

    Aaah, ok. Misunderstanding on my part. I read you to say that unless you delete the main file, the data persists.

    --MidLifeXis

      I read you to say that unless you delete the main file, the data persists.

      I did :) (I'm guessing were at cross-purposes here?)

      The problem is; *I* shouldn't have to delete a file, (any file), when I've asked for an in-memory db.

      If they have a need to create a file for an in-memory db -- that was a surprise -- they should delete it afterwards.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        The problem is; *I* shouldn't have to delete a file, (any file), when I've asked for an in-memory db.
        If they have a need to create a file for an in-memory db -- that was a surprise -- they should delete it afterwards.

        Agree 100% :-)

        --MidLifeXis