Jump to content
Ketarin forum

Start/End captured text is always kept in database (bloat)


Tomorrow
 Share

Recommended Posts

I found that the Start/End captured text is kept in database even after user moves to use Regex or Textual.

So it just sits there doing virtually nothing and bloting the database with unnesseseary space wasting.

 

Expected behaviour would be to remove any Start/End matches after users sets up a working regex/textual variable and clicks ok to save app profile.

 

The only way to get rid of this would be to manually remove any web address from the Start/End field prior to setting up regex/textual.

 

If this behaviour is by desing then i would like a reason why and when this would be useful?

Edited by Tomorrow
Link to comment
Share on other sites

  • 2 weeks later...

I don't see any need for this behavior to be changed, the only workable implementation would be 'clear on program exit'.

 

But REALLY it is a negligible amount of data, it would only really have performance problems if you had a HUGE .db with something like 100mb worth of pointless data.

 

In the end it really doesn't do any harm, if it bugs you so much you could just export all as .xml and mass replace the 'start/end' xml tags with nothing then re-import. Writing that as a batch script wouldn't be that hard

Link to comment
Share on other sites

I don't see any need for this behavior to be changed, the only workable implementation would be 'clear on program exit'.

Initially i was under the impression that the start/end captured text was kept as a backup in case user decided to return from regex/textual but seems it's not.

if it bugs you so much you could just export all as .xml and mass replace the 'start/end' xml tags with nothing then re-import. Writing that as a batch script wouldn't be that hard

Unfortunately this is where i run into unimplemented feature that adds even more manual work for me.

Link to comment
Share on other sites

  • 3 weeks later...

Whether it's an *intended* feature or not, this has saved me quite a bit of time in the past when troubleshooting a regex pattern or on a site that requires alternate methods for different sources. I'd just as soon suffer with the "bloat" of a few extra kb of space in the jobs.db. Unless it's causing actual problems, I don't see how removing the data would help at all.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.