question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tell us your idea!

While working on the code, I noticed that we have many unsused columns in our DB. Removing them might improve the performance.

See all added comments in https://github.com/cgeo/cgeo/commit/ff78a2333778a097abd6774cbf680ba70168f8e3

What solution would you suggest?

I would suggest to remove them.

Is there an alternative?

Do nothing.

Additional Information

Issue came up while working on remove reliableLatLon flag in Geocache model (PR #11427)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
okainovcommented, Aug 10, 2021

compatibility at least for versions published during the last 12 months

This will unfortunately not work. We cannot remove columns while remaining backwards compatibility. We need to decide.

What do you mean? I think you can keep backward compatibility in the last 12 months and break it for older versions, that’s how I read @moving-bits 's proposal.

Like this: 2016 - Column was added 2017-2018 column was used 2019 - column got deprecated/not used any more. Cleanup the usages so it’s really not used. 2020 - keep it for the sake of compatibility 2021 - remove it completely.

0reactions
fm-syscommented, Oct 14, 2021

Same idea is also mentioned in #651

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Clean Bad Data and Duplicates in Your CRM
Gather everything you need to know about conducting an effective and safe database cleanup.
Read more >
How to Clean Up Your WordPress Database for Improved ...
First thing you need to do is install and activate the WP-Sweep plugin. Upon activation, simply go to Tools » Sweep to clean...
Read more >
How to Clean your WordPress Database and old plugin tables
1. Backup your database in case something goes wrong. You can use UpdraftPlus or any free backup plugin to do this. 2. Install...
Read more >
Database Cleanup utility - HCL Product Documentation
The Database Cleanup utility deletes records in child tables that are based on the delete rule of the referential integrity definition in the...
Read more >
DB Cleanup | OutSystems
I want to cleanup the database space for our environment. We tried using the option from Service Center to older versions, it shows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found