Giter Site home page Giter Site logo

Comments (7)

matthew-white avatar matthew-white commented on June 13, 2024 1

It doesn't sound like any of us have super strong opinions, so I'd advocate for what @lognaturel suggests: let's change the column to 64 characters then see if we run into any trouble. Given @lognaturel's experience, it sounds like we should be safe with 64 characters.

from central-backend.

matthew-white avatar matthew-white commented on June 13, 2024

@lognaturel, what do you think an appropriate maximum length for form ID would be? Right now it's 255 characters, but we could extend that (or remove the limit altogether) or alternatively reduce it if it's unnecessarily long.

from central-backend.

issa-tseng avatar issa-tseng commented on June 13, 2024

I can't imagine >128 is necessary, and I'd advocate for 64. But I am not the expert!

from central-backend.

lognaturel avatar lognaturel commented on June 13, 2024

While @clint-tseng is probably right, the safest would be to match current Aggregate which I believe caps at 250. I'd go for 255. Again, this is not because I expect it commonly gets very long but because there are probably already forms out there with really long IDs.

from central-backend.

lognaturel avatar lognaturel commented on June 13, 2024

Are there any downsides to it being long? Even if it were an index I don't think the performance hit would be significant and I imagine indexes will be synthetic?

from central-backend.

issa-tseng avatar issa-tseng commented on June 13, 2024

The record length on-disk is directly impacted by varchar length, which in turn has cascading effects on backup WAL log size.

from central-backend.

lognaturel avatar lognaturel commented on June 13, 2024

Is that really a big issue?

Honestly I've never seen an ID more than 32 characters or so. Another approach we could take is to start with 64 because we can't really imagine a form id longer than that which would be meaningful and we can ask for feedback once we have a beta out.

I hardly qualify as an expect...

from central-backend.

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.