Summary | Groups SQL driver |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | duck (at) obala (dot) net |
Created | 01/30/2008 (6318 days ago) |
Due | |
Updated | 04/09/2008 (6248 days ago) |
Assigned | 04/05/2008 (6252 days ago) |
Resolved | 04/05/2008 (6252 days ago) |
Milestone | |
Patch | Yes |
setting to both migration scripts so that nextId() doesn't result in
collisions with the (probably pretty high) datatree ids that are
preserved this way.
Works For Me (tm).
Thanks again.
happen to have a migration script that'd be great, but it'd have to
automatically update group ids in permissions also - tricky.
By migrating even the DT id, updating permission would not be necessary.
varchar - is that right?
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Taken from
happen to have a migration script that'd be great, but it'd have to
automatically update group ids in permissions also - tricky.
Assigned to
State ⇒ Assigned
but conf.xml. I'm hoping to work on this and the other SQL drivers
tomorrow.
varchar - is that right?
New Attachment: sql.php
Now I am running it on my public server.
per group, groups cache enabled. Average of after 1000 runs.
Memory usage:
----
3,932,160 current data tree
3,407,872 sql2
----
500k less
Time in seconds
---
0,0060 dt
0,0041 sql
0,0035 sql2
script:
----
define('HORDE_BASE', dirname(__FILE__) . '/../');
require_once HORDE_BASE . '/lib/base.php';
require_once 'Horde/Group.php';
$s = &Group::factory('sql2');
$s->listGroups());
$s->getGroupMemberships('duck');
$s->getGroupMemberships('duck', true);
$s->userIsInGroup('duck', 85780, false);
$s->userIsInGroup('duck', 85780, true);
New Attachment: sql2.php
objects but only the results as normal session indexed array and it
not needs parents column as parents are already stored in group name.
Priority ⇒ 1. Low
State ⇒ New
New Attachment: groups.tgz
Queue ⇒ Horde Framework Packages
Summary ⇒ Groups SQL driver
Type ⇒ Enhancement
Acts the same as current DT groups driver just stores the data in two
small dedicated tables.