Professional Documents
Culture Documents
Causes of SQL Server Cluster Installation Failures: Updating The Stats
Causes of SQL Server Cluster Installation Failures: Updating The Stats
Trailing spaces -- Trailing spaces on the NIC names will cause the
installation to fail on the installation of the Database Engine piece with
error number 67.
Logging into other nodes -- If you or another user are RDPed into a
node other than the one you are installing from, then the installation will
fail.
Transactions are timing out, but disk space seems plentiful and it's a
simple insert with just one row. Tracing the activity might reveal that the
transactions are actually timing out while they try to grow the files. If a
database is 100GB or more, having a growth percentage at 10% on a
server under load can cause queries to start timing out. It's best to grow
the databases out at a fixed rate rather than a percentage.
A stored procedure takes forever to run. But if you paste the logic into
query analyzer and run it directly getting extremely quick results, then
be sure to check the parameters. If all the parameters have a default
value, there is a good chance you're the victim of parameter
sniffing. Basically, parameter sniffing is how Microsoft optimizes the
execution plans of a stored procedure using certain parameters. In order
for it to work correctly, you need at least one parameter on a stored
procedure without any default value.
By far, option 2 is typically the fastest way to get the system back
running. But it's often a poor choice because of the loss of point-in-time
recovery and traceability. In most cases, option 1 is your best bet and is
fairly fast. Running a full backup would have the same effect but would
really delay your ability to get the system back running, since the
transaction log isn't free until the full backup is complete.
problems that occur while working on the leading edge of SQL Server.
1. Database mirror errors: Establishing a synchronous mirror with no
witness.
Symptoms: While setting up the mirror you receive the error "The mirroring
connection to 'TCP://IMPORTANTMACHINE.TEKMIRAGE.COM:7022' has
timed out for database 'ImportantDB' after 10 seconds without a response.
Check the service and network connections." Then, in the SQL Server logs
you see "Database mirroring connection error 4 'An error occurred while
receiving data: '64(The specified network name is no longer available.)' for
'TCP://IMPORTANTMACHINE.TEKMIRAGE.COM:7022."
Resolution: First, you must reset the status of the databases. Run "Alter
database ImportantDB set partner off." At this point, you can apply
transaction logs to the mirror and try again to establish the mirror, which
might work if the transaction log is small enough. Disabling any application
functions or picking a really slow time would help. You can also upgrade
SQL Server to resolve this. CU6/CU7 would fix this issue -- they are builds
3228/3239, respectively. You would need to contact Microsoft directly to
get access to these cumulative updates.
Resolution: If the initial size is 3 MB and the growth rate is 6 GB, any
attempt to grow would put the database past the growth limit. I recommend
a smaller growth rate of around 200 MB to 1,000 MB, depending on the
application's required transaction times/load. You could also increase the
growth limit.
3. SQL Server login or AD login cannot log into the server even if their
user has been mapped to the appropriate databases with appropriate
permissions (login failed).
1.
2. SQL Server logins are case sensitive. Any variation in case will
cause login failure.
Problem: The database owner is not set to sa, but is likely set to some
other login.