style: Remove redundant script and description prefixes from SQL file comment headers.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- SCRIPT: 00_partitions_init.sql
|
-- Creates the 'partitions' schema and configuration table.
|
||||||
-- DESCRIPTION: Creates the 'partitions' schema and configuration table.
|
-- Defines the structure for managing Zabbix partitioning.
|
||||||
-- Defines the structure for managing Zabbix partitioning.
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
CREATE SCHEMA IF NOT EXISTS partitions;
|
CREATE SCHEMA IF NOT EXISTS partitions;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- SCRIPT: 01_auditlog_prep.sql
|
-- Modifies the 'auditlog' table Primary Key to include 'clock'.
|
||||||
-- DESCRIPTION: Modifies the 'auditlog' table Primary Key to include 'clock'.
|
-- This is REQUIRED for range partitioning by 'clock'.
|
||||||
-- This is REQUIRED for range partitioning by 'clock'.
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
DO $$
|
DO $$
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- SCRIPT: 02_maintenance.sql
|
-- Core functions for Zabbix partitioning (Create, Drop, Maintain).
|
||||||
-- DESCRIPTION: Core functions for Zabbix partitioning (Create, Drop, Maintain).
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
-- Function to check if a partition exists
|
-- Function to check if a partition exists
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- SCRIPT: 03_enable_partitioning.sql
|
-- Converts standard Zabbix tables to Partitioned tables.
|
||||||
-- DESCRIPTION: Converts standard Zabbix tables to Partitioned tables.
|
-- WARNING: This renames existing tables to *_old.
|
||||||
-- WARNING: This renames existing tables to *_old.
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
DO $$
|
DO $$
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- SCRIPT: 04_monitoring_view.sql
|
-- Creates a view to monitor partition status and sizes.
|
||||||
-- DESCRIPTION: Creates a view to monitor partition status and sizes.
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
CREATE OR REPLACE VIEW partitions.monitoring AS
|
CREATE OR REPLACE VIEW partitions.monitoring AS
|
||||||
|
|||||||
Reference in New Issue
Block a user