cost database query
The cost is a number that represents the estimated resource usage for an execution plan. The optimizerâs cost model accounts for the I/O, CPU, and network resources that the database requires to execute the query. The optimizer assigns a cost to each possible plan, and then chooses the plan with the lowest cost.