Comments (7)
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.
@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.
I can't imagine >128 is necessary, and I'd advocate for 64. But I am not the expert!
from central-backend.
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.
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.
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.
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)
- Different port numbers for pyxform-http HOT 1
- Update dependencies for v2023.5 HOT 3
- Refactor worker/entity tests HOT 1
- Get rid of `submissionCreate` from GET entities/:uuid/audits HOT 2
- GET entities/:uuid returns 304 after resolve HOT 6
- Update API docs for 2023.5
- "Not found" Problem after request to submissions.csv.zip
- Update dependencies for v2024.1
- Frames used in migrations HOT 6
- Add system property like __id back to entity CSV attachment? HOT 1
- Benchmark bulk entity create API HOT 7
- Update API docs for v2024.1
- entities."deletedAt" has different type from other timestamp columns
- API documentation inconsistencies HOT 2
- Get off of slonik fork HOT 1
- eslint fails on playwright-tests dir
- cli offers set-password option when SSO is configured HOT 1
- cli.js output is inconsistently not JSON HOT 1
- Reap singleUse actors HOT 1
- Questions about actors with formview assignments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from central-backend.