Which one is faster SQLite or Postgresql to insert rows ?
Test it. But realize that "inserting rows" and "inserting rows" is different. Things that may matter
- The size of the row.
- The number of indices. If there are indices, where in the tree(s) the rows are inserted.
- Are you using transactions? How many rows in a transaction?
- How big is the database? How fast are your disks? Where's your log partition?
- Is the table/are the indices "hot" or "cold" (loaded in memory, or still on disk)?
- Are there any triggers involved? Constraints? Duplicate keys? Foreign key constraints?
just to name a view.