<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>119529</bug_id>
          
          <creation_ts>2006-01-04 23:17:59 +0000</creation_ts>
          <short_desc>Statistic plugin takes ages to load</short_desc>
          <delta_ts>2008-01-24 04:21:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kopete</product>
          <component>Statistics plugin</component>
          <version>0.11</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>117989</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Matteo Croce">rootkit85</reporter>
          <assigned_to name="Kopete Developers">kopete-bugs-null</assigned_to>
          <cc>berkessels</cc>
    
    <cc>opensource</cc>
    
    <cc>pookey</cc>
    
    <cc>tobias.rausch</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>403663</commentid>
    <comment_count>0</comment_count>
    <who name="Matteo Croce">rootkit85</who>
    <bug_when>2006-01-04 23:18:00 +0000</bug_when>
    <thetext>Version:           0.11 (using KDE 3.5.0, Debian Package 4:3.5.0-1 (testing/unstable))
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.14

The statistics plugin takes *ages* to start.
It takes 1m2.744s to start and ~37 secs to quit.
my system is not so slow:

Athlon64 X2 4400+, 1GB RAM, HD 250GB SATA2.

Disabling that plugin will fix this, so i&apos;m sure that it&apos;s the plugin.

Cheers,
Matteo Croce</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>403672</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Rogers">mattr</who>
    <bug_when>2006-01-05 00:11:18 +0000</bug_when>
    <thetext>The amount of time it takes to load is a function of how many contacts
you have in your contact list and the amount of data that&apos;s been
collected for those contacts. So yes, the statistics plugin will
eventually take a long time after it&apos;s been used in any case.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>405663</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Rogers">mattr</who>
    <bug_when>2006-01-13 02:33:23 +0000</bug_when>
    <thetext>I don&apos;t see this as a bug. As the database the statistics plugins stores its information it&apos;ll get bigger and take longer to load.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422914</commentid>
    <comment_count>3</comment_count>
    <who name="Ber Kessels">berkessels</who>
    <bug_when>2006-03-18 10:26:44 +0000</bug_when>
    <thetext>When one uses kopete for a lot of contact, and on IRC, the logs grow immense. 
It makes kopete load time increase to about 20 (!) seconds on an average &gt;2GHz processor. 
During tha time the disk is hogged, so the system locks up almost completely. 

I consider this a bug. 

Amarok (to name an example) has &apos;logs&apos; and a database too, but does not need to load it *before* all the rest. This approach: load history &apos;on-the-fly&apos; or &apos;load-history-in-the-background&apos; is not too hard to implement IMO, yet it will solve most of these issues.
Conversation (irc app) logs its history too, but has no delay, nor any &apos;visible&apos; delay. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428330</commentid>
    <comment_count>4</comment_count>
    <who name="Brian Smith">linuxfood</who>
    <bug_when>2006-04-06 09:31:46 +0000</bug_when>
    <thetext>*** Bug 125024 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>434546</commentid>
    <comment_count>5</comment_count>
    <who name="Bram Schoenmakers">me</who>
    <bug_when>2006-04-27 22:34:54 +0000</bug_when>
    <thetext>I&apos;m sure there will be plenty of redundant information in the database.
Think of stats of people which are not in your contactlist anymore. As far as I know, this is not deleted from the database.
It should be possible to clean up the database, for example removing contacts and data gathered &gt;1 year ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463340</commentid>
    <comment_count>6</comment_count>
    <who name="Ian P. Christian">pookey</who>
    <bug_when>2006-08-25 20:36:13 +0000</bug_when>
    <thetext>I consider this a bug, there should be something to configure expiring things from the database.

consider re-opening ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463417</commentid>
    <comment_count>7</comment_count>
    <who name="Mathieu Jobin">opensource</who>
    <bug_when>2006-08-26 03:55:10 +0000</bug_when>
    <thetext>&quot;expiring things&quot; ? disregaring old data to reduce database size is not what I call a speed improovement.

or did I miss-understood what you meant to say?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463429</commentid>
    <comment_count>8</comment_count>
    <who name="Ian P. Christian">pookey</who>
    <bug_when>2006-08-26 09:48:38 +0000</bug_when>
    <thetext>nope, you didn&apos;t misunderstand at all - I personally would be happy with a &apos;automatically delete data older then&apos; option with a drop down a &apos;1 month&apos;, &apos;3 months&apos; etc.

sure, it would be better to optimise the database... but, I&apos;m happy with a quick fix :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>490915</commentid>
    <comment_count>9</comment_count>
    <who name="Jan Ritzerfeld">kde</who>
    <bug_when>2006-12-01 16:41:27 +0000</bug_when>
    <thetext>*** Bug 138212 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574618</commentid>
    <comment_count>10</comment_count>
    <who name="Charles Connell">charles</who>
    <bug_when>2008-01-24 04:20:43 +0000</bug_when>
    <thetext>Reopening, this is still a problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574619</commentid>
    <comment_count>11</comment_count>
    <who name="Charles Connell">charles</who>
    <bug_when>2008-01-24 04:21:28 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 117989 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>