diff --git a/content/2016-04.md b/content/2016-04.md
index 2acd86658..10346f208 100644
--- a/content/2016-04.md
+++ b/content/2016-04.md
@@ -226,3 +226,27 @@ javax.ws.rs.WebApplicationException
- Everything else in the system looked normal (50GB disk space available, nothing weird in dmesg, etc)
- After restarting Tomcat a few more of these errors were logged but the application was up
+
+## 2016-04-19
+
+- Get handles for items that are using a given metadata field, ie `dc.Species.animal` (105):
+
+```
+# select handle from item, handle where handle.resource_id = item.item_id AND item.item_id in (select resource_id from metadatavalue where resource_type_id=2 and metadata_field_id=105);
+ handle
+-------------
+ 10568/10298
+ 10568/16413
+ 10568/16774
+ 10568/34487
+```
+
+- Delete metadata values for `dc.GRP` and `dc.icsubject.icrafsubject`:
+
+```
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=96;
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=83;
+```
+
+- They are old ICRAF fields and we haven't used them since 2011 or so
+- Also delete them from the metadata registry
diff --git a/public/2016-04/index.html b/public/2016-04/index.html
index f24748690..c38e302bc 100644
--- a/public/2016-04/index.html
+++ b/public/2016-04/index.html
@@ -334,6 +334,34 @@ javax.ws.rs.WebApplicationException
- Everything else in the system looked normal (50GB disk space available, nothing weird in dmesg, etc)
- After restarting Tomcat a few more of these errors were logged but the application was up
+
+
+2016-04-19
+
+
+- Get handles for items that are using a given metadata field, ie
dc.Species.animal
(105):
+
+
+# select handle from item, handle where handle.resource_id = item.item_id AND item.item_id in (select resource_id from metadatavalue where resource_type_id=2 and metadata_field_id=105);
+ handle
+-------------
+ 10568/10298
+ 10568/16413
+ 10568/16774
+ 10568/34487
+
+
+
+- Delete metadata values for
dc.GRP
and dc.icsubject.icrafsubject
:
+
+
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=96;
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=83;
+
+
+
+- They are old ICRAF fields and we haven’t used them since 2011 or so
+- Also delete them from the metadata registry
diff --git a/public/index.xml b/public/index.xml
index 952199214..8a745bcbb 100644
--- a/public/index.xml
+++ b/public/index.xml
@@ -273,6 +273,34 @@ javax.ws.rs.WebApplicationException
<li>Everything else in the system looked normal (50GB disk space available, nothing weird in dmesg, etc)</li>
<li>After restarting Tomcat a few more of these errors were logged but the application was up</li>
</ul>
+
+<h2 id="2016-04-19:c88be15f5b2f07c85f7742556a955e47">2016-04-19</h2>
+
+<ul>
+<li>Get handles for items that are using a given metadata field, ie <code>dc.Species.animal</code> (105):</li>
+</ul>
+
+<pre><code># select handle from item, handle where handle.resource_id = item.item_id AND item.item_id in (select resource_id from metadatavalue where resource_type_id=2 and metadata_field_id=105);
+ handle
+-------------
+ 10568/10298
+ 10568/16413
+ 10568/16774
+ 10568/34487
+</code></pre>
+
+<ul>
+<li>Delete metadata values for <code>dc.GRP</code> and <code>dc.icsubject.icrafsubject</code>:</li>
+</ul>
+
+<pre><code># delete from metadatavalue where resource_type_id=2 and metadata_field_id=96;
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=83;
+</code></pre>
+
+<ul>
+<li>They are old ICRAF fields and we haven’t used them since 2011 or so</li>
+<li>Also delete them from the metadata registry</li>
+</ul>
diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml
index 1547a12a3..1c5cde84f 100644
--- a/public/tags/notes/index.xml
+++ b/public/tags/notes/index.xml
@@ -273,6 +273,34 @@ javax.ws.rs.WebApplicationException
<li>Everything else in the system looked normal (50GB disk space available, nothing weird in dmesg, etc)</li>
<li>After restarting Tomcat a few more of these errors were logged but the application was up</li>
</ul>
+
+<h2 id="2016-04-19:c88be15f5b2f07c85f7742556a955e47">2016-04-19</h2>
+
+<ul>
+<li>Get handles for items that are using a given metadata field, ie <code>dc.Species.animal</code> (105):</li>
+</ul>
+
+<pre><code># select handle from item, handle where handle.resource_id = item.item_id AND item.item_id in (select resource_id from metadatavalue where resource_type_id=2 and metadata_field_id=105);
+ handle
+-------------
+ 10568/10298
+ 10568/16413
+ 10568/16774
+ 10568/34487
+</code></pre>
+
+<ul>
+<li>Delete metadata values for <code>dc.GRP</code> and <code>dc.icsubject.icrafsubject</code>:</li>
+</ul>
+
+<pre><code># delete from metadatavalue where resource_type_id=2 and metadata_field_id=96;
+# delete from metadatavalue where resource_type_id=2 and metadata_field_id=83;
+</code></pre>
+
+<ul>
+<li>They are old ICRAF fields and we haven’t used them since 2011 or so</li>
+<li>Also delete them from the metadata registry</li>
+</ul>