RelationalDBDesign
SiteMap
Business Rules
Cursors Views
Database Creation
SQL Monitoring
Database Web Apps
Data Manipulation
Access Features
Tables Queries
Monitoring Databases
«Prev
Configuration Monitoring
Importing/Exporting Data
Insert Data Load Statement
Select into Statement
Bulk Insert Statement
SQL Bulk Copy Program
Data Transformation Services
DTS Package Designer
Scheduling Running Package
DTS Wizard
Running DTS Wizard
Load Export Conclusion
Intro Monitoring SSMS
SQL Server Connections
Monitoring SQL Connections
Monitor Locked Resources
SQL EM Monitor Locks
Overall System Performance
Database Consistency Checker
Monitor Data Cache
Monitor Performance Using DBCC
Trace Flags
Built In Functions
SQL EM Conclusion
Monitoring Databases
Monitor Database Size
Use SSMS monitor DB Size
Monitor Databases using DBCC
Monitor Consistency Individual Tables
Miscellaneous DB Monitoring via Dbcc
Monitor Transaction Log
Maintaining Database Statistics
View Statistical Information
Run sqlmaint.exe
Database Maintenance Plan wizard
SQL-Em Conclusion
SQL-Server Profiler
SQL-Server sqlmaint.exe Syntax
1) ? generates a listing of the parameter
S<Server Name> is the SQL Server to connect to
U<Login ID> is the SQL Server login to use when connecting to the SQL Server
P <Password> indicates the password for the login
2)
-D <Database Name>
[-Rpt <Output File>] [-To <Operator Name>]
D<Database Name> is the database to maintain
Rpt <Output File> is the full path of the report file
To <Operator Name> is the account to email a report to
3) CkDB | - CkDBNoldx will run dbcc checked or dbcc checkdb with the no index option
4) UpdSts will udpate the statistics on every table, index and statistic group in the database.
1
5) BkUpDB <Backup Path> backs up the database.
BkUpLog <Backup Path> backs up the transaction log.
6) UpdOptiStats <% of Database to Sample> allows you to specify how much of the database to sample when generating statistics.
7) PlanId < GUID identifying the maintenance plan ... allows you to specify an existing database maintenance plan. The only thing from the plan that will be used is the list of database.
8) CrBkSubdir creates a sub-directory for storing the backup files.
9) S <Server Name> is the SQL Server to connect to.