wp_sgs_log_events

Static

A logging table that records activity, events, or audit history.

Column Definitions

ColumnTypeNullable
🔑idint(11)NO
visitor_idint(11)NO
tsint(11)NO
activityvarchar(255)NO
descriptionvarchar(255)NO
ipvarchar(55)NO
hostnamevarchar(255)YES
codevarchar(255)NO
object_idvarchar(255)NO
typevarchar(255)NO
actionvarchar(255)NO
visitor_typevarchar(255)NO

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS `wp_sgs_log_events` ( `id` int(11) NOT NULL AUTO_INCREMENT, `visitor_id` int(11) NOT NULL, `ts` int(11) NOT NULL DEFAULT '0', `activity` varchar(255) NOT NULL, `description` varchar(255) NOT NULL, `ip` varchar(55) NOT NULL DEFAULT '127.0.0.1', `hostname` varchar(255) DEFAULT '0', `code` varchar(255) NOT NULL DEFAULT '', `object_id` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `action` varchar(255) NOT NULL, `visitor_type` varchar(255) NOT NULL, PRIMARY KEY (`id`), INDEX `log_event_index` (`visitor_id`, `ts`, `activity`, `id`) ) ENGINE

Safe to delete?

If you have uninstalled Security Optimizer – The All-In-One Protection Plugin, this table is generally safe to remove. However, always back up your database first.

Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.

How to remove this table

DROP TABLE IF EXISTS `wp_sgs_log_events`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from Security Optimizer – The All-In-One Protection Plugin