All Posts (Bill)Top Five Best Database Management Tools |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
Top Five Best Database Management Tools
5. Microsoft SQL Server Management Studio 4. Sequel Pro 3. SQLyog 2. Navicat for MySQL 1. phpMyAdmin
Posted on: 11/19 15:35
|
|
Transfer
|
||
DBA Checklist - Best Practices Backup |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist - Best Practices Backup
1. All production databases should be set to use the full recovery model. This way, you can create transaction log backups on a periodic basis. 2. Whenever possible, perform a daily full backup of all system and user databases. 3. For all production databases, perform regular transaction log backups, at least once an hour. 4. Perform full backups during periods of low user activity in order to minimize the impact of backups on users. 5. Periodically test backups to ensure that they are good and can be restored. 6. Backup first to disk, then move to tape or some other form of backup media. 7. Store backups offsite. 8. If using SQL Server column encryption, or SQL Server 2008 Transparent Data Encryption, be sure to backup the service master key, database master keys, and certificates. 9. If you find that backup times take longer than your backup window, or if backup file sizes are taking up too much space on your storage device, consider a third-party backup program, such as SQL Backup Pro. SQL Server 2008, Enterprise Edition, includes backup compression. 10. Document, step-by-step, the process to restore system and user databases onto the same, or a different server. You don’t want to be looking this information up during an emergency.
Posted on: 11/12 12:55
|
|
Transfer
|
||
DBA Checklist Disaster Recovery |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist Disaster Recovery
1. You must create a disaster recovery plan and include every detail you will need to rebuild your servers. 2. As your SQL Servers change over time, don’t forget to update your disaster recovery plan. 3. Write the disaster recovery plan so that any computer literate person will be able to read and follow it. Do not assume a DBA will be rebuilding the servers. 4. Fully test your disaster recovery plan at least once a year. 5. Re-read all the best practice just mentioned. I’m not kidding. Remember, as DBAs, we are guardians of the organization’s data. This is a huge responsibility.
Posted on: 11/5 13:52
|
|
Transfer
|
||
DBA Checklist - General High Availability |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist - General High Availability
1. Physically protect your SQL Servers from unauthorized users. 2. Physically document all of your SQL Server instances. Incorporate effective change management. 3. Always use a RAIDed array or SAN for storing your data. 4. Use SQL Server clustering, database mirroring, or log shipping to provide extra fault tolerance. 5. Replication is not an effective means to protect your data. 6. Ensure that your entire IT infrastructure is redundant. It is only as strong as its weakest link. 7. Always use server-class hardware, and standardize on the same hardware as much as possible. 8. Use hardware and software monitoring tools so you can quickly become aware of when problems first arise. 9. After testing, apply all new service packs and hot fixes to the OS and SQL Server. 10. Cross-train staff so that there are multiple people who are able to deal with virtually any problem or issue.
Posted on: 10/29 13:09
|
|
Transfer
|
||
DBA Checklist - Replication |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist - Replication
1. Replication needs should be clearly defined before creating a replication topology. Successful replication can be difficult and requires much pre-planning. 2. Ideally, publishers, distributors, and subscribers should be on separate physical hardware. 3. Create, document, and test a backup and restore strategy. Restoring replicated databases can be complex and requires much planning and practice. 4. Script the replication topology as part of your disaster recovery plan so you can easily recreate your replication topology if needed. 5. Use default replication settings, unless you can ensure that a non-default setting will actually improve replication performance or other issues. Be sure that you test all changes to ensure that they are as effective as you expect. 6. Fully understand the implications of adding or dropping articles, changing publication properties, and changing schema on published databases, before making any of these changes. 7. Periodically, validate data between publishers and subscribers. 8. Regularly monitor replication processes and jobs to ensure they are working. 9. Regularly monitor replication performance, and performance tune as necessary. 10. Add alerts to all replication jobs so you are notified of any job failures.
Posted on: 10/22 15:15
|
|
Transfer
|
||
DBA Checklist - SQL Server Configuration Settings |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist - SQL Server Configuration Settings
1. SQL Server configuration settings should remain at their default settings. Any changes to these settings should only be made by an experienced DBA who understands the pros and cons of making changes. 2. If you are using the 32-bit version of SQL Server, and if you are using 4 GB or more of RAM, ensure that you have all the AWE settings correctly set. Database Settings 1. Database settings should generally be kept at their default values. Ensure that the following settings are set for overall best performance: These are default settings: * Auto Create Statistics: On * Auto Update Statistics: On * Auto Shrink: Off * Page Verify: Checksum 2. Don’t rely on AUTOGROWTH to automatically manage the size of your databases. Instead, proactively monitor and alter database size as circumstances dictate. Only use AUTOGROWTH to deal with unexpected growth.
Posted on: 10/15 16:04
|
|
Transfer
|
||
DBA Checklist - Job Maintenance |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist - Job Maintenance
1. Avoid overlapping jobs on the same SQL Server instance. Ideally, each job should run separately at different times. 2. When creating jobs, be sure to include error trapping, log job activity, and set up alerts so you know instantly when a job fails. 3. Create a special SQL Server login account whose sole purpose is to run jobs, and assign it to all jobs. 4. If your jobs include Transact-SQL code, ensure that it is optimized to run efficiently. 5. Periodically (daily or weekly) run a database rebuild or reorganize job on all the indexes on all the tables in all your database. This will rebuild the indexes so that the data is no longer logically fragmented. Fragmented data can cause SQL Server to perform work, slowing down SQL Server's performance. Rebuilding or reorganizing tables will also update column statistics. 6. As often as you take full backups, which is probably once a day, run DBCC CHECKDB on your databases to verify database integrity. 7. Avoid running most DBCC commands during busy times of the day. These commands are often I/O intensive and can reduce performance of the SQL Server, negatively affecting users. 8. Script all jobs and store these scripts in a secure area so they can be used if you need to rebuild the servers.
Posted on: 10/8 17:13
|
|
Transfer
|
||
DBA Checklist - Security |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist - Security
1. Ensure the physical security of each SQL Server, preventing any unauthorized users from physically access your servers. 2. Only install required network libraries and network protocols on your SQL Server instances. 3. Minimize the number of sysadmins allowed to access SQL Server. 4. As a DBA, log on with sysadmin privileges only when needed. Create separate accounts for DBAs to access SQL Server when sysadmin privileges are not needed. 5. Assign the SA account a very obscure password, and never use it to log onto SQL Server. Use a Windows Authentication account to access SQL Server as a sysadmin instead. 6. When assigning permissions to users, only give them the minimum permissions they need to perform their jobs. 7. Use stored procedures or views to allow users to access data instead of letting them directly access tables. 8. When possible, use Windows Authentication logins instead of SQL Server logins. 9. Use strong passwords for all SQL Server login accounts. 10. Don’t grant permissions to the public database role. 11. Remove user login IDs who no longer need access to SQL Server. 12. Remove the guest user account from each user database. 13. Disable cross database ownership chaining if not required. 14. Never grant permission to the xp_cmdshell to non-sysadmins. 15. Use Windows Global Groups, or SQL Server Roles to manage groups of users that need similar permissions. 16. Avoid creating network shares on any SQL Server. 17. Turn on login auditing so you can see who has succeeded, and failed, to login. In SQL Server 2008, you can use SQL Server Audit instead. 18. Don’t use the SA account, or login IDs who are members of the Sysadmin group, as accounts used to access SQL Server from applications. 19. Ensure that your SQL Servers are behind a firewall and are not exposed directly to the Internet. 20. Remove the BUILTIN/Administrators group to prevent local server administrators from being able to access SQL Server. Before you do this on a clustered SQL Server, check Books Online for more information. 21. Run each separate SQL Server service under a different Windows domain account. 22. Only give SQL Server service accounts the minimum rights and permissions needed to run the service. In most cases, local administrator rights are not required, and domain administrator rights are never needed. SQL Server setup will automatically configure service accounts with the necessary permissions for them to run correctly, you don’t have to do anything, with one possible exception. You may want to give the SQL Server service account SE_MANAGE_VOLUME_NAME rights so that instant file initialization can be used for SQL Server 2005/2008. This is only required if the SQL Server service account is not a member of the local administrator’s group. 23. When using distributed queries, use linked servers instead of remote servers. 24. Do not browse the web from a SQL Server. 25. Instead of installing virus/antispyware protection on a SQL Server, perform scans from a remote server during a part of the day when user activity is less. 26. Add operating system and SQL Server service packs and hot fixes soon after they are released and tested, as they often include security enhancements. 27. Encrypt all SQL Server backups with a third-party backup tool, such as SQL Backup Pro. If you have SQL Server 2008, Enterprise Edition, you can use Transparent Data Encryption to ensure encrypted backups. 28. Only enable C2 auditing or Common Criteria compliance if required. 29. SQL Server 2008 includes a new built-in auditing tool called SQL Server Audit. It can be used to audit virtually any user activity. Keep the number of activities and objects you audit to a minimum to reduce performance overhead. 30. Consider running a SQL Server security scanner against your SQL servers to identify security holes. 31. Consider adding a certificate your SQL Server instances and enable SSL or IPSEC for connections to clients. 32. If using SQL Server 2005/2008, enable password policy checking. 33. If running SQL Server 2008, Enterprise Edition, consider implementing Transparent Data Encryption to help protect data stored on disk.
Posted on: 10/1 21:19
|
|
Transfer
|
||
DBA Checklist - Upgrading |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist - Upgrading
1. Run the Upgrade Advisor on any database you intend to upgrade to identify potential problems. 2. Before performing an upgrade to SQL Server, thoroughly test your application in a test environment to ensure compatibility. Make any necessary changes before performing the upgrade. 3. Before you upgrade, be sure you have a plan in place to fall back to in case the upgrade is problematic. 4. While upgrading in place can work well, it is less risky to upgrade to new hardware with a fresh install of the OS and SQL Server. 5. If you upgrade from a previous version of SQL Server, you should update all of the statistics in all your databases using UPDATE STATISTICS. This is because statistics are not automatically updated during the upgrade process. In addition, run DBCC UPDATEUSAGE on all databases to correct any incorrect row or page counts.
Posted on: 9/16 22:57
|
|
Transfer
|
||
DBA Checklist for Installation |
||
|---|---|---|
|
Just can't stay away
![]()
Joined:
2007/11/4 20:11 Group:
Registered Users Posts:
101
Level : 9; EXP : 5
HP : 0 / 201 MP : 33 / 1211 ![]() |
DBA Checklist for Installation
1. Always fully document installs so that your SQL Server instances can easily be reproduced in an emergency. 2. If possible, install and configure all of your SQL Server instances consistently, following an agreed upon organization standard. Optionally use SQL Server 2008 Policy-based Management to enforce standards. 3. Don't install SQL Server services you don't use, such as Microsoft Reporting Services or Analysis Services, if you won’t be using them. 4. For best performance of SQL Server running under Windows, turn off any operating system services that aren't needed. 5. For optimum SQL Server performance, dedicate your physical servers to only running a single instance of SQL Server, no other applications. 6. For best I/O performance, locate the database files (.mdf) and log files (.ldf) on separate volumns on your server to isolate potentially conflicting reads and writes. 7. If tempdb will be used heavily, also put it on its own separate array. In addition, pre-size tempdb to a size that will meet your server’s needs without having the need to autogrow. Divide the tempdb database into multiple files so that the number of files is equal to 50% to 100% of the number of CPU cores in your servers. Each physical file must be the same size. 8. Do not install SQL Server on a domain controller. 9. Don’t use NTFS data file encryption (EFS) and compression on SQL Server database and log files.
Posted on: 9/8 14:51
|
|
Transfer
|
||



Transfer
