• Skip to main content
  • Skip to primary sidebar

DBA Diaries

Thoughts and experiences of a DBA working with SQL Server and MySQL

Will solid state hard drives negate the need to performance tune your database server?

February 25, 2012 by Andy Hayes 4 Comments

Dodo Bird

Solid state hard drives or SSD's as they are also known are the latest generation of hard disk storage. They are far superior to traditional hard disk drives because of the absence of moving parts and so are blisteringly faster in comparison. Due to the architecture of the platter based hard disk, it is much slower than other parts of the server and can typically be the … [Read more...] about Will solid state hard drives negate the need to performance tune your database server?

10 simple tips on improving query and server performance

February 18, 2012 by Andy Hayes 3 Comments

Ferrari 458 Italia

The following tips do not promise that your database server will magically become blisteringly fast and go like a Ferrari but they are important things to bear in mind and relatively simple to implement either when building your database or if you have an existing performance problem and are looking for ways in which to make your database run faster. 1/ SELECT * FROM The rest … [Read more...] about 10 simple tips on improving query and server performance

New T-SQL features in SQL Server 2012 – CREATE SEQUENCE

February 9, 2012 by Andy Hayes Leave a Comment

create sequence

Continuing on from new T-SQL features of SQL Server 2012, I wanted to explain about the new CREATE SEQUENCE feature. What is CREATE SEQUENCE for? A common feature in table design is to place an auto incrementing number on a field in the form of an IDENTITY column. So this is an easy way of maintaining a sequential number on a table. What if you wanted to create a database … [Read more...] about New T-SQL features in SQL Server 2012 – CREATE SEQUENCE

New T-SQL features in SQL Server 2012 – Conversion Functions

February 5, 2012 by Andy Hayes Leave a Comment

SQL Server 2012 ("Denali") is nearly here and with all new releases, there are always new features to know about. I am very interested to find out more about the product and my next few posts will talk about some of the new T-SQL features of SQL Server 2012. This first post will cover the new conversion functions in SQL Server 2012. I am using the latest download from … [Read more...] about New T-SQL features in SQL Server 2012 – Conversion Functions

What are the differences between primary keys and unique indexes in SQL Server ?

January 7, 2012 by Andy Hayes Leave a Comment

differences between primary keys and unique indexes

I was recently asked, what are the differences between primary keys and unique indexes? Well, they are very similar but here are the differences. Only one primary key is allowed on a table but multiple unique indexes can be added up to the maximum allowed number of indexes for the table (SQL Server = 250 (1 x clustered, 249 x non clustered) and SQL 2008 and SQL 2012 = 1000 … [Read more...] about What are the differences between primary keys and unique indexes in SQL Server ?

« Previous Page
Next Page »

Primary Sidebar

Categories

  • All Articles (84)
  • Career Development (8)
  • MySQL Administration (18)
  • MySQL Performance (2)
  • SQL Server Administration (24)
  • SQL Server News (3)
  • SQL Server Performance (14)
  • SQL Server Security (3)
  • SQL Tips and Tricks (21)

Top 10 Popular Posts

  • Using sp_change_users_login to fix SQL Server orphaned users
  • MySQL SHOW USERS? – How to List All MySQL Users and Privileges
  • How to shrink tempdb
  • How to Transfer Logins to Another SQL Server or Instance
  • How to Delete Millions of Rows using T-SQL with Reduced Impact
  • T-SQL – How to Select Top N Rows for Each Group Using ROW_NUMBER()
  • New T-SQL features in SQL Server 2012 – OFFSET and FETCH
  • How to Kill All MySQL Processes For a Specific User
  • Using exec sp_who2 to help with SQL Server troubleshooting
  • How to fix “conversion failed when converting date and/or time from character string”

Recent Posts

  • How to fix “conversion failed when converting date and/or time from character string”
  • Using SQL GROUPING SETS for Multiple GROUP BY Queries in a Single Query
  • How to Setup MySQL Master Master Replication
  • How To Use SQL to Convert a STRING to an INT
  • How to set up MySQL Replication Tutorial

Search

Connect

  • Twitter
  • Facebook
  • RSS

About

  • Cookie Policy
  • Disclaimer
  • About
Copyright ©