- SQL Server Reference Guide
- Introduction
- SQL Server Reference Guide Overview
- Table of Contents
- Microsoft SQL Server Defined
- SQL Server Editions
- SQL Server Access
- Informit Articles and Sample Chapters
- Online Resources
- Microsoft SQL Server Features
- SQL Server Books Online
- Clustering Services
- Data Transformation Services (DTS) Overview
- Replication Services
- Database Mirroring
- Natural Language Processing (NLP)
- Analysis Services
- Microsot SQL Server Reporting Services
- XML Overview
- Notification Services for the DBA
- Full-Text Search
- SQL Server 2005 - Service Broker
- Using SQL Server as a Web Service
- SQL Server Encryption Options Overview
- SQL Server 2008 Overview
- SQL Server 2008 R2 Overview
- SQL Azure
- The Utility Control Point and Data Application Component, Part 1
- The Utility Control Point and Data Application Component, Part 2
- Microsoft SQL Server Administration
- The DBA Survival Guide: The 10 Minute SQL Server Overview
- Preparing (or Tuning) a Windows System for SQL Server, Part 1
- Preparing (or Tuning) a Windows System for SQL Server, Part 2
- Installing SQL Server
- Upgrading SQL Server
- SQL Server 2000 Management Tools
- SQL Server 2005 Management Tools
- SQL Server 2008 Management Tools
- SQL Azure Tools
- Automating Tasks with SQL Server Agent
- Run Operating System Commands in SQL Agent using PowerShell
- Automating Tasks Without SQL Server Agent
- Storage – SQL Server I/O
- Service Packs, Hotfixes and Cumulative Upgrades
- Tracking SQL Server Information with Error and Event Logs
- Change Management
- SQL Server Metadata, Part One
- SQL Server Meta-Data, Part Two
- Monitoring - SQL Server 2005 Dynamic Views and Functions
- Monitoring - Performance Monitor
- Unattended Performance Monitoring for SQL Server
- Monitoring - User-Defined Performance Counters
- Monitoring: SQL Server Activity Monitor
- SQL Server Instances
- DBCC Commands
- SQL Server and Mail
- Database Maintenance Checklist
- The Maintenance Wizard: SQL Server 2000 and Earlier
- The Maintenance Wizard: SQL Server 2005 (SP2) and Later
- The Web Assistant Wizard
- Creating Web Pages from SQL Server
- SQL Server Security
- Securing the SQL Server Platform, Part 1
- Securing the SQL Server Platform, Part 2
- SQL Server Security: Users and other Principals
- SQL Server Security – Roles
- SQL Server Security: Objects (Securables)
- Security: Using the Command Line
- SQL Server Security - Encrypting Connections
- SQL Server Security: Encrypting Data
- SQL Server Security Audit
- High Availability - SQL Server Clustering
- SQL Server Configuration, Part 1
- SQL Server Configuration, Part 2
- Database Configuration Options
- 32- vs 64-bit Computing for SQL Server
- SQL Server and Memory
- Performance Tuning: Introduction to Indexes
- Statistical Indexes
- Backup and Recovery
- Backup and Recovery Examples, Part One
- Backup and Recovery Examples, Part Two: Transferring Databases to Another System (Even Without Backups)
- SQL Profiler - Reverse Engineering An Application
- SQL Trace
- SQL Server Alerts
- Files and Filegroups
- Partitioning
- Full-Text Indexes
- Read-Only Data
- SQL Server Locks
- Monitoring Locking and Deadlocking
- Controlling Locks in SQL Server
- SQL Server Policy-Based Management, Part One
- SQL Server Policy-Based Management, Part Two
- SQL Server Policy-Based Management, Part Three
- Microsoft SQL Server Programming
- An Outline for Development
- Database
- Database Services
- Database Objects: Databases
- Database Objects: Tables
- Database Objects: Table Relationships
- Database Objects: Keys
- Database Objects: Constraints
- Database Objects: Data Types
- Database Objects: Views
- Database Objects: Stored Procedures
- Database Objects: Indexes
- Database Objects: User Defined Functions
- Database Objects: Triggers
- Database Design: Requirements, Entities, and Attributes
- Business Process Model Notation (BPMN) and the Data Professional
- Business Questions for Database Design, Part One
- Business Questions for Database Design, Part Two
- Database Design: Finalizing Requirements and Defining Relationships
- Database Design: Creating an Entity Relationship Diagram
- Database Design: The Logical ERD
- Database Design: Adjusting The Model
- Database Design: Normalizing the Model
- Creating The Physical Model
- Database Design: Changing Attributes to Columns
- Database Design: Creating The Physical Database
- Database Design Example: Curriculum Vitae
- NULLs
- The SQL Server Sample Databases
- The SQL Server Sample Databases: pubs
- The SQL Server Sample Databases: NorthWind
- The SQL Server Sample Databases: AdventureWorks
- The SQL Server Sample Databases: Adventureworks Derivatives
- UniversalDB: The Demo and Testing Database, Part 1
- UniversalDB: The Demo and Testing Database, Part 2
- UniversalDB: The Demo and Testing Database, Part 3
- UniversalDB: The Demo and Testing Database, Part 4
- Getting Started with Transact-SQL
- Transact-SQL: Data Definition Language (DDL) Basics
- Transact-SQL: Limiting Results
- Transact-SQL: More Operators
- Transact-SQL: Ordering and Aggregating Data
- Transact-SQL: Subqueries
- Transact-SQL: Joins
- Transact-SQL: Complex Joins - Building a View with Multiple JOINs
- Transact-SQL: Inserts, Updates, and Deletes
- An Introduction to the CLR in SQL Server 2005
- Design Elements Part 1: Programming Flow Overview, Code Format and Commenting your Code
- Design Elements Part 2: Controlling SQL's Scope
- Design Elements Part 3: Error Handling
- Design Elements Part 4: Variables
- Design Elements Part 5: Where Does The Code Live?
- Design Elements Part 6: Math Operators and Functions
- Design Elements Part 7: Statistical Functions
- Design Elements Part 8: Summarization Statistical Algorithms
- Design Elements Part 9:Representing Data with Statistical Algorithms
- Design Elements Part 10: Interpreting the Data—Regression
- Design Elements Part 11: String Manipulation
- Design Elements Part 12: Loops
- Design Elements Part 13: Recursion
- Design Elements Part 14: Arrays
- Design Elements Part 15: Event-Driven Programming Vs. Scheduled Processes
- Design Elements Part 16: Event-Driven Programming
- Design Elements Part 17: Program Flow
- Forming Queries Part 1: Design
- Forming Queries Part 2: Query Basics
- Forming Queries Part 3: Query Optimization
- Forming Queries Part 4: SET Options
- Forming Queries Part 5: Table Optimization Hints
- Using SQL Server Templates
- Transact-SQL Unit Testing
- Index Tuning Wizard
- Unicode and SQL Server
- SQL Server Development Tools
- The SQL Server Transact-SQL Debugger
- The Transact-SQL Debugger, Part 2
- Basic Troubleshooting for Transact-SQL Code
- An Introduction to Spatial Data in SQL Server 2008
- Performance Tuning
- Performance Tuning SQL Server: Tools and Processes
- Performance Tuning SQL Server: Tools Overview
- Creating a Performance Tuning Audit - Defining Components
- Creating a Performance Tuning Audit - Evaluation Part One
- Creating a Performance Tuning Audit - Evaluation Part Two
- Creating a Performance Tuning Audit - Interpretation
- Creating a Performance Tuning Audit - Developing an Action Plan
- Understanding SQL Server Query Plans
- Performance Tuning: Implementing Indexes
- Performance Monitoring Tools: Windows 2008 (and Higher) Server Utilities, Part 1
- Performance Monitoring Tools: Windows 2008 (and Higher) Server Utilities, Part 2
- Performance Monitoring Tools: Windows System Monitor
- Performance Monitoring Tools: Logging with System Monitor
- Performance Monitoring Tools: User Defined Counters
- General Transact-SQL (T-SQL) Performance Tuning, Part 1
- General Transact-SQL (T-SQL) Performance Tuning, Part 2
- General Transact-SQL (T-SQL) Performance Tuning, Part 3
- Performance Monitoring Tools: An Introduction to SQL Profiler
- Performance Tuning: Introduction to Indexes
- Performance Monitoring Tools: SQL Server 2000 Index Tuning Wizard
- Performance Monitoring Tools: SQL Server 2005 Database Tuning Advisor
- Performance Monitoring Tools: SQL Server Management Studio Reports
- Performance Monitoring Tools: SQL Server 2008 Activity Monitor
- The SQL Server 2008 Management Data Warehouse and Data Collector
- Performance Monitoring Tools: Evaluating Wait States with PowerShell and Excel
- Practical Applications
- Choosing the Back End
- The DBA's Toolbox, Part 1
- The DBA's Toolbox, Part 2
- Scripting Solutions for SQL Server
- Building a SQL Server Lab
- Using Graphics Files with SQL Server
- Enterprise Resource Planning
- Customer Relationship Management (CRM)
- Building a Reporting Data Server
- Building a Database Documenter, Part 1
- Building a Database Documenter, Part 2
- Data Management Objects
- Data Management Objects: The Server Object
- Data Management Objects: Server Object Methods
- Data Management Objects: Collections and the Database Object
- Data Management Objects: Database Information
- Data Management Objects: Database Control
- Data Management Objects: Database Maintenance
- Data Management Objects: Logging the Process
- Data Management Objects: Running SQL Statements
- Data Management Objects: Multiple Row Returns
- Data Management Objects: Other Database Objects
- Data Management Objects: Security
- Data Management Objects: Scripting
- Powershell and SQL Server - Overview
- PowerShell and SQL Server - Objects and Providers
- Powershell and SQL Server - A Script Framework
- Powershell and SQL Server - Logging the Process
- Powershell and SQL Server - Reading a Control File
- Powershell and SQL Server - SQL Server Access
- Powershell and SQL Server - Web Pages from a SQL Query
- Powershell and SQL Server - Scrubbing the Event Logs
- SQL Server 2008 PowerShell Provider
- SQL Server I/O: Importing and Exporting Data
- SQL Server I/O: XML in Database Terms
- SQL Server I/O: Creating XML Output
- SQL Server I/O: Reading XML Documents
- SQL Server I/O: Using XML Control Mechanisms
- SQL Server I/O: Creating Hierarchies
- SQL Server I/O: Using HTTP with SQL Server XML
- SQL Server I/O: Using HTTP with SQL Server XML Templates
- SQL Server I/O: Remote Queries
- SQL Server I/O: Working with Text Files
- Using Microsoft SQL Server on Handheld Devices
- Front-Ends 101: Microsoft Access
- Comparing Two SQL Server Databases
- English Query - Part 1
- English Query - Part 2
- English Query - Part 3
- English Query - Part 4
- English Query - Part 5
- RSS Feeds from SQL Server
- Using SQL Server Agent to Monitor Backups
- Reporting Services - Creating a Maintenance Report
- SQL Server Chargeback Strategies, Part 1
- SQL Server Chargeback Strategies, Part 2
- SQL Server Replication Example
- Creating a Master Agent and Alert Server
- The SQL Server Central Management System: Definition
- The SQL Server Central Management System: Base Tables
- The SQL Server Central Management System: Execution of Server Information (Part 1)
- The SQL Server Central Management System: Execution of Server Information (Part 2)
- The SQL Server Central Management System: Collecting Performance Metrics
- The SQL Server Central Management System: Centralizing Agent Jobs, Events and Scripts
- The SQL Server Central Management System: Reporting the Data and Project Summary
- Time Tracking for SQL Server Operations
- Migrating Departmental Data Stores to SQL Server
- Migrating Departmental Data Stores to SQL Server: Model the System
- Migrating Departmental Data Stores to SQL Server: Model the System, Continued
- Migrating Departmental Data Stores to SQL Server: Decide on the Destination
- Migrating Departmental Data Stores to SQL Server: Design the ETL
- Migrating Departmental Data Stores to SQL Server: Design the ETL, Continued
- Migrating Departmental Data Stores to SQL Server: Attach the Front End, Test, and Monitor
- Tracking SQL Server Timed Events, Part 1
- Tracking SQL Server Timed Events, Part 2
- Patterns and Practices for the Data Professional
- Managing Vendor Databases
- Consolidation Options
- Connecting to a SQL Azure Database from Microsoft Access
- SharePoint 2007 and SQL Server, Part One
- SharePoint 2007 and SQL Server, Part Two
- SharePoint 2007 and SQL Server, Part Three
- Querying Multiple Data Sources from a Single Location (Distributed Queries)
- Importing and Exporting Data for SQL Azure
- Working on Distributed Teams
- Professional Development
- Becoming a DBA
- Certification
- DBA Levels
- Becoming a Data Professional
- SQL Server Professional Development Plan, Part 1
- SQL Server Professional Development Plan, Part 2
- SQL Server Professional Development Plan, Part 3
- Evaluating Technical Options
- System Sizing
- Creating a Disaster Recovery Plan
- Anatomy of a Disaster (Response Plan)
- Database Troubleshooting
- Conducting an Effective Code Review
- Developing an Exit Strategy
- Data Retention Strategy
- Keeping Your DBA/Developer Job in Troubled Times
- The SQL Server Runbook
- Creating and Maintaining a SQL Server Configuration History, Part 1
- Creating and Maintaining a SQL Server Configuration History, Part 2
- Creating an Application Profile, Part 1
- Creating an Application Profile, Part 2
- How to Attend a Technical Conference
- Tips for Maximizing Your IT Budget This Year
- The Importance of Blue-Sky Planning
- Application Architecture Assessments
- Transact-SQL Code Reviews, Part One
- Transact-SQL Code Reviews, Part Two
- Cloud Computing (Distributed Computing) Paradigms
- NoSQL for the SQL Server Professional, Part One
- NoSQL for the SQL Server Professional, Part Two
- Object-Role Modeling (ORM) for the Database Professional
- Business Intelligence
- BI Explained
- Developing a Data Dictionary
- BI Security
- Gathering BI Requirements
- Source System Extracts and Transforms
- ETL Mechanisms
- Business Intelligence Landscapes
- Business Intelligence Layouts and the Build or Buy Decision
- A Single Version of the Truth
- The Operational Data Store (ODS)
- Data Marts – Combining and Transforming Data
- Designing Data Elements
- The Enterprise Data Warehouse — Aggregations and the Star Schema
- On-Line Analytical Processing (OLAP)
- Data Mining
- Key Performance Indicators
- BI Presentation - Client Tools
- BI Presentation - Portals
- Implementing ETL - Introduction to SQL Server 2005 Integration Services
- Building a Business Intelligence Solution, Part 1
- Building a Business Intelligence Solution, Part 2
- Building a Business Intelligence Solution, Part 3
- Tips and Troubleshooting
- SQL Server and Microsoft Excel Integration
- Tips for the SQL Server Tools: SQL Server 2000
- Tips for the SQL Server Tools – SQL Server 2005
- Transaction Log Troubles
- SQL Server Connection Problems
- Orphaned Database Users
- Additional Resources
- Tools and Downloads
- Utilities (Free)
- Tool Review (Free): DBDesignerFork
- Aqua Data Studio
- Microsoft SQL Server Best Practices Analyzer
- Utilities (Cost)
- Quest Software's TOAD for SQL Server
- Quest Software's Spotlight on SQL Server
- SQL Server on Microsoft's Virtual PC
- Red Gate SQL Bundle
- Microsoft's Visio for Database Folks
- Quest Capacity Manager
- SQL Server Help
- Visual Studio Team Edition for Database Professionals
- Microsoft Assessment and Planning Solution Accelerator
- Aggregating Server Data from the MAPS Tool
You might think that as the SQL Server Guide host I would always recommend that SQL Server be used in every development situation. But there’s an old saying: "When all you have is a hammer, everything looks like a nail." Perhaps you’ve run into consultants who find that whatever problem you have, the solution is the same (theirs). That usually comes from being familiar with only a few products.
I’ve found, however, that each situation is unique. After close evaluation, solutions are normally dictated by several factors, some of them "weighing" more than others. I’ll cover a few of those factors in this article, to help you understand when to pick SQL Server as the back-end architecture. In fact, you may not need a Relational Database Management System (RDBMS) at all — you might be able to relax the requirements you have enough to use all kinds of storage for your applications. An RDBMS isn’t suited for every situation.
All that being said, I’m still a big SQL Server fan. I’ve found it to be a capable, relatively inexpensive solution for many business needs. The development team at Microsoft seems willing to listen to its customer base, and the product has a great balance between feature-set and complexity. I have recommended it for many companies and continue to do so. With newer offerings like SQL Azure (Cloud Database), I think Microsoft continues to innovate in the data storage and retrieval area.
Of course, the application you’re using might require a particular RDBMS engine. Even if that’s the case, it’s still best to understand the strengths and weaknesses of each database platform.
Let’s take a look at some of the popular alternatives to the Microsoft enterprise offering. This list is by no means exhaustive, but it does cover the ones I’ve personally seen in use recently.
I update this tutorial frequently so that it is as current as possible. Even so, each vendor changes things with new releases, patches, updates and modifications throughout the year. This isn't intended as a complete marketing comparison, only my own experiences with these products. Also, as technology evolves, new paradigms for storing and retrieving data (like NoSQL variants and Programmatic Databases) come into play. I’ll talk briefly about those here, but keep in mind the information may be dated.
Direct Competitors in Commercial RDBMS Databases
There are several commercial databases that compete with SQL Server, and more coming online all the time. The list I have here is in no particular order, and you may have others you might see in use. Again, not an exhaustive list — just my personal experience.
Oracle
http://www.oracle.com/us/products/database/index.htm
Oracle is one of the oldest relational database platforms still in use. It runs on almost anything, anywhere, has amazing levels of performance and features, and Oracle is the second largest software company in the world. In short, it defines the genre.
With so many features and advantages, why not run Oracle as the back-end of your application? It’s a valid question, and one that you should ask during your product evaluations. The answer, in the cases where I’ve recommended it, is usually in two parts — cost and ease of administration and development.
Oracle has a fairly complex licensing scheme, and can quickly become very expensive. There are times when you can actually beat SQL Server on price with Oracle, but not very often.
Oracle is necessarily more complex than SQL Server, because it runs on so many platforms, scales differently and has more parts. That’s not a bad thing; it’s just part of the package. You should make sure you keep these things in mind when you’re making your choice.
Sybase
http://www.sybase.com/products/databasemanagement
I won’t say a lot about Sybase features and structures, since it’s very similar to SQL Server. In fact, up until SQL Server version 7, the engine in SQL Server was essentially the engine from Sybase. The two systems diverged at that point and have been leapfrogging each other in performance and features ever since. A Sybase developer would have little trouble in programming in SQL Server, and visa-versa. For a time Sybase seemed to be decreasing in the offices I’ve consulted with, but as of late it has started to make a comeback.
Sybase has one distinct advantage over SQL Server: It runs on more platforms. On the other hand, it can also be more costly than SQL Server, at least as of this writing.
There are several editions of their RDBMS platform and also other products from Sybase available.
IBM’s DB2
http://www-306.ibm.com/software/data/db2/
IBM’s DB2, lately dubbed DB2 Universal database, is actually a collection of products used to manage a data system. It has a unique way of implementing database constructs as objects, and as of this writing holds the TPC crown for speed. It runs on many platforms from Windows to various UNIX flavors, and of course on mainframes.
IBM’s DB2 is quite capable, and has an immense installed base on many mainframes. IBM has recently begun a foray into the desktop (and smaller) arena, and time will tell if they are successful.
DB2’s major disadvantage is in its lack of departmental popularity. There just aren’t that many people outside of an IBM world (which itself is pretty large) that are familiar with its administration and development. Another drawback is that DB2 can also be fairly expensive, depending on the situation.
There are, of course, several other products (such as Firebird, Ingres, Informix and more), not to mention flat-files (popular in several mainframe systems) or custom-developed solutions. My suggestion, if you’re interested in learning more about other options, is to check the various vendor’s Web sites to see what they tout as their main strengths. Then lurk on several newsgroups for that product and determine what the main difficulties DBAs are having with it. If the "strength" is the main difficulty, then caveat emptor.
Open-Source RDBMS Platforms
You don’t have to pay for a commercial license to have a very capable RDBMS. That isn’t to say Open Source = Free — it doesn’t. Open-Source merely means (generally) that the company will deliver the source code for the product along with the compiled binaries — something commercial software doesn’t often do. You may in fact still pay for an Open Source RDBMS, but in large part many of them don’t cost anything to install.
MySQL
MySQL was arguably (and possibly still is) one of the most widely distributed RDBMSs out there. I say “was” because they sold themselves to Oracle, and many in the Open Source community viewed this as a betrayal. Since then, the product is still offered, but has been forked a few times and in the investigations I’ve seen is dropping off in popularity.
Still offered, however, are two variants: a standard database engine, and the other is called MySQL Enterprise. If you tried MySQL early on, you might not have considered it ready for enterprise applications. You may want to re-evaluate the product, since it now supports transactions, multiple filegroups, full-text indexing, and more. Another advantage is that it runs on multiple platforms, including Microsoft Windows and Linux. One of the most interesting features of MySQL is the fact that it can use multiple database engines, such as MyISAM, Heap, InnoDB, and Berkeley DB. You can even select an engine per table. If planned properly, this flexibility can vastly increase an application's speed. It’s quite fast for standard SELECT statements, and well suited for many Web-based applications.
MySQL has come a long way, adding replication, indexed views, stored procedures, cursors, foreign keys arrays, and views. Many large companies, including Apple and Google, use MySQL in some of their public websites.
While the smaller version of MySQL is very capable, it doesn't recover as quickly or as easily as do Oracle and SQL Server (MyISAM requires clean shutdowns). You’ll also need to choose the InnoDB or Berkeley DB for heavy UPDATE operations, and both of these have some recent licensing considerations.
MySQL isn’t free — not totally, anyway. If you’re developing open-source solutions, you don’t have to pay for the license. If you’re developing a commercial product and aren’t going to abide by the open-source licensing model yourself, you will need to buy a license. Even so, MySQL is significantly cheaper than most other database engines.
PostgreSQL
PostgreSQL is also open-source, but has been around for quite a bit longer than MySQL. As such, it has even more documentation and case studies available, and has evolved a richer feature set. It boasts a very wide set of data types, has hooks into just about any programming language on earth (and ODBC for the few not available), and runs on everything from Apple Macintosh to Intel to big-iron mainframes, although the Windows version is a bit of a hack. PostgreSQL supports really huge databases, has support for large memory types, and can handle API calls. It also has a Geospatial offering, which some other systems lack.
PostgreSQL implements standard ISO joins, views, indexes, triggers, stored procedures and more. In short, it definitely conforms to the standard notions of what an enterprise database platform should do.
It’s sometimes difficult to find talent in the PostgreSQL dialects, from administration to development. To be sure, several administrators and developers are familiar with it, just not quite as many as for an Oracle or SQL Server environment.
Small, Single Use Databases
You might not need a full RDBMS database, even a free one like SQL Server Express, on a local system. If you’re developing something for a family member and you need to bring it up quickly, there are alternatives.
Microsoft Access
http://office.microsoft.com/en-us/access/default.aspx
It might be a little strange to some to find Microsoft Access as a competitor to SQL Server, but in fact sometimes it is. Microsoft Access is a complete database, development and reporting environment which is highly integrated into the Microsoft Office suite of programs. It uses the "Jet" engine for storage technology, but it can also use SQL Server, Excel or even XML files as a back-end as well. In fact, it can use all of these at once.
The main strengths of Microsoft Access are its availability, its low cost and its ease of use. It seems almost everyone has access to Access, and it’s quite easy to understand, even for writing code. It has several built-in wizards, a graphical reporting tool and the ability to export included in the base product. There are hundreds of applications already written using Microsoft Access.
New developers are sometimes confused by Access — is it a database file or a program? The answer is both. An MDB file is an access database that you can use in VB or C# code, and it also has all the plumbing for the Microsoft Access program to store reports, programs and more right in the same file. That feature sets it apart from the other engines I’ll discuss.
Access’s primary drawback is its scalability. Granted, Microsoft doesn’t tout Access as an enterprise system, but some applications try to force it into that mold. The point is that Access just isn’t suited for more than a few concurrent users.
Another drawback is that Access doesn’t have a true transaction log, and it doesn’t allow you to create multiple files to house the data. For that reason, it isn’t as safe as an enterprise model requires.
Access doesn’t have great security, either. You can create users and restrict them to certain parts of the program, but it’s easy to circumvent.
Don’t write this product off, however. A modified version of the Jet engine was used in Windows NT’s naming database (WINS) and another version of it (Jet Black) was the early database engine for Microsoft Exchange.
You can think of Microsoft Access as inexpensive and feature-rich but having very low-scalability. It runs on all Microsoft platforms.
OpenOffice Base
In my experience, the OpenOffice Product has been pretty good. That being said, the “Base” product within it, which is often touted as an Access replacement, doesn’t quite do the same thing, especially in the reporting and coding capabilities. You also can’t download just the “Base” product, at least in my experience (I could be wrong here). I’ve had to download the whole package, customize the install, and then install only the parts I wanted.
But if you are looking for an Open Source alternative (once again, this one is now owned by Oracle), there are forks available.
NoSQL And Writing Your Own Data Storage and Retrieval
“NoSQL” is a term that means “Not Only SQL” — not meant as a rebuttal of the RDBMS offerings. The issue is that it gets pretty varied from there. Each and every offerings handles data input, computation, storage and output in a different way.
Essentially the changes are in the way you query a NoSQL system, since it tends to handle concurrency, locking and alterations in a different way than an RDBMS. I’ll direct you to other links here, since each handles that differently. Also, this arena seems to change by the month, so check this link first to see what has changed.
Since there’s no single governing body for NoSQL, all references have to be taken with a grain of salt. This one claims to be the primary location for information on NoSQL, and does seem to be kept current as of this writing: http://nosql-database.org/.
You can also use something like a Platform-as-a-Service (or Cloud) offering like Microsoft Windows Azure and wire up the Table and Blob storage there as a NoSQL-type offering.
Making a Choice
So now let’s move on to the factors that will help you determine your choice. The process is that you’ll develop a matrix that lays out the decision-points that fit your situation. You then "weight" the factors that are important to you, assign a score to the products that you’ve researched.
I don’t set the factors in any particular order. Also remember that the weighting you give each choice will be dictated not only by technical merit, but budget, political factions and other considerations.
I generally look at multiple factors, based on what I need to do. It’s not unusual to have multiple data storage engines in a large company, although it can be advantageous to stay on fewer platforms as well.
Once I define my requirements, here are a few of the criteria I lay out when I’m making the decision to implement a particular data store:
- Architecture
- Federation
- Replication
- Client types
- Licensing and Cost
- Language
- Current Infrastructure
There are other criteria to help you with your decision — many of them are on the vendors' Web sites. I’ve included these as the ones they don’t always cover, since the answers don’t necessarily favor their solution as the right choice. In any case, make sure you educate yourself on many technologies so that you’ll be able to select wisely.
With this information, you can see that you have a lot of choices to make. While all of these products are very capable, it’s been my experience that SQL Server has usually been at least a "safe" choice. It scales well, and while it doesn’t run on every platform it runs on a very ubiquitous one. As enterprise software goes, it’s not terribly expensive and it performs reasonably well, even in some of the larger applications.