6.8. pilotscope.PilotTransData

class PilotTransData[source]

Bases: object

__init__()None[source]
Parameters
  • sql – The SQL statement that generated this data.

  • records – The records returned by the SQL statement.

  • physical_plan – The physical plan of the SQL statement.

  • execution_time – The execution time of the SQL statement.

  • estimated_cost – The estimated cost of the query plan.

  • buffercache – The buffercache of each table after executing the SQL statement.

  • subquery_2_card – A sub-plan-query-to-cardinality dict that is generated by the optimizer where building query plan.