![]() |
All About MS SQL Server |
![]() |
SQL Server is a very robust database management system. SQL Server was designed to have many thousands of users accessing it at any point in time. On the other hand Microsoft Access, doesn't handle this type of load very well.
This makes SQL Server perfectly suited for database driven websites. You should never use Access for a database driven website - unless it is having very small amount of traffic (like your friends). Even then, you may find yourself getting errors due to multiple users trying to access the database at the same time.
SQL Server also contains some advanced database administration tools that enable organizations to schedule tasks, receive alerts, optimize databases, configure security accounts/roles, transfer data between other disparate sources, and much more.
The 32bit editions are different from the 64 bit editions
32 Bit
Minimum processor: PIII 600 (1 GHZ or faster recommended) Minimum OS:
Enterprise
Windows Server 2003 with SP1 or later Windows Small Business Server 2003 with SP1 io later Windows 2000 with SP4 or later.
In Short: All OS except Win XP
Standard
All of Enterprise, but also non server windows OS.
Windows Professional with SP4 and Windows XP with SP2 or later
Workgroups
All of standard and Window?s XP Media and Tabled Edition
Express
All of the above + Windows Home Edition with SP2 or later and Windows Server 2004 Web Edition with SP1 or later
Developer
1+2+3 + 4.5 Windows Home Edition with SP2
Memory Requirements
Enterprise, Development Standard and Workgroup: 512 min, 1 GB more recommended Express: 192 min, 512 or more recommended
Hard disk requirement
350 MB full and 390 for sample
Internet
Explorer SP1 required for all installations (Required for Microsoft Management Console (MMC) and HTML Help.
IIS Required for XML applications and for Reporting Services
TCP/IP must be enabled
64-Bit Editions of SQL Server 2005
Processor
IA64 Minimum: 1 GHZ or faster Itanium X64 minimuM. 1 Ghz or faster AMD Opteron, AMD Athlon 64, Intel Xenon with Intel EM64T support or PIV with EM64T support
There is a choice between a default or named instance. You can install only one default instance, but more named instances.
Understanding SQL Server 2005 Editions
There are five different Editions of the SQL Server 2005. Three of them have 64 bit native versions, the rest is 32 bit only.
Enterprise Edition
Largest, 32 bit and 64 bit, supports the largest online transaction processing (OLTP)
Standard Edition
32bit and 64bit, small and medium enterprises
Workgroup Edition
Small Enterprises, no limits on size of users, for small servers
Developer Edition
Same as Enterprise without production license
Express Edition
MSDE for SQL Server 2005; free(also for clients access); replacement for Access
Some hints to remember Features
Express; Workgroup; Standard; Enterprise
Number of CPUs: 1;2;4;unlimited. Think of a formula such as CPUs of a Edition == Previous Edition *2 expect for Enterprise.
Memory 1GB;3GB, Limit based on OS, Limit based on OS
64 bit support: Express und Workgroup can only have 64 bit support via WOW
Max DB Size: Express has 4 GB limit
Partitioning is only supported by Enterprise Edition
Database Mirroring is supported by Standard and Enterprise
Fail Over Clustering is supported by Standard(two Nodes) and Enterprise
PDF Rule: Remember Partitioning, Database Mirroring, Failover P == 1 only one edition supports
Log Shipping: All but Express
Management Studio All but Express
Database Tuning Advisor: Standard and Enterprise
Full Text Search: All but Express
SQL Server Agent Job Scheduling: All but Express
Best Practives Advisor: All
Notification Services Standard and Enterprise
Service Broker: All (Express Subsriber only)
Merge Replication: All (Restriction on Express and Workgroup)
Transactional Replication: Restriction on Express and Workgroup
Oracle Replication: Enterprise
Web Services (Http Endpoints): Standard and Enterprise
Report Server: All
Report Builder All but Express
BI Development Studio Express and Workgroup have Report Designer only
Enterprise Management Tool: All but Express
Native Support for Web Services: Reporting Services for Express and Workgroups only
Analysis Services for Standard and Enterprise only
Rules of thumb:
Downloading
To install both freetds and the drivers for iODBC and unixodbc use apt-get, i.e.,
apt-get install tdsodbc
If you plan to use iODBC, you'll want to run
apt-get install libiodbc2 libiodbc2-dev
If you're using Perl, after you install FreeTDS you'll want to install the DBD for Sybase:
export SYBASE=/etc
cpan DBD::Sybase
On one machine, there can be more editions
Default Instance: Only one. Please note some of the MS products using the SQL Server request the default instance
Determining Multiple or Single Instances
Multiple Instances mean more administration overhead. Additional Instances require additonal resources: Memory and processor capacity-
Advantages of multiple instances
Decide on Security and collation
SQL Server Agent and SQL Server run as Windows Services.
They run in a context of a user account. Determining which account is an important decision.
Questions:
data files contain data and objects and log files contain transaction log.
filegroups are grouped datafiles for easier admin.
Data Files
There are primary and secondary Data Files.
The primary has the extension mdf and contains data and all information regarding data (such as information on the secondary data files). For optimal performance do not store data there.
The secondary has the extension ndf. No administrative data is stored here. There is a maximum of 32,766 secondary data files.
Log Files
Extension ldf. Each db needs at least one log file. You can create more than one
Filegroups
Logical structure of data files.
Also there are primary and secondary filegroups. The primary contains the primary data file and every secondary data file not stored in a specific filegroup. There can be up to 32,766 secondary file groups.
Filegroups can be configured as read only.
The filegroups are created with the SSMS or with the CREATE DATABASE command.
Five parameters have to be considered: Name, Filename, Size, Maxsize and Filegrowth
Configuring Raid Systems
There are Raid Levels 0,1,5 and 10. It has to be considered to be used in high performance environments. Configuring Database Files with RAID Systems RAID systems are arrays of disk drives that provide fault tolerance, more storage capacity, and better performance for the disk subsystem, depending on the configuration. Although RAID hardware systems are not part of the SQL Server configuration, they directly affect SQL Server?s performance. There are a variety of RAID levels, each of which uses a different algorithm for fault tolerance. The most common RAID levels used with SQL Server are 0, 1, 5, and 10.
SQL Server Mail does not depend on Extended Mapi
Prerequisites for Database Mail:
![]() |
Our Sponsors |
![]() |