<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Soporte a Usuarios Macri y Asociados : TAMAÑO BASE DE DATOS</title>
  <link>https://soporte.macri.com.ar/</link>
  <description>This is an XML content feed of; Soporte a Usuarios Macri y Asociados : Uso : TAMAÑO BASE DE DATOS</description>
  <pubDate>Thu, 14 May 2026 07:55:59 +0000</pubDate>
  <lastBuildDate>Wed, 17 Oct 2012 21:45:55 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 10.03</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://soporte.macri.com.ar/RSS_post_feed.asp?TID=225</WebWizForums:feedURL>
  <image>
   <title>Soporte a Usuarios Macri y Asociados</title>
   <url>https://soporte.macri.com.ar/forum_images/LogoMacrit.png</url>
   <link>https://soporte.macri.com.ar/</link>
  </image>
  <item>
   <title>TAMAÑO BASE DE DATOS : copia esta consulta en envios...</title>
   <link>https://soporte.macri.com.ar/forum_posts.asp?TID=225&amp;PID=841&amp;title=tamao-base-de-datos#841</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://soporte.macri.com.ar/member_profile.asp?PF=4">pablomacri</a><br /><strong>Asunto:</strong> 225<br /><strong>Posteo:</strong> 17/Octubre/2012 en 9:45pm<br /><br />copia esta consulta en envios masivos y hace click en calcular. Ahi te va a decir cual es el tamaño de cada tabla en registros y bytes:<div><br></div><div><br></div><div><div>begin try&nbsp;</div><div>SELECT</div><div>&nbsp;a2.name AS tabla,</div><div>&nbsp;a1.rows as registros,</div><div>&nbsp;a1.data * 8 AS espacio</div><div>FROM</div><div>&nbsp;(SELECT&nbsp;</div><div>&nbsp; ps.object_id,</div><div>&nbsp; SUM (</div><div>&nbsp; &nbsp;CASE</div><div>&nbsp; &nbsp; WHEN (ps.index_id &lt; 2) THEN row_count</div><div>&nbsp; &nbsp; ELSE 0</div><div>&nbsp; &nbsp;END</div><div>&nbsp; &nbsp;) AS &#091;rows&#093;,</div><div>&nbsp; SUM (ps.reserved_page_count) AS reserved,</div><div>&nbsp; SUM (</div><div>&nbsp; &nbsp;CASE</div><div>&nbsp; &nbsp; &nbsp;WHEN (ps.index_id &lt; 2) THEN&nbsp;</div><div>&nbsp; &nbsp;(ps.in_row_data_page_count + ps.lob_used_page_count + ps.row_overflow_used_page_count)</div><div>&nbsp; &nbsp; &nbsp;ELSE (ps.lob_used_page_count + ps.row_overflow_used_page_count)</div><div>&nbsp; &nbsp;END</div><div>&nbsp; &nbsp;) AS data,</div><div>&nbsp; SUM (ps.used_page_count) AS used</div><div>&nbsp;FROM sys.dm_db_partition_stats ps</div><div>&nbsp;GROUP BY ps.object_id) AS a1</div><div>LEFT OUTER JOIN&nbsp;</div><div>&nbsp;(SELECT&nbsp;</div><div>&nbsp; it.parent_id,</div><div>&nbsp; SUM(ps.reserved_page_count) AS reserved,</div><div>&nbsp; SUM(ps.used_page_count) AS used</div><div>&nbsp; FROM sys.dm_db_partition_stats ps</div><div>&nbsp; INNER JOIN sys.internal_tables it ON (it.object_id = ps.object_id)</div><div>&nbsp; WHERE it.internal_type IN (202,204)</div><div>&nbsp; GROUP BY it.parent_id) AS a4 ON (a4.parent_id = a1.object_id)</div><div>INNER JOIN sys.all_objects a2 &nbsp;ON ( a1.object_id = a2.object_id )&nbsp;</div><div>INNER JOIN sys.schemas a3 ON (a2.schema_id = a3.schema_id)</div><div>WHERE a2.type &lt;&gt; 'S' and a2.type &lt;&gt; 'IT'</div><div>ORDER BY DATA DESC</div><div>end try&nbsp;</div><div>begin catch&nbsp;</div><div>select&nbsp;</div><div>&nbsp;-100 as l1</div><div>, 1 as schemaname&nbsp;</div><div>, &nbsp; &nbsp; &nbsp; ERROR_NUMBER() as tablename</div><div>, &nbsp; &nbsp; &nbsp; ERROR_SEVERITY() as row_count</div><div>, &nbsp; &nbsp; &nbsp; ERROR_STATE() as reserved</div><div>, &nbsp; &nbsp; &nbsp; ERROR_MESSAGE() as data</div><div>, &nbsp; &nbsp; &nbsp; 1 as index_size</div><div>, &nbsp; 1 as unused&nbsp;</div><div>end catch</div></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 17 Oct 2012 21:45:55 +0000</pubDate>
   <guid isPermaLink="true">https://soporte.macri.com.ar/forum_posts.asp?TID=225&amp;PID=841&amp;title=tamao-base-de-datos#841</guid>
  </item> 
  <item>
   <title>TAMAÑO BASE DE DATOS : C&#195;&#179;mo podemos conocer el tama&#195;&#177;o...</title>
   <link>https://soporte.macri.com.ar/forum_posts.asp?TID=225&amp;PID=839&amp;title=tamao-base-de-datos#839</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://soporte.macri.com.ar/member_profile.asp?PF=195">BORIMPORT_MB</a><br /><strong>Asunto:</strong> 225<br /><strong>Posteo:</strong> 17/Octubre/2012 en 9:34pm<br /><br />Cómo podemos conocer el tamaño en el que inciden los mails sincronizados a través del CRM en el tamaño total de la base de TANGO...?<div>Gracias. Martín</div>]]>
   </description>
   <pubDate>Wed, 17 Oct 2012 21:34:03 +0000</pubDate>
   <guid isPermaLink="true">https://soporte.macri.com.ar/forum_posts.asp?TID=225&amp;PID=839&amp;title=tamao-base-de-datos#839</guid>
  </item> 
 </channel>
</rss>