Contour Feature Class Gets Huge When Copied to SDE

1684
14
05-18-2020 05:20 PM
MattDeitemeyer
New Contributor III

I have a contour feature class that takes up 2 GB in a File GDB. When I move it to SDE the disk space quadrupled. This is a SQL Server instance of SDE. I've tried a number of different methods. I have the same problem regardless if I use ArcGIS 10.5.1 or PRO. I've tried SQL spatial and ESRI binary types for the destination feature class. To move the data I've tried; Load Features, Append, Copy Features, and an old fashion copy/paste. I keep getting the same result, a huge 'file' that takes forever to render. I can move the data between File GDBs with no problem. Any ideas?

0 Kudos
14 Replies
DanPatterson
MVP Esteemed Contributor

Michelle Mathias‌ this needs to be moved.


... sort of retired...
0 Kudos
JoshuaBixby
MVP Esteemed Contributor
0 Kudos
George_Thompson
Esri Frequent Contributor

Is the issue the performance of the layer or the size on disc?

If it is the size, what is the concern on the size?

If it is performance, what are your concerns?

--- George T.
0 Kudos
George_Thompson
Esri Frequent Contributor
0 Kudos
MattDeitemeyer
New Contributor III

Yeah, I read through this. I didn't see anything actionable.

0 Kudos
MattDeitemeyer
New Contributor III

I only care about performance. I only bring up disk space because the bloated size and poor performance appear correlated.

0 Kudos
MattDeitemeyer
New Contributor III

Regarding performance, it comes down simple things like draw time or just opening the attribute table. The FGDB version renders the entire feature class in a minute. The SDE version takes so long I have to kill the application. It's so unmanageable I can't test other performance metrics. 

0 Kudos
George_Thompson
Esri Frequent Contributor

Where is the fGDB located, on the network or local?   If on the network, is it in the same location as the SQL Server machine?

What are the resources of the SQL Server machine when running the draw?

What is the version of SQL Server and machine specs?

Did rebuilding the spatial index make any difference?

I can say that if you are drawing all the contours at full scale, that is a ton of vertices to draw and request.

Based on your comment about timing out, I would look at the SQL machine to see what it is doing when you are trying to draw the contours. I do not think that it has anything to do with the "size on disc".

--- George T.
0 Kudos
George_Thompson
Esri Frequent Contributor

Sorry have a few other thoughts:

Have you generalized the contours at all?

Are you using them for analysis or visualization?

--- George T.
0 Kudos