Deleting parts of an attribute - type: tree

hi everyone.
I hope you are well.

I am currently working on a SMART system that hasnt really been maintained in the last couple of years. There is a species attribute that includes literally thousands and thousands of species (99% of which are not found in this area) and it is slowing everything down, from opening SMART to developing field packages.

These species are part of a type:tree attribute which are split between mammals, reptiles, and birds which are further split taxonomically by order, family, sub-family etc etc. I am trying to delete entire taxonomic groups from this tree and I am encountering the following problems:

  1. Sometimes it wont even let me open the attribute window - it just continue loading for hours - once I close the data model editor, it gives me the java null exception error.
  2. If I get it open, and delete a group, lets say for example all the bird species, ill delete it (which takes hours), once complete, I click save, then the “saving changes” window just stays open and it doesnt seem to get it right to save the changes. It has been “saving my changes” for three hours now.

I unfortunately cant delete the attribute entirely because it is linked to thousands of records (which I am not changing manually). Have you encountered anything like this before? Is there a work around?

I was thinking of exporting the data model, and just removing these sections from the xml file. However, because I cant remove the attribute entirely, I would need to remove all species that dont have records associated with them. Additionally, I would need to export everything (employee lists, patrol files, maps, etc etc) and start a new system (which is also tedious).

Any tips?

Cheers.

Just leaving this here for anyone who experiences something similar. It just takes long to delete and equally long to save. If deleting everything takes 1 hour, it will take between 1 and 2 hours to save these changes. To make sure that it hasnt stalled, just monitor your RAM and CPU in your resource monitor to make sure that SMART hasnt stalled (not responding).

Cheers.

1 Like

Hi, I try saving my edits as a go along. Consider starting a new data base with the clean data model you are working on and using the cross area analysis to be able to compare the new data set with the old one.