I'm quite new to MySQL and I'm trying to understand best practices. If I'm going to create a table that contains transactions history say:
- ID
- Transaction Type
- Item
- Date
Should I add indexing to the date column
if I'm going to frequently INSERT
? The data will be used to provide users of their history by any of the other attributes.
Is there is a disadvantage to indexing and should its implementation be dependant on the size of the table?