... beyond making sure all the indexes are present, to improve that query.
No, you didn't. You interpreted the data right. You undoubtedly know this already, but be aware that GEOMETRY and GEOGRAPHY in SQL Server don't use a f table, features are stored straight in the base table.Still a huge number of vertices per feature by any measure.
The databases are on virtual servers. The destination server is configured as two Intel E5-2260 @ 2.2 GHz CPUs, Windows Server 2008 Standard Edition, 64 bit, 16 GB RAM.
Perhaps what I was doing was exposing my naivete and relative inexperience when dealing with spatial data in "hard core" fashion. Here's how I got my numbers:I queried SDE_LAYERS to get the layer_id for the feature class I wanted to examine, then I simply queried the corresponding f table to take the average of numofpts column. That is the number I reported as being the average number of vertices for a feature in that class. Did I misunderstand the content of the f table?
I have the following stats for the layer in question:366k featuresnumofpts: avg 2127, min 13, max 144,969 (!!!), standard deviation about 5086, median 1023.The feature with 145k vertices is Monroe County, FL.
sdeexport -o create -f - ... | sdeimport -o create -f - -k GEOMETRY ...
So you're saying you have 10K+ features comprising an average of 2100 vertices per feature at scale 1:100.000??? :eek:Is this data stream-digitized from imagery, with never a proper weeding out of unnecessary vertices? I can't imagine any polygon / line needing up to 2100 individual vertices to define its form at scale 1:100.000. Even at scale 1:1000, it would be highly undesirable to have such huge amounts of vertices per feature...For a highly detailed and high quality 1:1000 base map here in the Netherlands of the national highway system, where I was involved in the re-design of the photogrammetry based workflow and database migration some ten years ago, a test dataset had an average of about 27 vertices per feature..., minimum 4, maximum 1026, but that was a rare exception.Writing to an old, but dedicated and further unused Sun Sparc Ultra-2 single 100 MHz processor Unix server, and storing in SDE_BINARY, resulted in data load speeds of about 120 features / second, so about 27*120=3240 vertices / second. (Oracle 😎Again, we're talking >10 years ago here...Your data loads at 14700 to 18900 vertices per second. I leave it to others to comment if that is a normal speed right now with the configuration details you posted... but you really may need to reconsider your workflow for collecting and storing this data...
Vertices per second is a very misleading metric. I wouldn't trust it for much.Databases do work in transactions. Each ROW is processed in total, which includesLOBs and strings. A one-vertex GeoNames point could have 8-10k of data in a single row,while a dense 2k vertex polygon without attributes could easily use less. It is critical to makesure all comparisons are for roughly equal row contents, otherwise the difference in real work(I/O) processing each row will warp your expectations.- V
For a polygon feature class that has about 25 attribute columns, we are getting data copy rates of only 7 to 9 features a second whether we use Feature Class to Feature Class, Copy Features, or Append. The polygons are based on 1:100,000 scale data at the county-level size (average of about 2,100 vertices / feature) to give you a sense of the level of detail....Of course there is the basic issue of whether you have the business key data on which you are doing the SQL joins indexed properly- that can have an enormous impact on performance, particularly when you have thousands or tens of thousands of featured involved.
Dear experts,I have a spatial view with 25 columns in the database server that looks like this:...BTW, is view replicate-able using One-Way replication ?[arcsde 10.0, sql server 2005]
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.