- Design your Database schema in according to user requirement. Optimize your schema for most frequent use case.
- Combine objects into one documents if you will use them together, otherwise separate them.
- Duplicate the data because disk space is cheaper than computing time.
- Basically avoid joins however do while writing, not during reads.
- Don't insert mixed data-type values into one common fields, it can degrade performance.
- Do complex aggregation in schema.
- Do Capped Collection for fast writing on collection.
- Use Natural/default Order to read collection.
- Create index in Background . (offline).
- Avoid not in and not equal to operation . $ne and $nin.
MySQL was created by a Swedish company, MySQL AB, founded by David Axmark, Allan Larsson and Michael "Monty" Widenius. Original development of MySQL by Widenius and Axmark began in 1994. The first version of MySQL appeared on 23 May 1995. Its name is a combination of "My", the name of co-founder Michael Widenius's daughter,and "SQL", the abbreviation for Structured Query Language. · 23 May 1995 - First internal release · Year 1996 - Version 3 o Simple CRUD operations o January 1997 Windows version was released on 8 January 1998 for Windows 95 and NT o production release 1998, from www.mysql.com · Year 2002 - Version 4 o MyISAM o unions o Tracking o B-trees o s...
Comments
Post a Comment
Plz dont forget to like Facebook Page..
https://www.facebook.com/pages/Sql-DBAcoin/523110684456757