ndb_logevent Struct Reference
[MGM_C_API]

#include <ndb_logevent.h>

List of all members.

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
}; 


Detailed Description

Structure to store and retrieve log event information.
See also:
Structured Log Events

Member Data Documentation

union { ... }

Union of log event specific data. Use type to decide which struct to use

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

Log event data NDB_LE_BackupAborted

Log event data NDB_LE_BackupCompleted

Log event data for NDB_LE_BackupStarted

Log event data NDB_LE_BackupStatus

Category of log event

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

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

struct { ... } ndb_logevent::Connected

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

NdbLogEventHandle (to be used for comparing only) set in ndb_logevent_get_next()

struct { ... } ndb_logevent::InfoEvent

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Level (0-15) of log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event data NDB_LE_LogFileInitStatus

struct { ... } ndb_logevent::MemoryUsage

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event data NDB_LE_MTSignalStatistic

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

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

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

struct { ... } ndb_logevent::RedoStatus

Log event data NDB_LE_RedoStatus

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

Log event data NDB_LE_RestoreMetaData

Log event data NDB_LE_RestoreStarted

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Severity of log event

struct { ... } ndb_logevent::SingleUser

Log event data NDB_LE_SingleUser

Node ID of the node that reported the log event

struct { ... } ndb_logevent::StartLog

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

struct { ... } ndb_logevent::StartReport

Log even data NDB_LE_StartReport

Log event specific data for for corresponding NDB_LE_ log event

Log event data NDB_LE_SubscriptionStatus

Log event specific data for for corresponding NDB_LE_ log event

Time when log event was registred at the management server

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Which event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event

Log event specific data for for corresponding NDB_LE_ log event


The documentation for this struct was generated from the following file:

MySQL Cluster Database Blog

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.