p4 graph gc (graph)
Delete records of orphaned objects from the object table.
Syntax
p4 graph gc [-y]
Description
The graph gc -y command deletes orphaned objects from the object table. 
Options
| -y | By default, the p4 graph gc command displays a preview of the results. To execute the operation, include the  | 
Usage notes
| Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required | 
|---|---|---|
| N/A | N/A | super | 
Example
See Delete a repo and free the used storage in the Work with Git in P4 Server Administration Documentation.
Related commands
| To recompute object refcounts in the object table. | |
| To delete refhist records for a repo. |