On 11/24/2016 10:41 PM, Howard Chu wrote:
Florian Weimer wrote:
On 11/24/2016 02:54 PM, Richard Hipp wrote:
On 11/24/16, Florian Weimer wrote:
I'd like to replace the use of Berkeley DB in RPM with SQLite.
The scenario is special in the follow way. There is no database
On 11/24/2016 02:54 PM, Richard Hipp wrote:
On 11/24/16, Florian Weimer wrote:
I'd like to replace the use of Berkeley DB in RPM with SQLite.
The scenario is special in the follow way. There is no database server,
all access goes directly to the database. Unprivileged
Could you use
PRAGMA data_version
before and after each read to see whether there have been any changes
to the DB - not surehow this works in WAL mode?
Paul
www.sandersonforensics.com
skype: r3scue193
twitter: @sandersonforens
Tel +44 (0)1326 572786
Florian Weimer wrote:
On 11/24/2016 02:54 PM, Richard Hipp wrote:
On 11/24/16, Florian Weimer wrote:
I'd like to replace the use of Berkeley DB in RPM with SQLite.
The scenario is special in the follow way. There is no database server,
all access goes directly to the
Florian Weimer wrote:
On 11/24/2016 10:41 PM, Howard Chu wrote:
As a
compromise you could use SQLightning, which replaces SQLite's Btree
layer with LMDB. Since LMDB *does* allow readers that don't block
writers.
How does it do that? Does LMDB perform lock-free optimistic reads and
On 24 Nov 2016, at 11:02am, Florian Weimer wrote:
> The scenario is special in the follow way. There is no database server, all
> access goes directly to the database. Unprivileged users without write
> access to the RPM database are expected to run read-only queries
I'd like to replace the use of Berkeley DB in RPM with SQLite.
The scenario is special in the follow way. There is no database server,
all access goes directly to the database. Unprivileged users without
write access to the RPM database are expected to run read-only queries
against the
Steps 2 and 3 can be swapped
Also you can convert an existing database from one mode to another
(although not, I suspect (I have not tried), in the middle of a
transaction and if in the DB is wal mode and you are changing to
journal then this would force a checkpoint).
Paul
On Thu, 24 Nov 2016 08:54:47 -0500
Richard Hipp wrote:
> On 11/24/16, Florian Weimer wrote:
> > I'd like to replace the use of Berkeley DB in RPM with SQLite.
> >
> > The scenario is special in the follow way. There is no database
> > server, all access
On 11/24/2016 01:10 PM, Simon Slavin wrote:
On 24 Nov 2016, at 11:02am, Florian Weimer wrote:
The scenario is special in the follow way. There is no database server, all
access goes directly to the database. Unprivileged users without write access
to the RPM database
On 24 Nov 2016, at 1:41pm, Florian Weimer wrote:
> Item 5 says:
>
> “
> It is not possible to open read-only WAL databases. The opening process must
> have write privileges for "-shm" wal-index shared memory file associated with
> the database, if that file exists, or
On 11/24/16, Florian Weimer wrote:
> I'd like to replace the use of Berkeley DB in RPM with SQLite.
>
> The scenario is special in the follow way. There is no database server,
> all access goes directly to the database. Unprivileged users without
> write access to the RPM
12 matches
Mail list logo