Posts

Showing posts from February, 2020

SQL SERVER 2012,2014,2016,2017 New Features

Image
Each version introduced its own set of new features and enhancements. Here are some notable new features introduced in SQL Server 2012 and SQL Server 2014:   ------SQL Server 2012------ AlwaysOn Availability Groups: This feature provides high availability and disaster recovery solutions by allowing multiple databases to be grouped together and failover as a single unit. Columnstore Indexes: SQL Server 2012 introduced columnstore indexes, which significantly improve query performance for data warehousing and analytics workloads by storing data in a columnar format. SQL Server Data Tools (SSDT): SSDT provides an integrated development environment for database developers, offering enhanced database design, testing, and deployment capabilities. SQL Server Analysis Services (SSAS) Tabular Model: In addition to the traditional multidimensional model, SQL Server 2012 introduced the tabular model for SSAS, which provides a simpler, in-memory approach for building analytical solutions. ...

Essential SQL Queries for Database Administrators (DBAs)"

Image
select * from sys.dm_db_session_space_usage:   This query can be used to monitor the space usage of each session in the database, helping you identify any sessions that are consuming excessive space. dbcc sqlperf(logspace):   By executing this command, you can obtain information about the transaction log space usage for each database. It helps you identify if any transaction logs are growing too large and may require management. xp_fixeddrives:  This query provides information about the fixed drives (hard drives) on the SQL Server machine. As a DBA, you can use this to ensure sufficient disk space is available for the database files and logs. dbcc showcontig :  Use this command to analyze the fragmentation level of tables and indexes. It helps you identify fragmented objects that might impact performance and allows you to plan for defragmentation or index maintenance. select * from sys.dm_db_index_physical_stats:  This query returns detailed physical statistics ...