> If I was to attach a database located in a file on disk to a database located
> in memory, would the file DB be loaded in memory too, or would its usage
> remain disk-based?

Its usage would be the same as if you open a new connection to that
database file, i.e. disk-based (barring the page caching in memory).


Pavel


On Wed, Jul 13, 2011 at 11:18 AM, Alexandre G
<alexandre.gosse...@ubisoft.com> wrote:
>
> If I was to attach a database located in a file on disk to a database located
> in memory, would the file DB be loaded in memory too, or would its usage
> remain disk-based?
>
> I need to know because we want to keep memory usage to a minimum. Note that
> the disk is read-only.
>
> Thanks
>
> --
> View this message in context: 
> http://old.nabble.com/Attach-file-disk-DB-to-memory-DB-tp32054031p32054031.html
> Sent from the SQLite mailing list archive at Nabble.com.
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to