Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kmail2 - I have not given up ... yet
Date: Tue, 29 Dec 2015 17:51:49
Message-Id: 2212243.iXYKnJhH95@andromeda
In Reply to: Re: [gentoo-user] Kmail2 - I have not given up ... yet by Mick
1 On Tuesday, December 29, 2015 04:34:33 PM Mick wrote:
2 > On Tuesday 29 Dec 2015 14:18:20 J. Roeleveld wrote:
3 > > sqlite is nice, for single threaded applications.
4 > > For anything more advanced, either a wrapper is required or something more
5 > > advanced needs to be used.
6 >
7 > I like sqlite because it is self-contained, embedded in the application that
8 > uses it and accesses the data directly with functional calls, rather than
9 > looping around port/socket interfaces to speak to a server. This is why I
10 > kept it, since with Kmail1 it is not used much.
11
12 SQLite never was reliable with akonadi. That might be why so many people had
13 all those issues.
14
15 > With Kmail2 the database will be hammered so as you say will need something
16 > that can process things in parallel at speed and in higher volumes. So, I'm
17 > planning to install postgresql for this purpose, since in my experience
18 > mysql has had a number of hickups with akonadi.
19
20 My experience as well, which is why I switched to Postgresql.
21
22 > Can you please advise what GRANTS did you use to create a dedicated
23 > postgresql user for akonadi?
24
25 Grants?
26 I did the following:
27 % createuser -P <akonadiuser>
28 (NOTE: You need to set a password, which is why I use the "-P" option)
29
30 % createdb -E UTF8 -O <akonadiuser> <akonadidb>
31
32 My config for this is:
33
34 % cat .config/akonadi/akonadiserverrc
35 [%General]
36 Driver=QPSQL
37
38 [QPSQL]
39 Name=<akonadidb>
40 Host=localhost
41 Options=
42 ServerPath=/usr/bin/pg_ctl
43 InitDbPath=/usr/bin/initdb
44 StartServer=false
45 User=<akonadiuser>
46 Password=<akonadipassword>
47 Port=5432
48
49 [Debug]
50 Tracer=null
51
52 > Will the same user be used for Baloo indexing, or is this an additional
53 > database role?
54
55 Afaik, no. Baloo uses it's own database engine.
56
57 For the USE-flags:
58
59 app-office/akonadi-server postgresql qt4
60 (all other USE-flags disabled)
61
62 --
63 Joost

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Kmail2 - I have not given up ... yet Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Kmail2 - I have not given up ... yet Mick <michaelkintzios@×××××.com>