<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to determine layer size (in KB or MB) raster and vector in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140881#M8114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no ArcSDE command to report storage of database objects.&amp;nbsp; Instead you must&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use database tools to determine this information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sp_space_used will report the storage of a table for SQL-Server, but you need to identify&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the correct associated table (in the form SDE_blk_{n}, where {n} is the rastercolumn_id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;value from sde.SDE_raster_columns table for the table_name associated with the raster).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are other tables (and indexes) as well, but the BLK table generally holds 99% of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the overall allocation.&amp;nbsp; Vector storage determination is trickier, since the three primary &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tables are more nearly equal (except when you have thousands of vertices per feature),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and versioning makes the problem more complex (two more tables, which may be either&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;small or large, depending on your versioing state tree).&amp;nbsp; The 'sdetable -o describe_reg'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;command will identify the tables which participate with a business table in storage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of spatial data, but you may then need to determine the indexes of each table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, you need to consider high water marks, since storage isn't generally released &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;after a delete operation (on the assumption [by the RDBMS] that the table will grow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;again anyway).&amp;nbsp; Other databases also incorporate "extent" (or "chunk") management&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overhead so that even a 10Kb LOB might use hundreds of Mb.&amp;nbsp; Then there's block&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overhead on the disk drive,...&amp;nbsp; All in all, it's a rather complex issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Nov 2010 16:51:43 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2010-11-04T16:51:43Z</dc:date>
    <item>
      <title>How to determine layer size (in KB or MB) raster and vector</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140879#M8112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the sde command to fid out how much space takes any layer in the sde GDB?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the stored procedure sp_space used in SQL Server 2008 but the size of the raster table didn't seem correct (size too small).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ivan Santiago&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;San Juan, PR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 15:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140879#M8112</guid>
      <dc:creator>IvanSantiago</dc:creator>
      <dc:date>2010-11-04T15:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine layer size (in KB or MB) raster and vector</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140880#M8113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ivan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "real" info of raster dataset or catalog stores in &amp;lt;schema&amp;gt;.SDE_blk_# table. Check the sde_raster_columns table to find out what # is associated to the raster dataset your are interested in, then you know which BLK table contains the raster info (pixles). See the link for the raster dataset structure,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Raster_dataset_and_raster_catalog_storage/002q0000007p000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Raster_dataset_and_raster_catalog_storage/002q0000007p000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I mornally just use the SSMS's report functions to get the size of a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 16:30:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140880#M8113</guid>
      <dc:creator>RobertHu</dc:creator>
      <dc:date>2010-11-04T16:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine layer size (in KB or MB) raster and vector</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140881#M8114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no ArcSDE command to report storage of database objects.&amp;nbsp; Instead you must&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use database tools to determine this information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sp_space_used will report the storage of a table for SQL-Server, but you need to identify&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the correct associated table (in the form SDE_blk_{n}, where {n} is the rastercolumn_id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;value from sde.SDE_raster_columns table for the table_name associated with the raster).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are other tables (and indexes) as well, but the BLK table generally holds 99% of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the overall allocation.&amp;nbsp; Vector storage determination is trickier, since the three primary &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tables are more nearly equal (except when you have thousands of vertices per feature),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and versioning makes the problem more complex (two more tables, which may be either&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;small or large, depending on your versioing state tree).&amp;nbsp; The 'sdetable -o describe_reg'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;command will identify the tables which participate with a business table in storage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of spatial data, but you may then need to determine the indexes of each table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, you need to consider high water marks, since storage isn't generally released &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;after a delete operation (on the assumption [by the RDBMS] that the table will grow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;again anyway).&amp;nbsp; Other databases also incorporate "extent" (or "chunk") management&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overhead so that even a 10Kb LOB might use hundreds of Mb.&amp;nbsp; Then there's block&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overhead on the disk drive,...&amp;nbsp; All in all, it's a rather complex issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 16:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140881#M8114</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-11-04T16:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine layer size (in KB or MB) raster and vector</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140882#M8115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks Vince and Robert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very much appreciated, though no easy solution, except for rasters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ivan Santiago&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;San Juan, PR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 17:38:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-determine-layer-size-in-kb-or-mb-raster-and/m-p/140882#M8115</guid>
      <dc:creator>IvanSantiago</dc:creator>
      <dc:date>2010-11-04T17:38:24Z</dc:date>
    </item>
  </channel>
</rss>

