1 |
On 29 December 2015 19:40:58 CET, Mick <michaelkintzios@×××××.com> wrote: |
2 |
>On Tuesday 29 Dec 2015 17:51:32 J. Roeleveld wrote: |
3 |
>> On Tuesday, December 29, 2015 04:34:33 PM Mick wrote: |
4 |
>> > On Tuesday 29 Dec 2015 14:18:20 J. Roeleveld wrote: |
5 |
>> > > sqlite is nice, for single threaded applications. |
6 |
>> > > For anything more advanced, either a wrapper is required or |
7 |
>something |
8 |
>> > > more advanced needs to be used. |
9 |
>> > |
10 |
>> > I like sqlite because it is self-contained, embedded in the |
11 |
>application |
12 |
>> > that uses it and accesses the data directly with functional calls, |
13 |
>> > rather than looping around port/socket interfaces to speak to a |
14 |
>server. |
15 |
>> > This is why I kept it, since with Kmail1 it is not used much. |
16 |
>> |
17 |
>> SQLite never was reliable with akonadi. That might be why so many |
18 |
>people |
19 |
>> had all those issues. |
20 |
>> |
21 |
>> > With Kmail2 the database will be hammered so as you say will need |
22 |
>> > something that can process things in parallel at speed and in |
23 |
>higher |
24 |
>> > volumes. So, I'm planning to install postgresql for this purpose, |
25 |
>since |
26 |
>> > in my experience mysql has had a number of hickups with akonadi. |
27 |
>> |
28 |
>> My experience as well, which is why I switched to Postgresql. |
29 |
>> |
30 |
>> > Can you please advise what GRANTS did you use to create a dedicated |
31 |
>> > postgresql user for akonadi? |
32 |
>> |
33 |
>> Grants? |
34 |
>> I did the following: |
35 |
>> % createuser -P <akonadiuser> |
36 |
>> (NOTE: You need to set a password, which is why I use the "-P" |
37 |
>option) |
38 |
>> |
39 |
>> % createdb -E UTF8 -O <akonadiuser> <akonadidb> |
40 |
>> |
41 |
>> My config for this is: |
42 |
>> |
43 |
>> % cat .config/akonadi/akonadiserverrc |
44 |
>> [%General] |
45 |
>> Driver=QPSQL |
46 |
>> |
47 |
>> [QPSQL] |
48 |
>> Name=<akonadidb> |
49 |
>> Host=localhost |
50 |
>> Options= |
51 |
>> ServerPath=/usr/bin/pg_ctl |
52 |
>> InitDbPath=/usr/bin/initdb |
53 |
>> StartServer=false |
54 |
>> User=<akonadiuser> |
55 |
>> Password=<akonadipassword> |
56 |
>> Port=5432 |
57 |
>> |
58 |
>> [Debug] |
59 |
>> Tracer=null |
60 |
>> |
61 |
>> > Will the same user be used for Baloo indexing, or is this an |
62 |
>additional |
63 |
>> > database role? |
64 |
>> |
65 |
>> Afaik, no. Baloo uses it's own database engine. |
66 |
>> |
67 |
>> For the USE-flags: |
68 |
>> |
69 |
>> app-office/akonadi-server postgresql qt4 |
70 |
>> (all other USE-flags disabled) |
71 |
>> |
72 |
>> -- |
73 |
>> Joost |
74 |
> |
75 |
>Thank you very much Joost for holding my hand on this. Last question |
76 |
>for the |
77 |
>day: It seems that postgresql wants to install xemacs as a dependency |
78 |
>... o_O |
79 |
> |
80 |
>======================================== |
81 |
># emerge -uaDv emerge dev-db/postgresql |
82 |
> |
83 |
>These are the packages that would be merged, in order: |
84 |
> |
85 |
>Calculating dependencies... done! |
86 |
>[ebuild N ] app-eselect/eselect-postgresql-1.2.1::gentoo 4 KiB |
87 |
>[ebuild N ] app-eselect/eselect-ctags-1.18::gentoo 9 KiB |
88 |
>[ebuild N ] app-eselect/eselect-emacs-1.18::gentoo 0 KiB |
89 |
>[ebuild N ] dev-db/postgresql-9.4.5-r1:9.4::gentoo USE="ldap nls |
90 |
>pam |
91 |
>readline server ssl xml zlib -doc -kerberos (-libressl) -perl - |
92 |
>pg_legacytimestamp -python (-selinux) -static-libs -tcl -threads -uuid" |
93 |
> |
94 |
>LINGUAS="en -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro |
95 |
>-ru -sk |
96 |
>-sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python3_4" |
97 |
>PYTHON_TARGETS="python2_7 python3_4" 17,248 KiB |
98 |
>[ebuild N ] app-editors/xemacs-21.4.24::gentoo USE="X berkdb gdbm |
99 |
>gif |
100 |
>gpm jpeg ldap png tiff -Xaw3d -athena -canna -dnd -eolconv -freewnn |
101 |
>-motif - |
102 |
>mule -nas -neXt -pop -postgres -xface -xim" 8,383 KiB |
103 |
>[ebuild N ] app-xemacs/xemacs-base-2.27::gentoo 524 KiB |
104 |
>[ebuild N ] app-xemacs/emerge-1.11::gentoo 60 KiB |
105 |
> |
106 |
>Total: 7 packages (7 new), Size of downloads: 26,225 KiB |
107 |
> |
108 |
>Would you like to merge these packages? [Yes/No] |
109 |
>================================================ |
110 |
> |
111 |
>Why is this? |
112 |
|
113 |
No. You are trying to emerge 'emerge'. |
114 |
(Check the commandline :) ) |
115 |
|
116 |
-- |
117 |
Joost |
118 |
-- |
119 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |