On most websites, content is stored in a database and served to visitors upon request. Databases are very fast, but there's lots of things that you can do to enhance its speed and make sure you won't waste any server resources. In this article, I have compiled 10 very useful tips to optimize and speed up your website database. Design your database with cautionThis first tip may seems obvious, but the fact is that most database problems come from badly-designed table structure.
For example, I have seen people storing information such as client info and payment info in the same database column. For both the database system and developers who will have to work on it, this is not a good thing.
When creating a database, always put information on various tables, use clear naming standards and make use of primary keys.
Source: http://www.simple-talk.com/sql/database-administration/ten-common-database-design-mistakes/ Know what you should optimize
The fastest query… Is the one you don’t send
Don’t select what you don’t need
(more...)Read more: Jean-Baptiste Jung
For example, I have seen people storing information such as client info and payment info in the same database column. For both the database system and developers who will have to work on it, this is not a good thing.
When creating a database, always put information on various tables, use clear naming standards and make use of primary keys.
Source: http://www.simple-talk.com/sql/database-administration/ten-common-database-design-mistakes/ Know what you should optimize
The fastest query… Is the one you don’t send
Don’t select what you don’t need
(more...)Read more: Jean-Baptiste Jung
3 comments:
Look at my page - webpage
My web page ... website
Also visit my web-site :: webpage
Post a Comment