﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server&#8217;da Tablo Boyutlarını Görmek &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/sql-serverda-tablo-boyutlarini-gormek/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Thu, 17 Nov 2022 21:08:42 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>SQL Server&#8217;da Tablo Boyutlarını Görme</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-tablo-boyutlarini-gorme</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Thu, 17 Nov 2022 21:08:42 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server'da Tablo Boyutları]]></category>
		<category><![CDATA[SQL Server'da Tablo Boyutlarını Görme]]></category>
		<category><![CDATA[SQL Server'da Tablo Boyutlarını Görmek]]></category>
		<guid isPermaLink="false">https://sqlserveregitimleri.com/?p=14667</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server’da tablo boyutlarını görmek ile ilgili bilgi vermeye çalışacağım. SQL Server&#8217;da bazı durumlarda tablo boyutlarını görmek isteyebilirsiniz. Aşağıdaki kodu kullanarak...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server’da tablo boyutlarını görmek ile ilgili bilgi vermeye çalışacağım.</p>
<p>SQL Server&#8217;da bazı durumlarda tablo boyutlarını görmek isteyebilirsiniz.</p>
<p>Aşağıdaki kodu kullanarak siz de bu işlemi rahatlıkla yapabilirsiniz.</p>
<pre class="line-numbers"><code class="language-sql">SELECT t.name AS TableName,
       s.name AS SchemaName,
       p.rows AS RowCounts,
       SUM(a.total_pages) * 8 AS TotalSpaceKB,
       CAST(ROUND(((SUM(a.total_pages) * 8) / 1024.00), 2) AS NUMERIC(36, 2)) AS TotalSpaceMB,
       SUM(a.used_pages) * 8 AS UsedSpaceKB,
       CAST(ROUND(((SUM(a.used_pages) * 8) / 1024.00), 2) AS NUMERIC(36, 2)) AS UsedSpaceMB,
       (SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB,
       CAST(ROUND(((SUM(a.total_pages) - SUM(a.used_pages)) * 8) / 1024.00, 2) AS NUMERIC(36, 2)) AS UnusedSpaceMB
FROM sys.tables t
    INNER JOIN sys.indexes i
        ON t.object_id = i.object_id
    INNER JOIN sys.partitions p
        ON i.object_id = p.object_id
           AND i.index_id = p.index_id
    INNER JOIN sys.allocation_units a
        ON p.partition_id = a.container_id
    LEFT OUTER JOIN sys.schemas s
        ON t.schema_id = s.schema_id
WHERE t.name NOT LIKE 'dt%'
      AND t.is_ms_shipped = 0
      AND i.object_id &gt; 255
GROUP BY t.name,
         s.name,
         p.rows
ORDER BY t.name;</code></pre>
<p>Yukarıdaki kodu çalıştırdığınızda aşağıdaki gibi bir sonuç göreceksiniz.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-14751 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2022/11/sql-serverda-tablo-boyutlarini-gorme-1.jpg" alt="SQL Server'da Tablo Boyutlarını Görme" width="700" height="545" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2022/11/sql-serverda-tablo-boyutlarini-gorme-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2022/11/sql-serverda-tablo-boyutlarini-gorme-1-315x245.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2022/11/sql-serverda-tablo-boyutlarini-gorme-1-385x300.jpg 385w, https://sqlserveregitimleri.com/wp-content/uploads/2022/11/sql-serverda-tablo-boyutlarini-gorme-1-173x135.jpg 173w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere tablo boyutlarını görmüş olduk.</p>
<p>Herkese çalışma hayatında ve yaşamında başarılar kolaylıklar.</p>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 170</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SQL Server&#8217;da Tablo Boyutlarını Görmek</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-tablo-boyutlarini-gormek</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Mon, 29 Nov 2021 20:18:42 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server'da Tablo Boyutlarını Görmek]]></category>
		<category><![CDATA[SQL Tablo Boyutları]]></category>
		<category><![CDATA[TSQL Tablo Boyutu]]></category>
		<guid isPermaLink="false">https://sqlserveregitimleri.com/?p=11663</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda  SQL Server&#8217;da tablo boyutlarının nasıl görüleceği hakkında bilgi vereceğim. SQL Server&#8217;da bazı durumlarda tablo boyutlarını görmek isteyebilirsiniz. Aşağıdaki kodu kullanarak siz...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda  SQL Server&#8217;da tablo boyutlarının nasıl görüleceği hakkında bilgi vereceğim.</p>
<p>SQL Server&#8217;da bazı durumlarda tablo boyutlarını görmek isteyebilirsiniz.</p>
<p>Aşağıdaki kodu kullanarak siz de bu işlemi rahatlıkla yapabilirsiniz.</p>
<pre class="line-numbers"><code class="language-sql">SELECT t.name AS TableName,
       s.name AS SchemaName,
       p.rows,
       SUM(a.total_pages) * 8 AS TotalSpaceKB,
       CAST(ROUND(((SUM(a.total_pages) * 8) / 1024.00), 2) AS NUMERIC(36, 2)) AS TotalSpaceMB,
       SUM(a.used_pages) * 8 AS UsedSpaceKB,
       CAST(ROUND(((SUM(a.used_pages) * 8) / 1024.00), 2) AS NUMERIC(36, 2)) AS UsedSpaceMB,
       (SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB,
       CAST(ROUND(((SUM(a.total_pages) - SUM(a.used_pages)) * 8) / 1024.00, 2) AS NUMERIC(36, 2)) AS UnusedSpaceMB
FROM sys.tables t
    INNER JOIN sys.indexes i
        ON t.object_id = i.object_id
    INNER JOIN sys.partitions p
        ON i.object_id = p.object_id
           AND i.index_id = p.index_id
    INNER JOIN sys.allocation_units a
        ON p.partition_id = a.container_id
    LEFT OUTER JOIN sys.schemas s
        ON t.schema_id = s.schema_id
WHERE t.name NOT LIKE 'dt%'
      AND t.is_ms_shipped = 0
      AND i.object_id &gt; 255
GROUP BY t.name,
         s.name,
         p.rows
ORDER BY TotalSpaceMB DESC,
         t.name;</code></pre>
<p>Yukarıdaki kodu çalıştırdığınızda aşağıdakine benzer bir sonuç göreceksiniz.</p>
<p><img decoding="async" class="alignnone wp-image-11665 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2021/11/sql-serverda-tablo-boyutlarini-gormek-1.jpg" alt="SQL Server'da Tablo Boyutlarını Görmek" width="700" height="623" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2021/11/sql-serverda-tablo-boyutlarini-gormek-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2021/11/sql-serverda-tablo-boyutlarini-gormek-1-303x270.jpg 303w, https://sqlserveregitimleri.com/wp-content/uploads/2021/11/sql-serverda-tablo-boyutlarini-gormek-1-337x300.jpg 337w, https://sqlserveregitimleri.com/wp-content/uploads/2021/11/sql-serverda-tablo-boyutlarini-gormek-1-152x135.jpg 152w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere tablo boyutları görülmüş oldu.</p>
<p>Herkese çalışma hayatında ve yaşamında başarılar kolaylıklar.</p>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 401</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
