A virtual index is not a real index but it is considered by the optimizer when it calculates the cost of a query.