Views Archives - {coding}Sight https://codingsight.com/category/database-development/views/ Blog for SQL Server DBAs and Developers Thu, 30 Mar 2023 07:33:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://codingsight.com/wp-content/uploads/2021/10/cropped-Soсial_-Fb_180х180-1-32x32.png Views Archives - {coding}Sight https://codingsight.com/category/database-development/views/ 32 32 What is a Materialized View and Why Should you Use It? https://codingsight.com/sql-server-materialized-view-and-why-should-you-use-it/ https://codingsight.com/sql-server-materialized-view-and-why-should-you-use-it/#comments Fri, 25 Jun 2021 08:28:44 +0000 http://codingsight.com/?p=14948 As data volumes continue to increase, more developers look towards materialized views to process queries. This approach has a lot of potentials. We are discovering that apps and software are the next steps in creating a more connected future. Data solutions such as cloud computing, wireless communication, and the internet of things (IoT) are all …

The post What is a Materialized View and Why Should you Use It? appeared first on {coding}Sight.

]]>
https://codingsight.com/sql-server-materialized-view-and-why-should-you-use-it/feed/ 1
MySQL Create View, Replace View and Drop View Statements with Examples https://codingsight.com/understanding-mysql-create-view-replace-view-and-drop-view-statements/ Mon, 01 Feb 2021 15:15:22 +0000 http://codingsight.com/?p=11843 An SQL view is a virtual table or a result-set generated by the SELECT query. Unlike physical tables, views do not store data in a database. When we run the SELECT query to populate the data, it executes a query that creates the view (View definition). What is View in MySQL Suppose you have a …

The post MySQL Create View, Replace View and Drop View Statements with Examples appeared first on {coding}Sight.

]]>
Top 3 Tips You Need to Know to Write Faster SQL Views https://codingsight.com/top-3-tips-you-need-to-know-to-write-faster-sql-views/ Thu, 03 Dec 2020 11:37:37 +0000 https://codingsight.com/?p=11061 Friend or foe? SQL Server views have been a subject of heated debates when I was in my first year using SQL Server. They said it was bad because it was slow. But how about today? Are you on the same boat as I was many years ago? Then, join me on this journey to …

The post Top 3 Tips You Need to Know to Write Faster SQL Views appeared first on {coding}Sight.

]]>
Views in SQL Server https://codingsight.com/views-in-sql-server/ Mon, 23 Nov 2020 12:26:53 +0000 https://codingsight.com/?p=10950 Introduction A view in SQL Server is a virtual table-like structure based on the result-set of an SQL statement. On the surface, a view is similar to a table with the signature structure of rows and columns. However, these rows and columns come from tables referenced in the query, which defines the View. We use …

The post Views in SQL Server appeared first on {coding}Sight.

]]>
Main Usage of sys.dm_os_wait_stats https://codingsight.com/main-usage-of-sys-dm_os_wait_stats/ Fri, 07 Sep 2018 14:14:07 +0000 https://codingsight.com/?p=5204 As you know, the main responsibility of the database administrator lies in the monitoring of the SQL Server performance and intervening in determined time. You can find several SQL Server performance monitoring tools in the market but sometimes we need additional information about SQL Server performance to diagnosis and troubleshoot the performance issues. So we …

The post Main Usage of sys.dm_os_wait_stats appeared first on {coding}Sight.

]]>
SQL Server TempDB Monitoring by Using Dynamic Management Views (DMV) https://codingsight.com/monitoring-tempdb-in-sql-using-key-dynamic-management-views/ Tue, 08 May 2018 12:58:42 +0000 http://codingsight.com/?p=3953 What is TempDB in MS SQL Server? TempDB is a system database in Microsoft SQL Server used as a store of internal objects, row versions, work tables, temporary tables, and indexes. TempDB is available for use to all participants connected to a SQL Server instance (it is a global resource). For those familiar with other …

The post SQL Server TempDB Monitoring by Using Dynamic Management Views (DMV) appeared first on {coding}Sight.

]]>