Home / Companies / InfluxData / Blog / November 2023

November 2023 Summaries

12 posts from InfluxData

Filter
Month: Year:
Post Summaries Back to Blog
Predictive maintenance is a strategy that uses time series data and machine learning techniques to predict when maintenance should be performed on machinery or equipment, thereby minimizing downtime and costly repairs. With the help of advances in hardware technology such as big data, AI, IoT, and cloud computing, software solutions have improved the quality and timeliness of analyses. This approach aims to identify potential failures or issues before they occur, allowing for proactive maintenance actions. Predictive maintenance offers several benefits including increased uptime, cost savings, improved productivity, enhanced safety, extended equipment life span, efficient maintenance planning, and data-driven insights. Implementing machine learning for predictive maintenance requires selecting the right software and choosing an appropriate machine learning model based on specific requirements and available data sources. The model should be trained and validated to ensure satisfactory results, and deployed in a production environment to collect real-time data and trigger maintenance actions.
Nov 23, 2023 1,449 words in the original blog post.
You can create a Grafana dashboard to better understand what's happening in advance by querying data from various sources such as Prometheus and Loki. To get started with creating dashboards, you need to set up the necessary services using Docker Compose, import data from your desired data sources, and build queries that allow you to visualize this data. You can also add annotations to events to provide extra context about what's happening in your application, making it easier to identify problems and resolve issues faster. With Grafana dashboards, you can gain valuable insights into your data and make informed decisions to improve the performance of your applications.
Nov 23, 2023 1,194 words in the original blog post.
This post provides an introduction to time handling in C# programming, covering the basics of time-related types such as DateTime, DateTimeOffset, TimeSpan, DateOnly, TimeOnly, and TimeZoneInfo, along with their usage and real-world applications. It also discusses common scenarios for retrieving current time, working with durations, displaying dates and times, recording historical data, defining expiration dates, validating or parsing datetime values from files, and more.
Nov 22, 2023 1,643 words in the original blog post.
The pandas merge operation combines two or more DataFrame objects based on columns or indexes in a similar fashion as join operations performed on databases. The goal is to have a new dataset while the sources remain unchanged. The pandas merge function can be used for inner, outer, left, right, and cross joins, and it's often the most-used method or function for combining datasets in pandas. An alternative to merge in pandas is the concat() and join() methods, which are used for different purposes such as stacking DataFrames vertically or joining data tables along indexes. The choice of method depends on the specific need for combining datasets before making an analysis.
Nov 20, 2023 2,453 words in the original blog post.
Understanding the differences between data lakes and data warehouses is crucial for organizations to make informed decisions on their data storage needs. Data lakes store raw, unprocessed data in its native format, providing flexibility and scalability for diverse analytics needs, while data warehouses refine data for specific purposes like generating analytical or operational reports. The choice between a data lake and a data warehouse depends on factors such as organizational capabilities, budget, resources, and long-term goals, with data lakes being more economical due to their scalability and adaptability, but prioritizing query performance, which can impact cost. Data warehouses offer a consistent "single source of truth" for business data analysis, enabling collaboration and improved insights, while data lakehouses combine the benefits of data lakes and data warehouses, providing a versatile analytical environment with reduced data redundancy and improved data governance.
Nov 17, 2023 2,306 words in the original blog post.
When it comes to database queries, dates are everywhere, and SQL date ranges bring so much usefulness to the table. To fetch data that belongs to a specific timeframe, you can use date ranges in practical ways by answering common questions about the topic. A common scenario is needing to get data on employees that were hired during a given month or revenue data from Q2. With the help of date ranges, we can query data from a given period. The DATERANGE type in PostgreSQL simplifies the usage of SQL date ranges, resulting in simpler queries that are less likely to contain errors. By using comparison operators as usual, you can compare date ranges and get events whose periods exactly match or have more days than the specified range. Working with dates is an inevitable part of life when writing SQL queries, but PostgreSQL's DATERANGE type makes it easier to handle date ranges in a way that simplifies your queries and reduces errors.
Nov 15, 2023 1,404 words in the original blog post.
The SQL "cast as date" function is a crucial tool for time and date manipulation in databases. It allows developers to convert values of different data types into date formats, enabling various operations such as date formatting, comparison, and component extraction. The CAST function has a simple syntax and is intuitive to use, but its limitations may necessitate the use of alternative functions like CONVERT, particularly for more advanced scenarios. Understanding how to effectively utilize the SQL "cast as date" function can greatly enhance database development and maintenance tasks.
Nov 13, 2023 1,252 words in the original blog post.
InfluxDB 3.0 has improved write throughput and query performance, but its task engine was deprioritized in favor of interoperability with existing tools. Mage.ai is an open-source replacement for Airflow that can be used for anomaly detection and sending alerts to a Slack webhook. To run this tutorial, users need an InfluxDB v3 Cloud account, Docker, and an .env file with necessary configuration. The dataset includes machine data from three machines that can be loaded into InfluxDB using the Mage pipeline. The pipeline consists of four blocks: Load_influx_data, Transform_data, Detect_anomalies, and Check_anomalies. Half-space trees are used for anomaly detection in high-dimensional data, partitioning the feature space with hyperplanes to isolate anomalies. The tutorial showcases how to use Mage for anomaly detection and sending alerts using InfluxDB 3.0 and half-space trees.
Nov 10, 2023 1,005 words in the original blog post.
This exercise demonstrates the power of open source tools, specifically the FDAP stack (Apache Flight, Arrow, DataFusion, and Parquet), for building a full-featured database with minimal code. By leveraging upstream libraries and tools, developers can create high-performance databases without reinventing the wheel. The example showcases how just eight lines of code can add support for SQL queries to an OLAP database using Python, highlighting the simplicity and power of the Apache Arrow project. The availability of these tools inspires others to innovate around specific domains in the database space, reflecting a commitment to open source values.
Nov 08, 2023 1,568 words in the original blog post.
The Python time module provides a powerful way to work with time-related tasks, including timing, scheduling, and debugging. The datetime module offers higher-level objects representing dates and times, allowing for more complex operations and manipulations. The "time now" string is invaluable in various scenarios such as debugging, data timestamping, scheduling, and user interaction. Python's time and datetime modules are extensive and versatile, providing tools for calculating time differences, converting timestamps to human-readable dates, and comparing times. Understanding the concepts of floating-point numbers, time zones, and formatting options can help developers effectively utilize these modules in their applications.
Nov 06, 2023 1,225 words in the original blog post.
InfluxDB 3.0 has overcome several challenges, including the cardinality problem, by separating compute and storage, using a columnar database architecture, Apache Arrow as its data representation layer, and Apache Parquet for data persistence, resulting in improved performance, efficiency, and cost savings, with features such as high throughput ingestion, compressed storage, fast querying capabilities through Apache DataFusion, and native integration with popular tools like Grafana and Tableau.
Nov 03, 2023 1,341 words in the original blog post.
WOW!, a US-based broadband provider with over 500,000 customers, faced challenges in monitoring their diverse network infrastructure due to varying technologies and vendor-locked data collection. They needed a centralized observability platform to analyze node and network health. After selecting InfluxDB Enterprise as their time series database backend, WOW! modernized their legacy system by building a four-node InfluxDB cluster for production and leveraging InfluxDB's alerting frameworks and Grafana for customized dashboarding. A Kafka cluster was added between data sources and InfluxDB for redundancy and control, while Telegraf was used to collect data from virtual machines and containers. The implementation of an infrastructure-as-code system using Ansible enabled automation of cluster setup and installation. With the TIG stack, WOW! achieved higher functionality and lower downtimes.
Nov 01, 2023 582 words in the original blog post.