<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Groups SQL driver</title> 
  <pubDate>Mon, 06 Apr 2026 22:19:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6175</link> 
  <atom:link rel="self" type="application/rss+xml" title="Groups SQL driver" href="https://bugs.horde.org/ticket/6175/rss" /> 
  <description>Groups SQL driver</description> 
 
   
   
  <item> 
   <title>Another attempt to move data out of DT to reduce time/memory</title> 
   <description>Another attempt to move data out of DT to reduce time/memory usage. Acts the same as current DT groups driver just stores the data in two small dedicated tables.</description> 
   <pubDate>Wed, 30 Jan 2008 16:53:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t41666</link> 
  </item> 
   
  <item> 
   <title>A little bit more optimized. It don&#039;t store  all object in s</title> 
   <description>A little bit more optimized. It don&#039;t store  all object in session objects but only the results as normal session indexed array and it not needs parents column as parents are already stored in group name.</description> 
   <pubDate>Wed, 30 Jan 2008 17:27:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t41667</link> 
  </item> 
   
  <item> 
   <title>And a short test: Having 5 groups, each child of another, tw</title> 
   <description>And a short test: Having 5 groups, each child of another, two users 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(&#039;HORDE_BASE&#039;, dirname(__FILE__) . &#039;/../&#039;);

require_once HORDE_BASE . &#039;/lib/base.php&#039;;

require_once &#039;Horde/Group.php&#039;;

$s = &amp;Group::factory(&#039;sql2&#039;);

$s-&gt;listGroups());

$s-&gt;getGroupMemberships(&#039;duck&#039;);

$s-&gt;getGroupMemberships(&#039;duck&#039;, true);

$s-&gt;userIsInGroup(&#039;duck&#039;, 85780, false);

$s-&gt;userIsInGroup(&#039;duck&#039;, 85780, true);</description> 
   <pubDate>Wed, 30 Jan 2008 17:33:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t41668</link> 
  </item> 
   
  <item> 
   <title>Fix adding member and removing group.

Now I am running it o</title> 
   <description>Fix adding member and removing group.

Now I am running it on my public server.

</description> 
   <pubDate>Sun, 24 Feb 2008 16:01:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t42852</link> 
  </item> 
   
  <item> 
   <title>I&#039;m changing group_uid in horde_groups_members to be an int,</title> 
   <description>I&#039;m changing group_uid in horde_groups_members to be an int, not a varchar - is that right?</description> 
   <pubDate>Sat, 05 Apr 2008 02:50:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t44434</link> 
  </item> 
   
  <item> 
   <title>This is committed, with some changes for params and such; ev</title> 
   <description>This is committed, with some changes for params and such; everything but conf.xml. I&#039;m hoping to work on this and the other SQL drivers tomorrow.</description> 
   <pubDate>Sat, 05 Apr 2008 05:04:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t44435</link> 
  </item> 
   
  <item> 
   <title>Works for me so far. It&#039;s all committed and merged - thanks!</title> 
   <description>Works for me so far. It&#039;s all committed and merged - thanks! If you happen to have a migration script that&#039;d be great, but it&#039;d have to automatically update group ids in permissions also - tricky.</description> 
   <pubDate>Sat, 05 Apr 2008 19:07:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t44439</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;m changing group_uid in horde_groups_members to be an in</title> 
   <description>&gt; I&#039;m changing group_uid in horde_groups_members to be an int, not a 

&gt; varchar - is that right?



yes</description> 
   <pubDate>Sun, 06 Apr 2008 09:19:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t44444</link> 
  </item> 
   
  <item> 
   <title>&gt; Works for me so far. It&#039;s all committed and merged - thank</title> 
   <description>&gt; Works for me so far. It&#039;s all committed and merged - thanks! If you 

&gt; happen to have a migration script that&#039;d be great, but it&#039;d have to 

&gt; automatically update group ids in permissions also - tricky.



Unfortunately I don&#039;t have it.



By migrating even the DT id, updating permission would not be necessary.</description> 
   <pubDate>Sun, 06 Apr 2008 09:22:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t44445</link> 
  </item> 
   
  <item> 
   <title>Added a migration script similar to the perms one; also adde</title> 
   <description>Added a migration script similar to the perms one; also added sequence setting to both migration scripts so that nextId() doesn&#039;t result in collisions with the (probably pretty high) datatree ids that are preserved this way.



Works For Me (tm).



Thanks again.</description> 
   <pubDate>Wed, 09 Apr 2008 03:06:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6175#t44508</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
