Microsoft SQL Server - Robert D. Schneider

Microsoft SQL Server

Planning and Building a High Performance Database
Media-Kombination
608 Seiten
1996
Addison-Wesley Educational Publishers Inc
978-0-13-266222-2 (ISBN)
49,95 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
A comprehensive guide to designing MS SQL server database and applications that are optimized for performance, including a SQL server performance monitor on disk.
26622-1 Plan it right for optimum performance-from the ground up! Make your database applications *More productive *More reliable *Simpler to use With Microsoft(r) SQL Server: Designing and Building a High Performance Database, you'll learn how to develop the blueprint for a Microsoft SQL Server database that will grow with your unique needs. Make the most of the Microsoft SQL Server by mastering the structural approach that gives you high performance from Day 1, and keep your system running at its best throughout its lifetime. Efficient design-Some databases seem to grow almost organically, without any logical form. Learn to evaluate your requirements and create a customized structure that will handle the way you really use your database. Master the three forms of normalization and when to use them. Discover the strategies that lead to a successful index, including structure, columns, keys, data types, and clustering. Unlock the power of the Microsoft SQL Server optimizer to get the highest degree of performance. Effective access-Users judge a database by what it can do for them.When you understand the power of stored procedures and triggers, you'll be able to make transactions quick and easy for users at all levels, as well as simplifying many programming tasks.
You'll also learn how to assess your network's capabilities to minimize traffic and improve distribution by taking advantage of Microsoft SQL Server's facility with joins, batches, searches, and tables. Get insider's tips on powerful features including transactions, cursors, and concurrency. Ongoing performance tuning-Data always grows faster than the storage and hardware that accommodate it. Using Microsoft SQL Server's monitoring tools, you can find and fix problem areas before they become a drag on performance. Master the secrets of disk management and replication to optimize your database engine's capacity. Testing for success-When you're ready to put your new plans to work, you'll need accurate feedback before you implement change. Learn the essentials of a successful testing environment, and the planning strategies for an effective roll-out of your innovations.Learn from experience-Five detailed case studies show how a range of organizations have used Microsoft SQL Server to maximize their database power. You may recognize situations you have already faced, and see the experts' solutions.
Microsoft SQL Server: Designing and Building a High Performance Database is packed with experience and tips, but it's not just for application developers. Database administrators, systems analysts, and system administrators can all learn the basics of Microsoft SQL Server applications, without having to master all the intricacies of the Microsoft SQL Server engine. Microsoft SQL Server: Designing and Building a High Performance Database also includes a free disk containing SQL Replay, a performance monitor designed specifically for Microsoft SQL Server. Use it to analyze processes, measure user activity, uncover bottlenecks, isolate locked tables, and benchmark overall server activity. For Microsoft SQL Server version 6.0 and newer.

Preface. Intended audience. Benefits of using the book. How to use this book. How to use the examples. Acknowledgments. 1. Setting Up an Optimization TestEnvironment. Steps to follow before testing. Hardware considerations. Software considerations. Data considerations. Setting up a test plan. Operational considerations. Steps to follow during testing. Discipline vs. creativity. Steps to follow after testing. Formal assessment. Determining the next step. I. CREATING A WELL-DESIGNED DATABASE. Relational Database Design Concepts. 2. Normalization. First normal form. Second normal form. Third normal form. When not to normalize. Calculated values. Historical information. Partitioning. Special data types. Variable-length characters. Variable-length binary. Text and image. Constraints. Primary key constraint. Foreign key constraint. Unique constraint. Check constraint. User-defined data types. ANSI specification behavior and SQL Server. Disabling constraints. Using views. Viewing dependencies. 3. Indexing Strategies. Index structure. Clustered indexes. Non-clustered indexes. Leaf vs. non-leaf pages. Primary keys. Filter columns. Join columns. Wide vs. narrow index keys. Unique vs. non-unique. Character vs. numeric. Composite index issues. Avoiding highly duplicate indexes. Clustered indexes and presorted data. Clustered indexes and data reorganization. Sort columns. Indexing and special data types. Indexing and work tables. Excess indexing. Index fill factor. PAD_INDEX option. Index location. 4. Understanding the Microsoft. SQL Server Optimizer. What is an optimizer? Optimizer features and algorithms. Optimizer diagnostics. Using SHOWPLAN. SHOWPLAN topics. Programming considerations. Giving hints to the optimizer. The UPDATE STATISTICS command. BCC SHOW_STATISTICS. II. IMPROVING DATABASE ACCESS. 5. SQL Tips. Types of joins. Standard join. Cross join. Inner join. Left outer join. Right outer join. Full outer join. Numeric vs. non-numeric joins and searches. SQL batches. CASE expression. COALESCE function. NULLIF function. Substring searches. Temporary and work tables. Local temporary tables. Global temporary tables. Implicit work tables. Explicit temporary tables. Improving temporary table performance. Subqueries. Costs of views. Using math inside SQL. Unions. Sorting. ROLLUP. CUBE. INSERT from stored procedures. INSERT and default values. Update extension. Large delete operations. 6. Stored Procedures and Triggers. Stored Procedures. Creating and maintaining stored procedures. Why use stored procedures? Frequently used routines. Auto startup stored procedures. Extended stored procedures. Client/Server. Security. Improving stored procedure performance. Recompiling stored procedures. Triggers. Audit trails. Data replication. Cascading deletes. 7. General Tips. Transactions. Transactions and DDL. Nested transactions. Savepoints. Preventing long transactions. When not to use transactions. Location of BEGIN TRANSACTION and COMMIT TRANSACTION. Adding transactions to existing applications. Transaction logging and text/image. Implicit transactions. Transaction abort control. Distributed transactions. Error checking. Cursors. Server cursors. INSENSITIVE cursor option. Scrollable cursors. Read-only cursors. Detecting data changes with cursors. FOR UPDATE. Cursor deallocation. Concurrency. Locking issues. Transaction isolation levels. Miscellaneous tips. Bulk data loading. Object transfer and script generation. 8. Client/Server Considerations. Assessing your network's capabilities. Minimizing network traffic. Improve distributed queries. Take advantage of replication. Retrieve only necessary columns. Use joins instead of sequential SELECTS. Take advantage of stored procedures. Select only necessary rows. Update only columns that have changed. Tuning your network. Duration of client/server connection. III. OPTIMIZING THE SQL SERVER ENGINE. 9. Monitoring Tools. Using the performance monitor. Objects. Setting alerts. Logging. Reports. sp_monitor. The DBCC utility. Trace flags. Using trace flags. sp_configure. The SQL Trace utility. Global variables. @@CONNECTIONS. @@CPU_BUSY. @@CURSOR_ROWS. @@DATEFIRST. @@DBTS. @@ERROR. @@FETCH_STATUS. @@IDENTITY. @@IDLE. @@IO_BUSY. @@LANGID. @@LANGUAGE. @@MAX_CONNECTIONS. @@MAX_PRECISION. @@MICROSOFTVERSION. @@NESTLEVEL. @@OPTIONS. @@PACK_RECEIVED. @@PACK_SENT. @@PACKET_ERRORS. @@PROCID. @@REMSERVER. @@ROWCOUNT. @@SERVERNAME. @@SERVICENAME. @@SPID. @@TEXTSIZE. @@TIMETICKS. @@TOTAL_ERRORS. @@TOTAL_READ. @@TOTAL_WRITE. @@TRANCOUNT. @@VERSION. 10. Windows NT Operating System. Integration. Machine issues. CPU. Memory. Disk drive. Dedicated server vs. non-dedicated server. Performance monitor. Configuration options. Swap file. Priority boost. Server tasking. 11. Disk Management. Disk storage concepts. Page. Extent. Allocation unit. Device. Database. Physical name. Logical name. Disk storage options. RAID. Operating system disk striping. Mirroring. Segments. File system types. The DBCC utility and disk information. CHECKALLOC. CHECKCATALOG. CHECKTABLE. CHECKDB. CHECKIDENT. DBREINDEX. DBREPAIR. NEWALLOC. SHOW_STATISTICS. SHOWCONTIG. SHRINKDB. TEXTALLOC. TEXTALL. UPDATEUSAGE. Fragmentation. Disk fragmentation. Database fragmentation. "sp_spaceused" stored procedure. Index fill factor. I/O topics. Asynchronous I/O. Lazywriter. Read-ahead. Statistics. Examples. Configuration parameters. Storing tempdb in RAM. 12. Engine Parameters. Memory. Installation memory parameters. Data caching. Stored procedure caching. Locking. Lock concepts. SQL Server-Locks object. Configuration parameters. Threading. Windows NT threads object. Multiple processor considerations. Logging. Describing the transaction log. Sizing the transaction log. Placing the transaction log. Monitoring log usage. Dumping the transaction log. Truncating the transaction log. Using checkpoints. Managing log usage. Transaction logs and mirroring. SQL Server A A Log object. The DBCC utility and engine information. MEMUSAGE. OPENTRAN. PERFMON. PINTABLE. UNPINTABLE. PROCCACHE. ROWLOCK. SQLPERF. USEROPTIONS. 13. Database Parameters and User Configuration. sp_helpdb. Single large database vs. multiple small databases. Direct system table updates. Number of open databases. Number of open objects. Stored procedure cache. Create for load. Database read-ahead cache. Database size. Recovery interval. Controlling user connections. SELECT INTO/bulk copy. DBO use only. No checkpoint on recovery. Read-only. Single user. Columns null by default. Truncate log on checkpoint. User configuration and administration. SQL Server Users object. Statistics. Examples. 14. Network Parameters. Statistics. NET-command queue length. NET-network reads per second. NET-network writes per second. Configuration.Packet size tuning. Remote access. Remote login timeout. Remote query timeout. SQL Server user-defined counters object. Chapter 15 SQL Enterprise Manager. Detail activity. Examples. 16. Efficient Replication. What is replication? Why replicate? Reporting. Distributed information. Read-only data. Replication terms. Tight consistency. Loose consistency. Data Publication. Article. Publication. Subscriber. Distribution database. Log reader process. Synchronization process. Distribution process. SQL Server Replication-Published DB object. Statistics. SQL Server Replication-Subscriber object. Statistics. Replication stored procedures. Efficient replication. Replication topology planning. Transaction log. Memory. Control amount of published data. Primary keys. Foreign keys. Control number of publications. Appendix A. Case Studies. Case study 1. Case study 2. Case study 3. Case study 4. Case study 5. Appendix B SQL ReplayVersion 1.10. Contents: Product Description. System Requirements. Installation. Scheduling Monitoring Process. Software License Agreement. Support. Database Objects. SQL Replay Reports. Registration. Index

Erscheint lt. Verlag 30.12.1996
Verlagsort New Jersey
Sprache englisch
Maße 180 x 235 mm
Gewicht 1178 g
Themenwelt Informatik Betriebssysteme / Server Windows
Informatik Betriebssysteme / Server Windows Server
Mathematik / Informatik Informatik Software Entwicklung
ISBN-10 0-13-266222-1 / 0132662221
ISBN-13 978-0-13-266222-2 / 9780132662222
Zustand Neuware
Haben Sie eine Frage zum Produkt?