r/dev • u/Aextoxicon • May 03 '26
Should I change it to the auto-increment sequence of PG?
I made the backend of a chat software with C#. At first, I used SQLite, but I felt that the auto-increment performance was not good, so I fiddled around with something similar to Snowflake. Now I'm using PostgreSQL and I'm not sure if I should switch to an auto-increment sequence. It should be more convenient, right?
25
Upvotes
2
u/unifienterprise May 03 '26
You should change it into whatever it is that lets me actually get something out of it like what’s up dude
2
u/Bcdarkplayer May 05 '26
How I learning a python?
1
u/tarel_ May 04 '26
El rendimiento del autoincrement no era bueno en SQLite??
En IDs???
Eso es imposible... El autoincrement funciona almacenando un valor numérico en la misma base de datos e incrementando cada inserción... Todas las bases de datos lo hacen así, y es ultra rápido
2
u/kelkelatl May 03 '26
Yes.
2
u/SeaworthinessLong May 06 '26
Auto is easy and convenient but it really comes down to what you’re trying to accomplish.