#include <ndb_logevent.h>
Public Attributes | |
| void * | handle |
| enum Ndb_logevent_type | type |
| unsigned | time |
| enum ndb_mgm_event_category | category |
| enum ndb_mgm_event_severity | severity |
| unsigned | level |
| unsigned | source_nodeid |
| union { | |
| struct { | |
| unsigned node | |
| } Connected | |
| struct { | |
| unsigned node | |
| } Disconnected | |
| struct { | |
| unsigned node | |
| } CommunicationClosed | |
| struct { | |
| unsigned node | |
| } CommunicationOpened | |
| struct { | |
| unsigned node | |
| unsigned version | |
| } ConnectedApiVersion | |
| struct { | |
| unsigned gci | |
| } GlobalCheckpointStarted | |
| struct { | |
| unsigned gci | |
| } GlobalCheckpointCompleted | |
| struct { | |
| unsigned lci | |
| unsigned keep_gci | |
| unsigned restore_gci | |
| } LocalCheckpointStarted | |
| struct { | |
| unsigned lci | |
| } LocalCheckpointCompleted | |
| struct { | |
| unsigned data | |
| } LCPStoppedInCalcKeepGci | |
| struct { | |
| unsigned node | |
| unsigned table_id | |
| unsigned fragment_id | |
| } LCPFragmentCompleted | |
| struct { | |
| unsigned acc_count | |
| unsigned tup_count | |
| } UndoLogBlocked | |
| struct { | |
| unsigned version | |
| } NDBStartStarted | |
| struct { | |
| unsigned version | |
| } NDBStartCompleted | |
| struct { | |
| unsigned _todo | |
| } STTORRYRecieved | |
| struct { | |
| unsigned phase | |
| unsigned starttype | |
| } StartPhaseCompleted | |
| struct { | |
| unsigned own_id | |
| unsigned president_id | |
| unsigned dynamic_id | |
| } CM_REGCONF | |
| struct { | |
| unsigned own_id | |
| unsigned other_id | |
| unsigned cause | |
| } CM_REGREF | |
| struct { | |
| unsigned own_id | |
| unsigned left_id | |
| unsigned right_id | |
| unsigned dynamic_id | |
| } FIND_NEIGHBOURS | |
| struct { | |
| unsigned stoptype | |
| } NDBStopStarted | |
| struct { | |
| unsigned action | |
| unsigned signum | |
| } NDBStopCompleted | |
| struct { | |
| unsigned action | |
| unsigned signum | |
| unsigned error | |
| unsigned sphase | |
| unsigned extra | |
| } NDBStopForced | |
| struct { | |
| unsigned _todo | |
| } NDBStopAborted | |
| struct { | |
| unsigned node | |
| unsigned keep_gci | |
| unsigned completed_gci | |
| unsigned restorable_gci | |
| } StartREDOLog | |
| struct { | |
| unsigned log_part | |
| unsigned start_mb | |
| unsigned stop_mb | |
| unsigned gci | |
| } StartLog | |
| struct { | |
| unsigned block | |
| unsigned data1 | |
| unsigned data2 | |
| unsigned data3 | |
| unsigned data4 | |
| unsigned data5 | |
| unsigned data6 | |
| unsigned data7 | |
| unsigned data8 | |
| unsigned data9 | |
| unsigned data10 | |
| } UNDORecordsExecuted | |
| struct { | |
| unsigned _todo | |
| } NR_CopyDict | |
| struct { | |
| unsigned _todo | |
| } NR_CopyDistr | |
| struct { | |
| unsigned dest_node | |
| } NR_CopyFragsStarted | |
| struct { | |
| unsigned dest_node | |
| unsigned table_id | |
| unsigned fragment_id | |
| } NR_CopyFragDone | |
| struct { | |
| unsigned dest_node | |
| } NR_CopyFragsCompleted | |
| struct { | |
| unsigned block | |
| unsigned failed_node | |
| unsigned completing_node | |
| } NodeFailCompleted | |
| struct { | |
| unsigned failed_node | |
| unsigned failure_state | |
| } NODE_FAILREP | |
| struct { | |
| unsigned code | |
| unsigned arbit_node | |
| unsigned ticket_0 | |
| unsigned ticket_1 | |
| } ArbitState | |
| struct { | |
| unsigned code | |
| unsigned arbit_node | |
| unsigned ticket_0 | |
| unsigned ticket_1 | |
| } ArbitResult | |
| struct { | |
| unsigned _todo | |
| } GCP_TakeoverStarted | |
| struct { | |
| unsigned _todo | |
| } GCP_TakeoverCompleted | |
| struct { | |
| unsigned _todo | |
| } LCP_TakeoverStarted | |
| struct { | |
| unsigned state | |
| } LCP_TakeoverCompleted | |
| struct { | |
| unsigned trans_count | |
| unsigned commit_count | |
| unsigned read_count | |
| unsigned simple_read_count | |
| unsigned write_count | |
| unsigned attrinfo_count | |
| unsigned conc_op_count | |
| unsigned abort_count | |
| unsigned scan_count | |
| unsigned range_scan_count | |
| } TransReportCounters | |
| struct { | |
| unsigned ops | |
| } OperationReportCounters | |
| struct { | |
| unsigned table_id | |
| } TableCreated | |
| struct { | |
| unsigned mean_loop_count | |
| } JobStatistic | |
| struct { | |
| unsigned to_node | |
| unsigned mean_sent_bytes | |
| } SendBytesStatistic | |
| struct { | |
| unsigned from_node | |
| unsigned mean_received_bytes | |
| } ReceiveBytesStatistic | |
| struct { | |
| int gth | |
| union { | |
| unsigned page_size_kb | |
| unsigned page_size_bytes | |
| } | |
| unsigned pages_used | |
| unsigned pages_total | |
| unsigned block | |
| } MemoryUsage | |
| struct { | |
| unsigned to_node | |
| unsigned code | |
| } TransporterError | |
| struct { | |
| unsigned to_node | |
| unsigned code | |
| } TransporterWarning | |
| struct { | |
| unsigned node | |
| unsigned count | |
| } MissedHeartbeat | |
| struct { | |
| unsigned node | |
| } DeadDueToHeartbeat | |
| struct { | |
| unsigned _todo | |
| } WarningEvent | |
| struct { | |
| unsigned node | |
| } SentHeartbeat | |
| struct { | |
| unsigned node | |
| } CreateLogBytes | |
| struct { | |
| unsigned _todo | |
| } InfoEvent | |
| struct { | |
| unsigned usage | |
| unsigned alloc | |
| unsigned max | |
| unsigned apply_gci_l | |
| unsigned apply_gci_h | |
| unsigned latest_gci_l | |
| unsigned latest_gci_h | |
| } EventBufferStatus | |
| struct { | |
| unsigned starting_node | |
| unsigned backup_id | |
| } BackupStarted | |
| struct { | |
| unsigned starting_node | |
| unsigned error | |
| } BackupFailedToStart | |
| struct { | |
| unsigned starting_node | |
| unsigned backup_id | |
| unsigned start_gci | |
| unsigned stop_gci | |
| unsigned n_records | |
| unsigned n_log_records | |
| unsigned n_bytes | |
| unsigned n_log_bytes | |
| unsigned n_records_hi | |
| unsigned n_log_records_hi | |
| unsigned n_bytes_hi | |
| unsigned n_log_bytes_hi | |
| } BackupCompleted | |
| struct { | |
| unsigned starting_node | |
| unsigned backup_id | |
| unsigned n_records_lo | |
| unsigned n_records_hi | |
| unsigned n_log_records_lo | |
| unsigned n_log_records_hi | |
| unsigned n_bytes_lo | |
| unsigned n_bytes_hi | |
| unsigned n_log_bytes_lo | |
| unsigned n_log_bytes_hi | |
| } BackupStatus | |
| struct { | |
| unsigned starting_node | |
| unsigned backup_id | |
| unsigned error | |
| } BackupAborted | |
| struct { | |
| unsigned backup_id | |
| unsigned node_id | |
| } RestoreStarted | |
| struct { | |
| unsigned backup_id | |
| unsigned node_id | |
| unsigned n_tables | |
| unsigned n_tablespaces | |
| unsigned n_logfilegroups | |
| unsigned n_datafiles | |
| unsigned n_undofiles | |
| } RestoreMetaData | |
| struct { | |
| unsigned backup_id | |
| unsigned node_id | |
| unsigned n_records_lo | |
| unsigned n_records_hi | |
| unsigned n_bytes_lo | |
| unsigned n_bytes_hi | |
| } RestoreData | |
| struct { | |
| unsigned backup_id | |
| unsigned node_id | |
| unsigned n_records_lo | |
| unsigned n_records_hi | |
| unsigned n_bytes_lo | |
| unsigned n_bytes_hi | |
| } RestoreLog | |
| struct { | |
| unsigned backup_id | |
| unsigned node_id | |
| } RestoreCompleted | |
| struct { | |
| unsigned node_id | |
| unsigned total_files | |
| unsigned file_done | |
| unsigned total_mbytes | |
| unsigned mbytes_done | |
| } LogFileInitStatus | |
| struct { | |
| unsigned type | |
| unsigned node_id | |
| } SingleUser | |
| struct { | |
| unsigned report_type | |
| unsigned remaining_time | |
| unsigned bitmask_size | |
| unsigned bitmask_data [1] | |
| } StartReport | |
| struct { | |
| unsigned thr_no | |
| unsigned prioa_count | |
| unsigned prioa_size | |
| unsigned priob_count | |
| unsigned priob_size | |
| } MTSignalStatistics | |
| struct { | |
| unsigned report_type | |
| unsigned node_id | |
| } SubscriptionStatus | |
| struct { | |
| unsigned log_part | |
| unsigned head_file_no | |
| unsigned head_mbyte | |
| unsigned tail_file_no | |
| unsigned tail_mbyte | |
| unsigned total_hi | |
| unsigned total_lo | |
| unsigned free_hi | |
| unsigned free_lo | |
| } RedoStatus | |
| }; | |
| union { ... } |
Union of log event specific data. Use type to decide which struct to use
| unsigned ndb_logevent::_todo |
| unsigned ndb_logevent::abort_count |
| unsigned ndb_logevent::acc_count |
| unsigned ndb_logevent::action |
| unsigned ndb_logevent::alloc |
| unsigned ndb_logevent::apply_gci_h |
| unsigned ndb_logevent::apply_gci_l |
| unsigned ndb_logevent::arbit_node |
| struct { ... } ndb_logevent::ArbitResult |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::ArbitState |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::attrinfo_count |
| unsigned ndb_logevent::backup_id |
| struct { ... } ndb_logevent::BackupAborted |
Log event data NDB_LE_BackupAborted
| struct { ... } ndb_logevent::BackupCompleted |
Log event data NDB_LE_BackupCompleted
| struct { ... } ndb_logevent::BackupFailedToStart |
Log event data NDB_LE_BackupFailedToStart
| struct { ... } ndb_logevent::BackupStarted |
Log event data for NDB_LE_BackupStarted
| struct { ... } ndb_logevent::BackupStatus |
Log event data NDB_LE_BackupStatus
| unsigned ndb_logevent::bitmask_data[1] |
| unsigned ndb_logevent::bitmask_size |
| unsigned ndb_logevent::block |
Category of log event
| unsigned ndb_logevent::cause |
| struct { ... } ndb_logevent::CM_REGCONF |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::CM_REGREF |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::code |
| unsigned ndb_logevent::commit_count |
| struct { ... } ndb_logevent::CommunicationClosed |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::CommunicationOpened |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::completed_gci |
| unsigned ndb_logevent::completing_node |
| unsigned ndb_logevent::conc_op_count |
| struct { ... } ndb_logevent::Connected |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::ConnectedApiVersion |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::count |
| struct { ... } ndb_logevent::CreateLogBytes |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::data |
| unsigned ndb_logevent::data1 |
| unsigned ndb_logevent::data10 |
| unsigned ndb_logevent::data2 |
| unsigned ndb_logevent::data3 |
| unsigned ndb_logevent::data4 |
| unsigned ndb_logevent::data5 |
| unsigned ndb_logevent::data6 |
| unsigned ndb_logevent::data7 |
| unsigned ndb_logevent::data8 |
| unsigned ndb_logevent::data9 |
| struct { ... } ndb_logevent::DeadDueToHeartbeat |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::dest_node |
| struct { ... } ndb_logevent::Disconnected |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::dynamic_id |
| unsigned ndb_logevent::error |
| struct { ... } ndb_logevent::EventBufferStatus |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::extra |
| unsigned ndb_logevent::failed_node |
| unsigned ndb_logevent::failure_state |
| unsigned ndb_logevent::file_done |
| struct { ... } ndb_logevent::FIND_NEIGHBOURS |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::fragment_id |
| unsigned ndb_logevent::free_hi |
| unsigned ndb_logevent::free_lo |
| unsigned ndb_logevent::from_node |
| unsigned ndb_logevent::gci |
| struct { ... } ndb_logevent::GCP_TakeoverCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::GCP_TakeoverStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::GlobalCheckpointCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::GlobalCheckpointStarted |
Log event specific data for for corresponding NDB_LE_ log event
| void* ndb_logevent::handle |
NdbLogEventHandle (to be used for comparing only) set in ndb_logevent_get_next()
| unsigned ndb_logevent::head_file_no |
| unsigned ndb_logevent::head_mbyte |
| struct { ... } ndb_logevent::InfoEvent |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::JobStatistic |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::keep_gci |
| unsigned ndb_logevent::latest_gci_h |
| unsigned ndb_logevent::latest_gci_l |
| unsigned ndb_logevent::lci |
| struct { ... } ndb_logevent::LCP_TakeoverCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LCP_TakeoverStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LCPFragmentCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LCPStoppedInCalcKeepGci |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::left_id |
| unsigned ndb_logevent::level |
Level (0-15) of log event
| struct { ... } ndb_logevent::LocalCheckpointCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::LocalCheckpointStarted |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::log_part |
| struct { ... } ndb_logevent::LogFileInitStatus |
Log event data NDB_LE_LogFileInitStatus
| unsigned ndb_logevent::max |
| unsigned ndb_logevent::mbytes_done |
| unsigned ndb_logevent::mean_loop_count |
| unsigned ndb_logevent::mean_received_bytes |
| unsigned ndb_logevent::mean_sent_bytes |
| struct { ... } ndb_logevent::MemoryUsage |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::MissedHeartbeat |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::MTSignalStatistics |
Log event data NDB_LE_MTSignalStatistic
| unsigned ndb_logevent::n_bytes |
| unsigned ndb_logevent::n_bytes_hi |
| unsigned ndb_logevent::n_bytes_lo |
| unsigned ndb_logevent::n_datafiles |
| unsigned ndb_logevent::n_log_bytes |
| unsigned ndb_logevent::n_log_bytes_hi |
| unsigned ndb_logevent::n_log_bytes_lo |
| unsigned ndb_logevent::n_log_records |
| unsigned ndb_logevent::n_log_records_hi |
| unsigned ndb_logevent::n_log_records_lo |
| unsigned ndb_logevent::n_logfilegroups |
| unsigned ndb_logevent::n_records |
| unsigned ndb_logevent::n_records_hi |
| unsigned ndb_logevent::n_records_lo |
| unsigned ndb_logevent::n_tables |
| unsigned ndb_logevent::n_tablespaces |
| unsigned ndb_logevent::n_undofiles |
| struct { ... } ndb_logevent::NDBStartCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStartStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopAborted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopForced |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NDBStopStarted |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::node |
| struct { ... } ndb_logevent::NODE_FAILREP |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::node_id |
| struct { ... } ndb_logevent::NodeFailCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyDict |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyDistr |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyFragDone |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyFragsCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::NR_CopyFragsStarted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::OperationReportCounters |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::ops |
| unsigned ndb_logevent::other_id |
| unsigned ndb_logevent::own_id |
| unsigned ndb_logevent::page_size_bytes |
| unsigned ndb_logevent::page_size_kb |
| unsigned ndb_logevent::pages_total |
| unsigned ndb_logevent::pages_used |
| unsigned ndb_logevent::phase |
| unsigned ndb_logevent::president_id |
| unsigned ndb_logevent::prioa_count |
| unsigned ndb_logevent::prioa_size |
| unsigned ndb_logevent::priob_count |
| unsigned ndb_logevent::priob_size |
| unsigned ndb_logevent::range_scan_count |
| unsigned ndb_logevent::read_count |
| struct { ... } ndb_logevent::ReceiveBytesStatistic |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::RedoStatus |
Log event data NDB_LE_RedoStatus
| unsigned ndb_logevent::remaining_time |
| unsigned ndb_logevent::report_type |
| unsigned ndb_logevent::restorable_gci |
| unsigned ndb_logevent::restore_gci |
| struct { ... } ndb_logevent::RestoreCompleted |
Log event data NDB_LE_RestoreCompleted
| struct { ... } ndb_logevent::RestoreData |
Log event data NDB_LE_RestoreData
| struct { ... } ndb_logevent::RestoreLog |
Log event data NDB_LE_RestoreLog
| struct { ... } ndb_logevent::RestoreMetaData |
Log event data NDB_LE_RestoreMetaData
| struct { ... } ndb_logevent::RestoreStarted |
Log event data NDB_LE_RestoreStarted
| unsigned ndb_logevent::right_id |
| unsigned ndb_logevent::scan_count |
| struct { ... } ndb_logevent::SendBytesStatistic |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::SentHeartbeat |
Log event specific data for for corresponding NDB_LE_ log event
Severity of log event
| unsigned ndb_logevent::signum |
| unsigned ndb_logevent::simple_read_count |
| struct { ... } ndb_logevent::SingleUser |
Log event data NDB_LE_SingleUser
| unsigned ndb_logevent::source_nodeid |
Node ID of the node that reported the log event
| unsigned ndb_logevent::sphase |
| unsigned ndb_logevent::start_gci |
| unsigned ndb_logevent::start_mb |
| unsigned ndb_logevent::starting_node |
| struct { ... } ndb_logevent::StartLog |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::StartPhaseCompleted |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::StartREDOLog |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::StartReport |
Log even data NDB_LE_StartReport
| unsigned ndb_logevent::starttype |
| unsigned ndb_logevent::state |
| unsigned ndb_logevent::stop_gci |
| unsigned ndb_logevent::stop_mb |
| unsigned ndb_logevent::stoptype |
| struct { ... } ndb_logevent::STTORRYRecieved |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::SubscriptionStatus |
Log event data NDB_LE_SubscriptionStatus
| unsigned ndb_logevent::table_id |
| struct { ... } ndb_logevent::TableCreated |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::tail_file_no |
| unsigned ndb_logevent::tail_mbyte |
| unsigned ndb_logevent::thr_no |
| unsigned ndb_logevent::ticket_0 |
| unsigned ndb_logevent::ticket_1 |
| unsigned ndb_logevent::time |
Time when log event was registred at the management server
| unsigned ndb_logevent::to_node |
| unsigned ndb_logevent::total_files |
| unsigned ndb_logevent::total_hi |
| unsigned ndb_logevent::total_lo |
| unsigned ndb_logevent::total_mbytes |
| unsigned ndb_logevent::trans_count |
| struct { ... } ndb_logevent::TransporterError |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::TransporterWarning |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::TransReportCounters |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::tup_count |
| unsigned ndb_logevent::type |
Which event
| struct { ... } ndb_logevent::UndoLogBlocked |
Log event specific data for for corresponding NDB_LE_ log event
| struct { ... } ndb_logevent::UNDORecordsExecuted |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::usage |
| unsigned ndb_logevent::version |
| struct { ... } ndb_logevent::WarningEvent |
Log event specific data for for corresponding NDB_LE_ log event
| unsigned ndb_logevent::write_count |
Based on MySQL Cluster 7.0.6.
This page is for information only and is not maintained by MySQL or Sun Microsystems - use at your own risk. For an upto date view of the API refer to the header files included with your MySQL Cluster distribution or check the MySQL Cluster API Developer Guide.