Symptom
Some widely accepted information about the Microsoft SQL Server database is shown not to be entirely correct upon closer examination. This Knowledge Base Article lists widespread incorrect assumptions about Microsoft SQL Server and explains why they are wrong.
- The Microsoft SQL Server Agent job Update_Tabstats updates the database statistics which are used by the database optimizer to calculate execution plans and therefore it is critical for performance if the job fails.
- When using recover model simple the transaction log cannot run full.
- The result set of database accesses is always ordered by the primary key even if no ORDER BY clause is used explicitly.
- If database accesses hang for a long time, the problem is caused by a deadlock.
- Updating Microsoft SQL Server database statistics manually (with a SQL Server Agent job, with a SQL Server Maintenance Plan or by other means) is part of maintenance and therefore required on a regular basis.
- Reorganizing some or all database objects is a required maintenance task and should therefore be carried out on a regular basis.
- DBCC CHECKDB and DBCC CHECKTABLE with option repair_allow_data_loss allow you to repair database inconsistencies and will not cause any data loss.
- After archiving or deleting data from a table the table and its indexes will occupy less space in the database and the database itself will also occupy less space.
- If the autogrow option is configured for all datafiles Microsoft SQL Server will grow all files in a balanced way.
- High memory paging may cause the database to go in SUSPECT status.
Read more...
Environment
- SAP Systems based on SAP NetWeaver;
- Microsoft SQL Server;
Product
SAP NetWeaver all versions
Keywords
corruption, DB02, execution path, update statistics, repair_allow_data_loss, autogrow, paging, page out, paged, suspect status, suspect mode , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BW-SYS-DB-MSS , BW on Microsoft SQL Server , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.