@@ -82,6 +82,38 @@ COMMANDS
82
82
metadef_objects, metadef_resource_types, metadef_namespaces and
83
83
metadef_properties.
84
84
85
+ ``db_purge ``
86
+ Purge deleted rows older than a given age from glance db tables.
87
+
88
+ This command interprets the following options when it is invoked:
89
+
90
+ --max_rows Purge deleted rows older than age in days (default
91
+ value if not specified: 100)
92
+ --age_in_days Limit number of records to delete (default value if
93
+ not specified: 30 days)
94
+
95
+ WARNING: This function is useful primarily in test systems. We do not
96
+ recommend its use in production systems unless you have reviewed
97
+ OpenStack Security Note `OSSN-0075 `_ and understand the risk involved.
98
+
99
+ .. _`OSSN-0075` : https://wiki.openstack.org/wiki/OSSN/OSSN-0075
100
+
101
+ ``db_purge_images_table ``
102
+ Purge deleted rows older than a given age from images db tables.
103
+
104
+ This command interprets the following options when it is invoked:
105
+
106
+ --max_rows Purge deleted rows older than age in days (default
107
+ value if not specified: 100)
108
+ --age_in_days Limit number of records to delete (default value if
109
+ not specified: 30 days)
110
+
111
+ WARNING: This function is useful primarily in test systems. We do not
112
+ recommend its use in production systems unless you have reviewed
113
+ OpenStack Security Note `OSSN-0075 `_ and understand the risk involved.
114
+
115
+ .. _`OSSN-0075` : https://wiki.openstack.org/wiki/OSSN/OSSN-0075
116
+
85
117
OPTIONS
86
118
=======
87
119
0 commit comments