Skip to content

Use naming series instead of autoincrement #2279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ankush opened this issue Apr 25, 2025 · 0 comments
Open

Use naming series instead of autoincrement #2279

ankush opened this issue Apr 25, 2025 · 0 comments

Comments

@ankush
Copy link
Member

ankush commented Apr 25, 2025

Int PKs have serious performance problems and there are many queries that don't consider it, some can't even be optimized even if you know about the problem.

IMO its better to migrate to a simple naming series like TICKET-#### and allow users to configure it if they want to.

ref: frappe/frappe#32287

ankush added a commit to ankush/helpdesk that referenced this issue Apr 25, 2025
Int filters are bad for perf. Ref:
frappe/frappe#32287 and frappe#2279
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant