core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLOptimizeDatabase.java
public Object execute(final Map<Object, Object> iArgs) {
    final StringBuilder result = new StringBuilder();

    if (optimizeEdges)
      result.append(optimizeEdges());

    return result.toString();
  }
public Object execute(final Map<Object, Object> iArgs) {
    final StringBuilder result = new StringBuilder();

    if (optimizeEdges)
      result.append(optimizeEdges());

    return result.toString();
  }
public Object execute ( final Map < Object , Object > iArgs ) { final StringBuilder result = new StringBuilder ( ) ; if ( optimizeEdges ) result . append ( optimizeEdges ( ) ) ; return result . toString ( ) ; }
Execute the ALTER DATABASE.
Execute the ALTER DATABASE .