3. An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a database residing in the memory; and a monitor and debug mechanism residing in the memory and executed by the at least one processor, wherein the monitor and debug mechanism receives monitored data from an object oriented query execution data structure that comprises a plurality of object oriented nodes representative of a query to the database, wherein each node in the object oriented query execution data structure includes an object oriented monitor method that enables collection of monitored data from the node and an object oriented dump method that outputs the monitored data, wherein the monitor and debug mechanism displays to a user a graphical representation of the query execution data structure that allows the user to enable monitoring of the plurality of object oriented nodes on a node-by-node basis, to view information dumped from the query execution data structure as the query executes, and to perform query debug functions using the monitored data.
3. An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a database residing in the memory; and a monitor and debug mechanism residing in the memory and executed by the at least one processor, wherein the monitor and debug mechanism receives monitored data from an object oriented query execution data structure that comprises a plurality of object oriented nodes representative of a query to the database, wherein each node in the object oriented query execution data structure includes an object oriented monitor method that enables collection of monitored data from the node and an object oriented dump method that outputs the monitored data, wherein the monitor and debug mechanism displays to a user a graphical representation of the query execution data structure that allows the user to enable monitoring of the plurality of object oriented nodes on a node-by-node basis, to view information dumped from the query execution data structure as the query executes, and to perform query debug functions using the monitored data. 4. The apparatus of claim 3 wherein the monitored data is written to a file, and the file is read by the monitor and debug mechanism.