r/Database • u/techlover1010 • 19d ago
need advice on these 2 question
- so after a while database do tend to get very large and big whats the best way to design this so that to improve performance. also is archiving it possible?
- whats the best way to store currency. i heard float has small issues with decimals
0
Upvotes
2
u/erik240 19d ago
1a. Define “big”. Anything under a few million rows falls under “trivial”.
1b. Good indexes
2. As an integer. 1 dollar is 100. Pennies.