ASP.Net University

Microsoft Developer Evangelist Glen Gordon was on hand at last night's meeting and told us about the upcoming ASP.Net University to be held at their office over in Alpharetta.

This is a great opportunity to spend a day learning about ASP.Net directly from Microsoft. Did I mention the price? Free. Better than free, they will feed you and give away some prizes.

Check out Glen's blog for details here.

Posted on 7/11/2008 3:53:52 PM by jeffa

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: .Net | ggmug

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

What is table partitioning?

I delivered a short talk about table partitioning at the Gwinnett, Georgia, Microsoft User Group meeting last night.

Here is a link to the Power Point:    Table_Partitioning.ppt (163.00 kb)

I basically presented basic what-is-it information and summarized the tests from my last post.

Here is a text version of part of the presentation.


What is the problem?

  • Your table is like a dictionary
  • A GIANT, unalphabetized dictionary
  • To find a word, you have to search EVERY page

Add an index!

  • If you add an index, you can find the page number of the word you want, but…
  • You still have to flip through a bunch of pages to find that page

How about an Encyclopedia?

  • Split your book up into multiple books
  • Group your words alphabetically into books – One letter per book
  • Flip through the pages of only ONE book
  • Much faster!

How do you do that to a table?

  • Decide how you want to break up your table – pick a column
  • Create a set of Filegroups
  • One per partition
  • Can spread over multiple drives
  • Create a Partition Function
  • Create a Partition Scheme
  • Build table that references the Partition Scheme

Gotchas?

  • If you query without the partition column, it could actually be slower than a non-partitioned table
  • If you hit multiple partitions it can be slow
  • Threading in SQL Server 2005
  • Supposed to be better in 2008
  • Locking… very sad
  • 2005 can lock ENTIRE TABLE
  • 2008 can lock a partition

Benefits

  • Speed
  • Search fewer records to find what you want
  • Spread files over multiple drives

Maintenance

  • Work with filegroups
  • Set filegroup as read-only when no longer active
  • Back up inactive filegroups ONCE
  • Back up active filegroups daily, etc.


Posted on 7/11/2008 10:54:00 AM by jeffa

Permalink | Comments (1) | Post RSSRSS comment feed |

Categories: .Net | ggmug

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5