That can of course happen yes. But don't spend all of your time on that now. Most likely it will take a looong time before it happens and most likely you can solve some of it with proper indexes, or a small server upgrade
Jan 7, 2023
7
Level 50
Database Records
i was wondering about having a bigmount of data for example in a market database, everyday the system records become bigger and bigger, so my question is is it will causes problem in feature ? for example make the system slower than before or what will happen ? :)
Level 73
@shadkamel Like @sinnbeck, you needn't worry about that just yet, make the app work first then when you are rolling hire a database person.
Start at one.
- Have a good database model
- Have the proper indexes (not too many, not too few), use explain to find out which columns should have them
- Clean out old data, either delete it or move to one or more archive tables.
- Use views where proper to decrease the amount of data read.
- Read only what you need.
- Paginate from the database.
- Never filter or sort in php, let the database handle all that.
- Partition your tables.
- Get more ram and CPU for your database host.
- Move to clustered databases.
2 likes
Please or to participate in this conversation.