<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/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>Sat, 05 Jul 2008 07:09:03 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/6175</link>
  <atom:link rel="self" type="application/rss+xml" title="Groups SQL driver" href="http://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 11:53:31 -0500</pubDate>
   <link>http://bugs.horde.org/ticket/6175#t41666</link>
  </item>
  <item>
   <title>A little bit more optimized. It don't store  all object in s</title>
   <description>A little bit more optimized. It don'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 12:27:19 -0500</pubDate>
   <link>http://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('HORDE_BASE', dirname(__FILE__) . '/../');
require_once HORDE_BASE . '/lib/base.php';
require_once 'Horde/Group.php';
$s = &amp;Group::factory('sql2');
$s-&gt;listGroups());
$s-&gt;getGroupMemberships('duck');
$s-&gt;getGroupMemberships('duck', true);
$s-&gt;userIsInGroup('duck', 85780, false);
$s-&gt;userIsInGroup('duck', 85780, true);</description>
   <pubDate>Wed, 30 Jan 2008 12:33:30 -0500</pubDate>
   <link>http://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 11:01:44 -0500</pubDate>
   <link>http://bugs.horde.org/ticket/6175#t42852</link>
  </item>
  <item>
   <title>I'm changing group_uid in horde_groups_members to be an int,</title>
   <description>I'm changing group_uid in horde_groups_members to be an int, not a varchar - is that right?</description>
   <pubDate>Fri, 04 Apr 2008 22:50:19 -0400</pubDate>
   <link>http://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'm hoping to work on this and the other SQL drivers tomorrow.</description>
   <pubDate>Sat, 05 Apr 2008 01:04:08 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6175#t44435</link>
  </item>
  <item>
   <title>Works for me so far. It's all committed and merged - thanks!</title>
   <description>Works for me so far. It's all committed and merged - thanks! If you happen to have a migration script that'd be great, but it'd have to automatically update group ids in permissions also - tricky.</description>
   <pubDate>Sat, 05 Apr 2008 15:07:58 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6175#t44439</link>
  </item>
  <item>
   <title>&gt; I'm changing group_uid in horde_groups_members to be an in</title>
   <description>&gt; I'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 05:19:07 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6175#t44444</link>
  </item>
  <item>
   <title>&gt; Works for me so far. It's all committed and merged - thank</title>
   <description>&gt; Works for me so far. It's all committed and merged - thanks! If you 
&gt; happen to have a migration script that'd be great, but it'd have to 
&gt; automatically update group ids in permissions also - tricky.

Unfortunately I don't have it.

By migrating even the DT id, updating permission would not be necessary.</description>
   <pubDate>Sun, 06 Apr 2008 05:22:38 -0400</pubDate>
   <link>http://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't result in collisions with the (probably pretty high) datatree ids that are preserved this way.

Works For Me (tm).

Thanks again.</description>
   <pubDate>Tue, 08 Apr 2008 23:06:53 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6175#t44508</link>
  </item>
  

 </channel>
</rss>
