March 2025 Summaries
9 posts from InfluxData
Filter
Month:
Year:
Post Summaries
Back to Blog
The Query Optimizer is a critical component of database systems, responsible for improving the performance of SQL queries and DataFrame style APIs. It disconnects the "WHAT" from the "HOW" to compute desired results, translating user descriptions into an Initial Plan, which is then rewritten by the optimizer into an Optimized Plan that computes the same results but faster. Query Optimizers are implemented as a series of passes or rules that rewrite a query plan, composed of a sequence of these rules, and perform various types of optimizations such as expression simplification, predicate pushdown, and limit pushdown. These optimizers can improve performance in SQL queries and DataFrame style APIs, making them essential for industrial systems.
Mar 31, 2025
1,194 words in the original blog post.
InfluxDB 3's Processing Engine provides a solution to alert storms by utilizing its in-memory cache feature. A simple alert de-duplication system can be built using the cache to prevent unnecessary additional notifications while delivering alerts on important events. The plugin accepts several arguments that make it adaptable to different monitoring scenarios, allowing for reusable configurations across various metrics and alert types. Unique alert identifiers are created based on the host and alert type, enabling tracking of different alert types separately for each host. The core logic uses the in-memory cache to implement a cooldown period, generating alerts only when outside this period. Alerts are written to a dedicated "alerts" table, creating permanent records that can be queried or connected to third-party systems. Deploying the plugin involves saving it as a Python file and creating triggers with different configurations to monitor various metrics. Advanced configuration options include dynamic cooldown periods based on severity and alert escalation after repeated alerts. The in-memory cache feature enables powerful stateful processing directly within the database, allowing for smarter monitoring systems that reduce noise while ensuring important events are notified.
Mar 26, 2025
1,178 words in the original blog post.
InfluxDB 3 is a standalone database that can be easily deployed in the cloud or run locally, making it suitable for Industrial IoT applications. It provides a powerful new processing engine that allows developers to process incoming streaming data and execute custom Python code within the database, eliminating the need for external task runners or complex data pipelines. The InfluxDB 3 processing engine is incredibly versatile and can be used with various triggers, including WAL Flush Trigger, Schedule Trigger, and On Request Trigger. This article guides users through setting up SMS and WhatsApp alerts using InfluxDB 3 by leveraging its embedded Python processing engine, Twilio for messaging, and a simple Python plugin. The system can be adapted for various critical scenarios, such as IoT temperature monitoring, DevOps tasks, and security operations.
Mar 25, 2025
955 words in the original blog post.
Azure Blob Storage is used with InfluxDB 3 Core and Enterprise to store time series data in cloud object storage while running the database engine locally. This approach offers significant advantages, including performance combined with durability, scalability, and cost-effectiveness of cloud storage. To set up Azure Blob Storage, an Azure account with access to create storage resources is needed, along with a terminal or command prompt with necessary permissions. The process involves creating an Azure Storage account and container, obtaining access credentials, and configuring InfluxDB to use Azure as an object store. With this configuration, data is persistently stored in Azure Blob Storage while the database engine runs on the local machine. This setup provides high availability, workload distribution, and cost-effectiveness for organizations with existing Azure infrastructure, applications requiring high durability without complex local storage management, multi-region deployments, and cost-effective long-term storage for time series data.
Mar 20, 2025
1,287 words in the original blog post.
InfluxDB 3 Core and Enterprise, two new products from InfluxData, are now in beta. InfluxDB 3 Core is an open source product with a recent-data engine that collects and processes data in real-time, while persisting it to local disk or object storage. InfluxDB 3 Enterprise adds high availability, read replicas, enhanced security, and data compaction for faster queries. The beta version includes improvements such as write-through caching, a processing engine, and simplifying multi-server enterprise clusters. During the beta phase, users can expect stable APIs, seamless upgrades, and weekly releases with associated changelogs. The embedded Python VM, which is part of the processing engine, is still considered alpha software and is expected to be fine-tuned based on user feedback. The products are expected to reach general availability in late April.
Mar 17, 2025
968 words in the original blog post.
Telegraf has released version 1.34, which includes several new plugins such as AWS Firehose service input, Netgear Switch Discovery Protocol input, and Hue bridge input. These plugins allow for the collection of metrics from various sources. Additionally, this release highlights several important changes, including support for input probing, reworked Kinesis consumer, and improved support for JKS and PKCS#12 keystores. The binaries for the latest Telegraf release can be found on the InfluxDB Downloads page. Users are encouraged to join the InfluxDB Community Slack or post their issues in the GitHub Repo or Community Site for assistance.
Mar 12, 2025
289 words in the original blog post.
The InfluxDB 3 Core and Enterprise provide powerful time-series storage and query capabilities but detecting anomalies in real-time requires an efficient alerting system. The influxdata/Anaisdg/Alerts/alert.py plugin enables dynamic notifications when a sensor value, CPU usage, or any monitored field crosses a threshold. This plugin supports multi-platform notifications, configurable thresholds, flexible messages, retries with backoff, and environment variable support. It can be extended to perform sophisticated anomaly detection or forecasting by building a custom processing plugin that analyzes trends, detects anomalies, and writes flagged events to a separate database. The plugin is designed to integrate with InfluxDB 3 Core and Enterprise, allowing users to set up notifications via Slack, Discord, or other HTTP endpoints when key metrics exceed thresholds. The plugin's features are tested and verified through a sample data setup, demonstrating its effectiveness in sending alerts and tracking alert history.
Mar 11, 2025
973 words in the original blog post.
Database security is a crucial aspect of protecting sensitive information from unauthorized access, misuse, or malicious attacks. It involves implementing measures and technologies to safeguard databases, ensuring the confidentiality, integrity, and availability of data stored within a database system. Common threats include insider threats, SQL injection, human error, DoS/DDoS attacks, malware, and hardware failures. To mitigate these threats, organizations should implement network security, access management, threat protection, information protection, and best practices such as strong authentication, encryption, regular updates and patches, least privilege principle, monitoring and auditing, backups, firewalls, IDS, training employees, and conducting security assessments. InfluxDB can enhance database security through event monitoring, network monitoring, anomaly detection, and real-time alerting to prevent or mitigate security incidents. Securing a database requires continuous effort, starting with assessing the current security posture, implementing necessary tools and measures, prioritizing regular audits and updates, and staying proactive to build trust with users and ensure compliance with regulations.
Mar 06, 2025
1,203 words in the original blog post.
InfluxDB 3's Python Processing Engine allows developers to create plugins that standardize IoT data from diverse sources. By normalizing units and naming conventions during data ingestion, teams can simplify downstream queries, ensure consistency across datasets, and improve the reliability of their analytics. The tutorial guides users through creating a plugin directory, starting an InfluxDB 3 container with Docker, writing a Python script to handle data standardization, testing the plugin, enabling it as a trigger, and verifying its functionality. With this setup, developers can create standardized, well-structured data for easier querying, analysis, and compliance with industry standards.
Mar 04, 2025
1,701 words in the original blog post.