Home » Archive
23 Feb 2012 | Gidget Pryor | No Comments | 445 views | Categories: Microsoft, SQL Server, Technology
Disadvantages of Indexing in SQL Server

Optimal performance in SQL Server OLTP (Online Transaction Processing) systems is achieved by creating balance between insert, update, delete, and select. Which is most important — adding data to the database, or retrieving it back in a report or application? The answer is yes! The very reason we save data is so that we can retrieve it. We also need to modify the data and delete non-relevant data.

In a previous blog post, I discussed the value of indexing. The real value is to help us retrieve data quickly. No one likes to wait for data from the database. We want instant answers and indexes are the best way to facilitate that.

Well then, why not create a lot of them? Why not create an index to match the way we search or sort in each query? The answer is the negative impact on the server when we modify data.

9 Feb 2012 | Gidget Pryor | One Comment | 412 views | Categories: Microsoft, SQL Server, Technology
The Upside of Indexing — Improving our Queries

Here’s the secret — the most important thing to know about SQL Server (in my opinion) is indexing. In transaction processing systems (also known as OLTP databases), database activity involves several statements. These include insert, update, delete, and select. There is a competing need between the modification statements (insert, update, and delete) and reading the data (select). Since the database has both — what should we do?

15 Nov 2011 | Gidget Pryor | No Comments | 864 views | Categories: Microsoft, SQL Server, Technology
5 Tips for Better Performing T-SQL

I love it when I can make simple fixes in the database that yield great results. Here are a few T-SQL tips that gave me great gain over the years. You have two goals with any database — storage and retrieval. Optimize both with these tips.

13 Oct 2011 | Gidget Pryor | 2 Comments | 306 views | Categories: Microsoft, SQL Server, Technology
SQL Server from One Version to the Next

I love being organized mostly because it’s the only way I can function effectively. As a Microsoft instructor and database consultant, it truly is interesting to see all the new features from one release to the next. However, I find it extremely challenging to remember which version introduced each feature as I work with clients.

However, I also find it extremely challenging to remember which version introduced each feature as I work with clients. Database Administrators and Developers are tasked with making applications and upgrades work efficiently, and they must be able to integrate applications across versions. This matters because most companies cannot suddenly upgrade all of their servers and applications at once, so there is this type of mish-mash blend of versions.

19 Sep 2011 | Gidget Pryor | No Comments | 554 views | Categories: Microsoft, SQL Server, Technology
T-SQL Basics: Anatomy of the Select Statement

Relational databases are important not only because of the information they store but, more importantly, for the data we retrieve from them. The select statement allows us to ask the database a question. It’s the way we retrieve information from the database system.