Results 1 to 10 of 10

Thread: Tracker table - what does it do

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Tracker table - what does it do

    What does the tracker table do?

    It is by far the biggest table on my system
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Tracker table - what does it do

    It keeps track of every action a user has made in Sugar.

  3. #3
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tracker table - what does it do

    Quote Originally Posted by eggsurplus View Post
    It keeps track of every action a user has made in Sugar.
    Thanks - is this necessary & if not can it be turned off?
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tracker table - what does it do

    Answered my own question

    found how to turn it off
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  5. #5
    goko is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Stockholm, Sweden
    Posts
    69

    Default Re: Tracker table - what does it do

    Quote Originally Posted by eggsurplus View Post
    It keeps track of every action a user has made in Sugar.
    ... and not only "normal" users...
    The reason the table grows so big is that a bug: http://www.sugarcrm.com/crm/sugarbug...g_number=25957 causes all the Schedulers actions being inserted into the tracker table. The fix for 25957 is supposed to be included in 520.Solana.

    If you want the "Last viewed" feature to work you need to have tracker enabled.
    If you are running Pro or Ent you also get Module usage charts/reports if tracker is enabled.

    There are two things you can do to keep the table smaller:

    • Change the interval at which the tracker table is pruned (the default is 02:00am; 1st of each month )
      To do that go to Admin->Scheduler->Prune Tracker Tables
      My suggestion is to set it to run at 02:00am every day.
      To do that simply change the Date-field from '1' to '*'
    • Change how many days of data will be saved when the table is pruned (default is 30),
      To do that go to Admin->Tracker Settings
      Change to whatever number of days you like in the "Number of days..." field

  6. #6
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tracker table - what does it do

    Quote Originally Posted by goko View Post
    ... and not only "normal" users...
    The reason the table grows so big is that a bug: http://www.sugarcrm.com/crm/sugarbug...g_number=25957 causes all the Schedulers actions being inserted into the tracker table. The fix for 25957 is supposed to be included in 520.Solana.

    If you want the "Last viewed" feature to work you need to have tracker enabled.
    If you are running Pro or Ent you also get Module usage charts/reports if tracker is enabled.

    There are two things you can do to keep the table smaller:

    • Change the interval at which the tracker table is pruned (the default is 02:00am; 1st of each month )
      To do that go to Admin->Scheduler->Prune Tracker Tables
      My suggestion is to set it to run at 02:00am every day.
      To do that simply change the Date-field from '1' to '*'
    • Change how many days of data will be saved when the table is pruned (default is 30),
      To do that go to Admin->Tracker Settings
      Change to whatever number of days you like in the "Number of days..." field
    Thanks - very helpful
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  7. #7
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Tracker table - what does it do

    How do you turn it off in case someone comes across this thread?

  8. #8
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tracker table - what does it do

    Quote Originally Posted by eggsurplus View Post
    How do you turn it off in case someone comes across this thread?
    There is an tracker options section in admin

    you can turn enabled off
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  9. #9
    etzapata is offline Junior Member
    Join Date
    Jan 2009
    Posts
    1

    Default Re: Tracker table - what does it do

    Hi All,

    I can't see the any option regarding this tracker in Admin. We are using Community Edition Version 5.0.0b (Build 3150) with CentOS.

    My tracker table has already reach 5 million plus records. Is it okay if i'll just truncate this table? Or say delete records which are more than a month?

    Please enlighten us as this is a big factor we're considering why our Sugar is still slow despite all the tweaks we've done.

    Hope someone out there can help.

    EriC

  10. #10
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Tracker table - what does it do

    Quote Originally Posted by etzapata View Post
    Hi All,

    I can't see the any option regarding this tracker in Admin. We are using Community Edition Version 5.0.0b (Build 3150) with CentOS.

    My tracker table has already reach 5 million plus records. Is it okay if i'll just truncate this table? Or say delete records which are more than a month?

    Please enlighten us as this is a big factor we're considering why our Sugar is still slow despite all the tweaks we've done.

    Hope someone out there can help.

    EriC
    In admin in the Schedulers there is a job 'Prune Tracker tables'

    You can also tutn off trackers in the Tracker Section located under System in admin
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Crash de la table tracker
    By consulingb in forum Français
    Replies: 1
    Last Post: 2009-02-21, 12:07 PM
  2. Replies: 2
    Last Post: 2009-01-14, 06:50 PM
  3. Replies: 2
    Last Post: 2007-11-16, 04:30 PM
  4. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 PM
  5. Inserting records into the tracker table
    By stevec in forum Developer Help
    Replies: 1
    Last Post: 2006-07-20, 10:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •