Kayako logo
Feature Requests Have a feature request for SupportSuite, eSupport and LiveResponse? Post in here.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
alexis Offline
New Member
 
Posts: 3
Join Date: Mar 2007
How to automatically purge database from old tickets - 07-09-2007, 04:09 PM

Hi,

Database is growing slowly.
I am getting concerned about cpu and disk usage.
I couldn't find anything on how to purge old tickets automatically.

Does anyone have a suggestion?
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,429
Join Date: Jan 2006
Location: United Kingdom
07-09-2007, 04:13 PM

Hi alexis,

There is no automatic way to perform ticket purging based on age; you will have to do this manually, I am afraid (making use of the mass delete functions from within a ticket listing).

However, I would not worry too much about the size of your database - unless we are talking more than 100s of megabytes. Searching will become a more resource intensive process, but beyond this (in general use of your desk) MySQL's caching techniques will ensure information that is likely to be accessed or is accessed frequently will be cached where other information will not be.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#3) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
07-09-2007, 04:24 PM

On a shared server of decent spec (single core with 1gb RAM or more) will cope fine with 1gb databases. If you are dedicating a box to only the helpdesk I deffo would not worry about it.

Only when you notice slow speeds should you start to consider doing something like this.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#4) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,429
Join Date: Jan 2006
Location: United Kingdom
07-09-2007, 04:36 PM

Quote:
On a shared server of decent spec (single core with 1gb RAM or more) will cope fine with 1gb databases.
On a shared server he would probably run into problems, particularly when performing searches and especially with a 'big' (oversold) host where resources are tight.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#5) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
07-09-2007, 05:12 PM

Well yea, but on a server with a moderate amount of accounts it should be ok for day to day ticket answering. Ticket searches arn't done that often by the majoirty of users anyway.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#6) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,429
Join Date: Jan 2006
Location: United Kingdom
07-09-2007, 05:25 PM

Quote:
Originally Posted by craigbrass View Post
Well yea, but on a server with a moderate amount of accounts it should be ok for day to day ticket answering. Ticket searches arn't done that often by the majoirty of users anyway.
I think you'll find the contrary - the search features are one of the most heavily used features of the software (either quick-search, advanced search, ticket filter search) etc.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#7) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
07-09-2007, 05:56 PM

Really? I hardly ever use search unless I need to pull up an old ticket to clarify something. I just answer the open tickets mainly.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#8) Old
alexis Offline
New Member
 
Posts: 3
Join Date: Mar 2007
10-09-2007, 02:15 PM

Thank you guys, I apreciate.

Actually, the server is far from being overloaded.
But it's shared with two online shops.
And because i don't care about customer inquieries from 6 months ago, I wanted to purge old mail. There's no point in keeping un-necessary stuff. The shops need to be as fast as possible.

I guess I'll have to do it manually from time to time.

But it could be a usefull feature in a next version of Kayako.
   
Reply With Quote
  (#9) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
10-09-2007, 02:23 PM

I totally agree a feature to say "delete all tickets with the following conditions from the database" similar to how the search conditions work.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#10) Old
sniper Offline
Member
 
Posts: 35
Join Date: Aug 2004
12-09-2007, 12:02 AM

I also vote for this, why cant we delete tickets from 6 months ago or one year ago. Why do we need to keep it? It keeps growing.
   
Reply With Quote
  (#11) Old
supportskins Online
Senior Member
 
supportskins's Avatar
 
Posts: 3,856
Join Date: Aug 2006
Location: Mumbai, India
12-09-2007, 11:10 AM

This indeed is a handy feature although I believe you can add it as an optional feature in the Admin CP which can be activated as well as de-activated.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#12) Old
tarrinho Offline
New Member
 
Posts: 4
Join Date: Apr 2007
Tickets -> Automatic purge based on ticket age - 23-10-2007, 01:05 PM

hello,

I would like to delete ticket that are 200 days old, How can I do that?

I believe it's a new feature, right?

Hugs,
Tarrinho
   
Reply With Quote
  (#13) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
23-10-2007, 01:51 PM

Wrong forum *winks*. This is for the windows application rather than the PHP Core. Jamie will move it anyway when he comes back to the forum.

It isn't currently a feature but has been requested for V4. For now, you can do it manually by preforming database queries and removing what is found. Remember to backup first just in case!


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#14) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,429
Join Date: Jan 2006
Location: United Kingdom
23-10-2007, 02:40 PM

Thread moved


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#15) Old
kteicher Offline
New Member
 
Posts: 11
Join Date: Dec 2006
30-10-2007, 09:52 PM

Do you mean searching for tickets older than a date and then deleting them? I tried this and only 50 results are returned at a time, is there a faster way?
   
Reply With Quote
Reply

Tags
>, age, automatic, based, purge, ticket, tickets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Fields Tickets -> Ticket rules based on custom fields Dalton Will Implement (V4) 10 19-08-2008 11:55 PM
Tickets -> Automatic e-mails on status or priority change kefka810 Will Implement (V4) 18 03-06-2008 08:34 AM
New Build: 3.10.02 STABLE Ryan Lederman News and Announcements 0 05-03-2007 09:53 PM
eSupport v2.2 RC1 Available in Members Area Varun Shoor Technical Chat 1 17-05-2004 02:28 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46