Code Monkey home page Code Monkey logo

Comments (4)

bob7l avatar bob7l commented on July 26, 2024

Damn I've never seen such a massive database lol. I'm pretty amazed your table has been able to sustain such a beating over the years.

This is also NOT an updated HawkEye reloaded build because the data_id column should be unsigned, yet you've made it very clear yours is signed. Our max is 4,294,967,295. So using the latest build and allowing your table to regenerate would be pretty beneficial.

The best "solution" i can think of is change the 32bit integer to a 64bit allowing a wider range. That'd mean you'd max at 18,446,744,073,709,551,615, which would be INCREDIBLY difficult to hit. Or you could just begin resetting your database every X months.

from hawkreloaded.

OxyMethylene avatar OxyMethylene commented on July 26, 2024

Well, the ID is reset now, so I'll leave it like this for now.

FTB Infinity is updating to 1.10, we're just waiting on a few mods/plugins to make the switch. So I think the Infinity 1.7.10 will either die out or calm down a lot. So I doubt we'll have the same issue again.

For the new server however, I guess i'll go to a 64bit integer, just to be safe.

Thanks for the reply :)

from hawkreloaded.

RoboMWM avatar RoboMWM commented on July 26, 2024

Yea, I don't intend on purging old logs once I get cozy with a block logger, would prefer an option (unless it exists already) to use something like a 64-bit integer or similar

from hawkreloaded.

bob7l avatar bob7l commented on July 26, 2024

4,294,967,295 is an absolutely MASSIVE amount of rows and I've never heard of anyone being able to increment the number that high. The only reason Oxy was able to do it is because he's using an outdated table scheme.

If more people run into this problem, I'll happily convert our fields to 64bit.

from hawkreloaded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.