<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>InfluxData Blog - Gary Fowler</title>
    <description>Posts by Gary Fowler on the InfluxData Blog</description>
    <link>https://www.influxdata.com/blog/author/gary-fowler/</link>
    <language>en-us</language>
    <lastBuildDate>Wed, 08 Oct 2025 08:00:00 +0000</lastBuildDate>
    <pubDate>Wed, 08 Oct 2025 08:00:00 +0000</pubDate>
    <ttl>1800</ttl>
    <item>
      <title>Visualizations with InfluxDB 3: More Options Than Ever Before </title>
      <description>&lt;p&gt;We’ve been working on a number of items here at InfluxData to give you even more options for creating visualizations and dashboards for your time series data in InfluxDB 3.&lt;/p&gt;

&lt;h2 id="grafana-integration-easier-than-ever"&gt;&lt;strong&gt;Grafana integration: easier than ever&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;For advanced visualization needs, we continue to recommend Grafana as the gold standard. The good news? It’s now easier than ever to connect Grafana with InfluxDB 3, thanks to significant improvements made by our friends at Grafana.&lt;/p&gt;

&lt;p&gt;The Grafana team has enhanced its InfluxDB connector and data source, streamlining the configuration process for InfluxDB 3. What used to require multiple steps and careful configuration is now more straightforward than ever. You can find detailed setup instructions in both &lt;a href="https://grafana.com/docs/grafana/latest/datasources/influxdb/"&gt;Grafana’s documentation&lt;/a&gt; and our own &lt;a href="https://docs.influxdata.com/influxdb3/enterprise/visualize-data/grafana/?utm_source=website&amp;amp;utm_medium=influxdb_3_visualizations&amp;amp;utm_content=blog"&gt;InfluxDB 3 integration guides&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;But we didn’t stop there. We’ve added powerful features to InfluxDB 3 Explorer to make Grafana integration even smoother:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Automatic Grafana Data Source Setup&lt;/strong&gt;: The InfluxDB 3 Explorer now features a Grafana integration that automatically configures your InfluxDB 3 data source in Grafana, eliminating manual setup steps.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Export to Grafana&lt;/strong&gt;: Once you’ve crafted the perfect query in InfluxDB 3 Explorer, you can export it directly to Grafana, preserving your query logic and saving valuable development time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These improvements mean you can go from data exploration in InfluxDB 3 Explorer to production dashboards in Grafana faster than ever before.&lt;/p&gt;

&lt;h2 id="native-dashboard-capabilities-for-everyone-else"&gt;&lt;strong&gt;Native dashboard capabilities: for everyone else&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;While Grafana remains our recommendation for advanced visualization, we recognize that not everyone uses Grafana or wants to manage a separate dashboarding tool. So, we also created options for these users.&lt;/p&gt;

&lt;h3 id="cloud-serverless-dashboards"&gt;&lt;strong&gt;Cloud Serverless Dashboards&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;We’ve enabled native dashboard capabilities in our &lt;a href="https://www.influxdata.com/products/influxdb-cloud/serverless/?utm_source=website&amp;amp;utm_medium=influxdb_3_visualizations&amp;amp;utm_content=blog"&gt;InfluxDB Cloud Serverless&lt;/a&gt; product. Cloud Serverless customers now have access to visualization dashboards directly from their Cloud UI, providing immediate insights without requiring external tools. This built-in dashboarding gives you quick access to your most important metrics right where you manage your data.
&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/cb66dbd055704932ab498d035d82988d/932b504ecf1aa637d06a8d86d6e26e8c/unnamed.png" alt="" /&gt;&lt;/p&gt;

&lt;h3 id="influxdb-3-explorer-dashboards"&gt;&lt;strong&gt;InfluxDB 3 Explorer Dashboards&lt;/strong&gt;&lt;/h3&gt;

&lt;p&gt;InfluxDB 3 Explorer has evolved beyond just query exploration. With version 1.3 of InfluxDB 3 Explorer, we are introducing dashboard capabilities, enabling you to create and manage simple dashboards directly within the UI.
&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/1f9a77d5cdc7489b99ba1f8a37e25294/ef90fb59c7294a9482e2bdb59a48d9a1/unnamed.png" alt="" /&gt;
&lt;br /&gt;
InfluxDB 3 Explorer is compatible with all of our InfluxDB 3 products:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Query Mode&lt;/strong&gt;: Available with all InfluxDB 3 products for data exploration and basic visualization, including InfluxDB 3 Core (open source), InfluxDB 3 Enterprise, InfluxDB Cloud Serverless, and InfluxDB Cloud Dedicated.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Admin Mode&lt;/strong&gt;: Available with InfluxDB 3 Core &amp;amp; InfluxDB 3 Enterprise for full query and visualization, along with general InfluxDB 3 administration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This means whether you’re running InfluxDB 3 in the cloud or on-premises, you have access to built-in visualization capabilities with the InfluxDB 3 Explorer tool.&lt;/p&gt;

&lt;h2 id="power-bi-integration-enterprise-visualization"&gt;&lt;strong&gt;Power BI integration: Enterprise visualization&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;For organizations already invested in the Microsoft ecosystem, we’re excited to introduce the new InfluxDB 3 Connector for Power BI. This connector opens up the full power of Microsoft’s business intelligence platform for your time series data.&lt;/p&gt;

&lt;p&gt;Power BI users can now seamlessly connect to their InfluxDB 3 instances and leverage Power BI’s advanced analytics, custom visualizations, and enterprise reporting features. This integration brings InfluxDB 3 data into the familiar Power BI environment, making it easier for business users to create compelling reports and visualizations.
&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/f4dfd9f216954ae9925334c4776f1bf9/a16d2f01b899e9e7f01cc50f9cabb75e/unnamed.png" alt="" /&gt;
This InfluxDB Power BI Connector is currently available in beta/preview.   You can find detailed setup instructions and download links in our &lt;a href="https://docs.influxdata.com/influxdb3/enterprise/visualize-data/powerbi/?utm_source=website&amp;amp;utm_medium=influxdb_3_visualizations&amp;amp;utm_content=blog"&gt;InfluxDB 3 integration guides&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id="chronograf-support-for-our-influxql-community"&gt;&lt;strong&gt;Chronograf support: for our InfluxQL community&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;We haven’t forgotten about our long-time users who rely on InfluxQL and Chronograf for their data processing workflows. We’re currently working on an update to Chronograf to support InfluxDB 3 products. We expect to make that update available before the end of the year.&lt;/p&gt;

&lt;p&gt;This improvement ensures that existing Chronograf users can continue leveraging their established alerting and data processing pipelines when transitioning to InfluxDB 3.&lt;/p&gt;

&lt;h2 id="recap"&gt;&lt;strong&gt;Recap&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;InfluxDB 3 users now have more visualization options than ever before, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Advanced, customizable dashboards&lt;/strong&gt; → Grafana with enhanced InfluxDB 3 integration&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Quick, built-in visualization&lt;/strong&gt; → Native dashboards in Cloud Serverless and InfluxDB 3 Explorer&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Enterprise business intelligence&lt;/strong&gt; → Power BI with the new InfluxDB 3 connector&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Existing workflow compatibility&lt;/strong&gt; → Updated Chronograf support for InfluxDB 3&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ready to explore your data in new ways? Check out the documentation links above and start visualizing your time series data with the tools that work best for your team.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Want to get started with InfluxDB 3 visualizations? Visit our &lt;a href="https://docs.influxdata.com/?utm_source=website&amp;amp;utm_medium=influxdb_3_visualizations&amp;amp;utm_content=blog"&gt;documentation&lt;/a&gt; to explore setup guides for each of these visualization options.&lt;/em&gt;&lt;/p&gt;
</description>
      <pubDate>Wed, 08 Oct 2025 08:00:00 +0000</pubDate>
      <link>https://www.influxdata.com/blog/influxdb-3-visualizations/</link>
      <guid isPermaLink="true">https://www.influxdata.com/blog/influxdb-3-visualizations/</guid>
      <category>Developer</category>
      <category>Product</category>
      <author>Gary Fowler (InfluxData)</author>
    </item>
    <item>
      <title>Introducing the InfluxDB 3 MCP Server: Natural Language for Time Series</title>
      <description>&lt;p&gt;Time series data underpins all real-time systems. From high-resolution telemetry to long-range trends, it’s essential for monitoring, automation, predictive maintenance, and operational insight. But it’s also hard to work with: high cardinality, shifting schemas, and time-based queries make even basic tasks feel heavy.&lt;/p&gt;

&lt;p&gt;To address that complexity, we built the &lt;a href="https://github.com/influxdata/influxdb3_mcp_server/?utm_source=website&amp;amp;utm_medium=direct&amp;amp;utm_campaign=influxdb_mcp_server&amp;amp;utm_content=blog"&gt;InfluxDB MCP server&lt;/a&gt;, an open source service that connects InfluxDB 3 to AI tools like Claude Desktop using the Model Context Protocol (MCP). It exposes InfluxDB 3 operations over a standardized interface, so you can query data, inspect schema, and manage your database using natural language, without plugins or glue code. &lt;strong&gt;As a result, it makes time series data as easy to work with as it is to describe.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The server is available under both the MIT and Apache 2 licenses, and you can run it alongside your LLM agent (such as Claude Desktop), connecting it to the tools you already use.&lt;/p&gt;

&lt;h2 id="manage-time-series-infrastructure-without-the-overhead"&gt;Manage time series infrastructure without the overhead&lt;/h2&gt;

&lt;p&gt;Time series workloads involve more than just querying—you’re constantly managing schema, storage limits, and ingestion pipelines. The MCP server helps simplify that complexity by letting you handle core administration operations through natural language. This includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Database Operations&lt;/strong&gt;: Create, update, and delete databases with proper validation. Cloud Dedicated users can configure advanced settings, such as table limits, column constraints, and retention policies, directly through natural language conversations.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Explore Schemas&lt;/strong&gt;: Ask questions like, “What measurements do I have in my production database?” or “Show me the schema for the sensor_data table,” and get immediate answers.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Manage Tokens&lt;/strong&gt;: For Core and Enterprise installations, manage admin tokens, create resource-specific tokens with granular permissions, and handle token lifecycle, all through conversational interfaces.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Health Monitoring&lt;/strong&gt;: Check connection status and receive troubleshooting guidance when issues arise.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because it’s wired into your InfluxDB 3 instance, the server translates these prompts into valid operations using the same APIs you’d call directly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;em&gt;“Create a new database called ‘iot_sensors’ with a 30-day retention period.”&lt;/em&gt;&lt;/li&gt;
  &lt;li&gt;&lt;em&gt;“List all my databases and show me their configurations.”&lt;/em&gt;&lt;/li&gt;
  &lt;li&gt;&lt;em&gt;“Create a read-only token for the analytics team to access the metrics database.”&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id="query-time-series-data-without-writing-sql"&gt;Query time series data without writing SQL&lt;/h2&gt;

&lt;p&gt;Beyond management tasks, the MCP server supports time series data querying through natural language prompts. It analyzes your schema and generates SQL queries with appropriate filters, rollups, and limits. This enables:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Exploratory Analysis&lt;/strong&gt;: AI can examine your data structure, identify patterns, and suggest relevant queries without you needing to know the exact table schemas.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Complex Query Generation&lt;/strong&gt;: Describe what you want to analyze in natural language, and the AI will generate SQL queries, including proper aggregations and time-based groupings, that work efficiently with InfluxDB’s time series optimizations.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Automated Reporting&lt;/strong&gt;: Set up conversations that regularly analyze trends, detect anomalies, or generate summaries of your time series data.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;em&gt;“Analyze temperature trends from my sensors over the last week and identify any unusual patterns.”&lt;/em&gt;&lt;/li&gt;
  &lt;li&gt;&lt;em&gt;“Compare this month’s API response times to last month and show me the 95th percentile differences.”&lt;/em&gt;&lt;/li&gt;
  &lt;li&gt;&lt;em&gt;“Find all measurements that haven’t received data in the past 24 hours.”&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id="run-it-locally-stay-in-control"&gt;Run it locally. Stay in control.&lt;/h2&gt;

&lt;p&gt;The InfluxDB MCP server is designed to run entirely on your machine or local infrastructure. It uses your existing InfluxDB 3 token for authentication—no data is sent to external services. You define which databases are accessible by configuring the server with appropriate tokens and permissions.&lt;/p&gt;

&lt;p&gt;The server works with the following InfluxDB 3 products:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href="https://www.influxdata.com/products/influxdb/?utm_source=website&amp;amp;utm_medium=direct&amp;amp;utm_campaign=influxdb_mcp_server&amp;amp;utm_content=blog"&gt;InfluxDB 3 Core&lt;/a&gt; (open source)&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://www.influxdata.com/products/influxdb-3-enterprise/?utm_source=website&amp;amp;utm_medium=direct&amp;amp;utm_campaign=influxdb_mcp_server&amp;amp;utm_content=blog"&gt;InfluxDB 3 Enterprise&lt;/a&gt; (self-managed)&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://www.influxdata.com/products/influxdb-cloud/dedicated/?utm_source=website&amp;amp;utm_medium=direct&amp;amp;utm_campaign=influxdb_mcp_server&amp;amp;utm_content=blog"&gt;InfluxDB 3 Cloud Dedicated&lt;/a&gt; (fully managed)&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://www.influxdata.com/products/influxdb-cloud/serverless/?utm_source=website&amp;amp;utm_medium=direct&amp;amp;utm_campaign=influxdb_mcp_server&amp;amp;utm_content=blog"&gt;InfluxDB Cloud Serverless&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;InfluxDB Clustered&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can run it locally using npm or Docker. Just provide your InfluxDB 3 URL and token via environment variables, and the MCP server handles the rest. It’s lightweight and easy to deploy, whether you’re working in a simple local environment or running in production.&lt;/p&gt;

&lt;h2 id="open-source-and-community-driven"&gt;Open source and community-driven&lt;/h2&gt;

&lt;p&gt;The InfluxDB 3 MCP server is designed to be simple, open, and easy to modify. It’s a lightweight bridge between InfluxDB and AI tools, built to make AI-assisted database operations as natural as having a conversation.&lt;/p&gt;

&lt;p&gt;You can find it on &lt;a href="https://github.com/influxdata/influxdb3_mcp_server"&gt;GitHub&lt;/a&gt;. If you hit issues or want to extend it, open a PR or file an issue. We’ll continue to improve it as the ecosystem evolves.&lt;/p&gt;
</description>
      <pubDate>Wed, 09 Jul 2025 07:30:00 +0000</pubDate>
      <link>https://www.influxdata.com/blog/influxdb-mcp-server/</link>
      <guid isPermaLink="true">https://www.influxdata.com/blog/influxdb-mcp-server/</guid>
      <category>Product</category>
      <author>Gary Fowler (InfluxData)</author>
    </item>
    <item>
      <title>Handling Partial Writes in InfluxDB 3</title>
      <description>&lt;p&gt;We recently adjusted how we handle “partial writes” with our InfluxDB Cloud Serverless product using the v2 Write API. This only applies to InfluxDB Cloud Serverless customers (those who created their Cloud accounts after January 31, 2023). In the near future, we will make this change for InfluxDB Cloud Dedicated and InfluxDB Clustered customers as well.&lt;/p&gt;

&lt;p&gt;Partial writes will now always return a 400 status code. In most cases, you don’t have to do anything but be aware of the behavior. If you are using the v2 Write REST API directly, make sure your code handles 204 and 400 return codes and know that with a 400, it doesn’t mean all lines didn’t make it (the good lines will be written). Read on if you want more information and background on this change.&lt;/p&gt;

&lt;h2 id="what-are-partial-writes"&gt;What are partial writes?&lt;/h2&gt;

&lt;p&gt;Most commonly, data gets written to InfluxDB in “batches,” meaning several lines at once. If there are lines within that batch that can’t be written for some reason, we refer to this as a “partial write.”&lt;/p&gt;

&lt;h2 id="what-conditions-can-cause-a-partial-write"&gt;What conditions can cause a partial write?&lt;/h2&gt;

&lt;p&gt;The most common condition that causes a partial write is an error in the Line Protocol. Batch lines are formatted in the line protocol format, which requires a specific syntax.
&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/efe4298ddc904e0a8b1532cc5acc0236/8319a5329c1dac6f1567172c4d9a342d/unnamed.png" alt="" /&gt;
If there is an error in that syntax for a specific line, that line cannot be written.&lt;/p&gt;

&lt;h2 id="what-status-code-is-returned-on-a-partial-write"&gt;What status code is returned on a partial write?&lt;/h2&gt;

&lt;p&gt;The status code for partial writes is now always 400.&lt;/p&gt;

&lt;h2 id="what-was-it-before"&gt;What was it before?&lt;/h2&gt;

&lt;p&gt;With Cloud Serverless, a 204 could be returned in some cases. This matched the behavior in Cloud2. In Cloud2, data is first written to an ingestion queue (we used Apache Kafka), and then, as a secondary action, the data is written to the database. Not all line protocol errors can be detected when data is written to the ingestion queue (e.g., schema inconsistencies). Therefore, we acknowledge we have received the data and return a 204 response before it is fully validated. When the data is validated, if there is a problem with any write lines, those lines are written to a separate Cloud 2 bucket (_monitoring) so customers can see and correct any problematic lines. This “_monitoring” bucket does not exist with Cloud Serverless/InfluxDB , so it didn’t make sense to continue returning this status code on a partial write.&lt;/p&gt;

&lt;p&gt;Partial Writes were not supported by default in InfluxDB Cloud Dedicated or InfluxDB Clustered, but for customers for whom we had enabled them, the status code could sometimes be a 201.&lt;/p&gt;

&lt;h2 id="what-else-is-returned-upon-a-partial-write"&gt;What else is returned upon a partial write?&lt;/h2&gt;

&lt;p&gt;When a 400 is returned, it also returns the first 100 failed lines in the batch—so, if there is an exception of just a few lines, your code can know which lines failed.&lt;/p&gt;

&lt;h2 id="future"&gt;Future&lt;/h2&gt;

&lt;p&gt;Our plan is not to make any additional changes to this. However, we do have a v3 Write API planned that will completely revisit this, hopefully add a few more options, and handle partial writes better overall. We don’t plan on deprecating the v2 Write API; you can still use both (you can still use v1, in fact). This will be a new v3 option with more capabilities—including some new data types (teaser alert).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.influxdata.com/contact-sales/?utm_source=website&amp;amp;utm_medium=direct&amp;amp;utm_campaign=%20Handling_Partial_Writes&amp;amp;utm_content=blog" title="Contact our sales team"&gt;Contact our sales team&lt;/a&gt; to get started with InfluxDB Cloud Dedicated or Clustered.&lt;/p&gt;
</description>
      <pubDate>Thu, 19 Sep 2024 08:00:00 +0000</pubDate>
      <link>https://www.influxdata.com/blog/handling-partial-writes-influxdb-3.0/</link>
      <guid isPermaLink="true">https://www.influxdata.com/blog/handling-partial-writes-influxdb-3.0/</guid>
      <category>Product</category>
      <author>Gary Fowler (InfluxData)</author>
    </item>
    <item>
      <title>Choosing a Client Library When Developing with InfluxDB 3.0</title>
      <description>&lt;p&gt;A common question we get asked is “what client library should I use with &lt;a href="https://www.influxdata.com/products/influxdb-overview/"&gt;InfluxDB 3.0&lt;/a&gt;?”&lt;/p&gt;

&lt;p&gt;This question isn’t as simple as it may seem. It can get confusing when deciding which client library to use while developing applications to write to and query from InfluxDB. There are numerous options to choose from and the answer may differ based on the following criteria:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;the version of InfluxDB you currently use or used in the past&lt;/li&gt;
  &lt;li&gt;the type of APIs you are looking for (query, write, management)&lt;/li&gt;
  &lt;li&gt;the query language you want to use (&lt;a href="https://www.influxdata.com/glossary/sql/"&gt;SQL&lt;/a&gt;, InfluxQL, Flux)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today, there are three versions of InfluxDB client libraries available:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;v1 Client Library&lt;/li&gt;
  &lt;li&gt;v2 Client Library&lt;/li&gt;
  &lt;li&gt;v3 Lightweight Client Library&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At first, this seems like an easy answer. Use the v1 Client Library with InfluxDB 1.x; use the v2 Client Library with InfluxDB 2.x; and use the v3 Lightweight Client Library with InfluxDB 3.0, right? Uh, kinda, sorta, no, maybe?&lt;/p&gt;

&lt;p&gt;Ok, well, you might be thinking that instead of making a decision based on the version, you should base it on your preferred query language. In other words, if you want to use InfluxQL, use the v1 Client Library; if you want to use Flux, use the v2 Client Library; and if you want to use SQL, use the v3 Lightweight Client Library? That is sort of accurate as well, but still not completely the case in all situations.&lt;/p&gt;

&lt;h2 id="the-v3-lightweight-client-libraries"&gt;The v3 lightweight client libraries&lt;/h2&gt;

&lt;p&gt;We call the v3 client libraries “lightweight” because they only implement the two functions that most of our customers use: query and write. And we focused on the five languages our customers most commonly use with InfluxDB: Python, Golang, Java, JavaScript, and C#.&lt;/p&gt;

&lt;p&gt;The v1 and v2 APIs provided administrative APIs as well (create databases, set retention periods, etc.). InfluxDB 3.0 separates data plane and control plane tooling, so you perform administrative functions within the InfluxDB 3.0 Cloud UI (if using &lt;a href="https://www.influxdata.com/products/influxdb-cloud/serverless"&gt;InfluxDB Cloud Serverless&lt;/a&gt;) or the influxctl command line utility (if using &lt;a href="https://www.influxdata.com/products/influxdb-cloud/dedicated"&gt;InfluxDB Cloud Dedicated&lt;/a&gt; or InfluxDB Clustered).&lt;/p&gt;

&lt;p&gt;Unless your application relies on the administrative APIs, the Lightweight Client Libraries should be all you need.&lt;/p&gt;

&lt;p&gt;For new InfluxDB customers that have not already written applications using the v1 or v2 client libraries, the v3 Lightweight Client Libraries are the best choice.&lt;/p&gt;

&lt;p&gt;It is not, however, your only choice. You can actually choose “none of the above” and use &lt;a href="https://www.influxdata.com/glossary/apache-arrow-flight-sql/"&gt;Apache Arrow Flight&lt;/a&gt; for querying and the REST API for writing instead.&lt;/p&gt;

&lt;h2 id="the-apache-arrow-flight-library"&gt;The Apache Arrow Flight Library&lt;/h2&gt;

&lt;p&gt;One option for querying InfluxDB 3.0 is to use the Apache Arrow Flight framework. InfluxDB 3.0 utilizes &lt;a href="https://www.influxdata.com/glossary/apache-arrow/"&gt;Apache Arrow&lt;/a&gt; and the Apache Arrow ecosystem (Arrow, &lt;a href="https://www.influxdata.com/glossary/apache-datafusion/"&gt;DataFusion&lt;/a&gt;, Flight, Flight SQL, &lt;a href="https://www.influxdata.com/glossary/apache-parquet/"&gt;Parquet&lt;/a&gt;). This means you can use any Apache Arrow Flight client to query InfluxDB over gRPC. The v3 Lightweight Client Libraries also use Arrow Flight, so &lt;em&gt;technically&lt;/em&gt;, you are using it either way.&lt;/p&gt;

&lt;p&gt;Apache Arrow Flight is a high performance client-server framework built upon gRPC and the IPC format. The InfluxDB 3.0 implementation of Flight allows you to query using SQL or InfluxQL by simply changing the language flag within the Flight ticket. Flight utilizes the Arrow in-memory columnar data format. When you retrieve data via Flight, you get columnar data, similar to a pandas DataFrame, that you can efficiently query, analyze, and transform using third-party tools like pyarrow and pandas for Python or Polars for Python, JavaScript, and Rust.&lt;/p&gt;

&lt;p&gt;Here are some examples of the nifty things you can do with the Flight library and Python:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href="https://github.com/InfluxCommunity/Apache-Arrow-Tutorial/blob/main/Flight/basic_query.py"&gt;Raw Flight example using Pandas and Plotly&lt;/a&gt; (Python)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href="https://github.com/InfluxCommunity/influxdb3-python/blob/main/Examples/query_type.py"&gt;Query types&lt;/a&gt; (Python)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href="https://github.com/InfluxCommunity/influxdb3-python/blob/main/Examples/pokemon-trainer/cookbook.ipynb"&gt;InfluxDB 3.0 Python Client Cookbook (Uses Flight under the hood)&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href="https://medium.com/@rspencer_87836/very-cool-flight-feature-query-batching-1cb029154299"&gt;Using the Batch capability of Flight&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So if you decide to use Apache Flight directly (instead of using the v3 Lightweight Client library), you might be asking, “Is Apache Flight the only thing I need?” In a blog post devoid of yes or no answers, we have to answer again, “maybe”. If you only need to query, then yes, the Apache Flight library may be the only thing you need.&lt;/p&gt;

&lt;p&gt;Many customers fall into this category because they use the InfluxDB &lt;a href="https://www.influxdata.com/time-series-platform/telegraf/"&gt;Telegraf&lt;/a&gt; agent to ingest (write) data into the database and they only query data programmatically. But if you also need to write data to InfluxDB from within your application code, you’ll find the InfluxDB client libraries very convenient for writing and querying.&lt;/p&gt;

&lt;p&gt;You can use both the Arrow Flight library and one of the v1/v2/v3 client libraries together so you could simply use Arrow Flight for querying and the v3 lightweight library for writing. &lt;em&gt;&lt;strong&gt;But for most circumstances, using the v3 Lightweight Client Libraries is your best bet, because they already utilize Flight and enable both query and write.&lt;/strong&gt;&lt;/em&gt; As mentioned previously, the v3 Lightweight Client Library uses Arrow Flight, it just makes it a little simpler to use because you don’t have to learn Flight. Instead, the libraries allow you to focus on just the query and write functions with InfluxDB 3.0.&lt;/p&gt;

&lt;p&gt;One additional note on this: the Arrow Flight Framework for Python is the most advanced. You will find it easier to use with Python than with the other languages it supports.&lt;/p&gt;

&lt;h2 id="the-v1-client-libraries"&gt;The v1 Client Libraries&lt;/h2&gt;

&lt;p&gt;Some of our existing customers ask, “If I’m using a v1 Client Library today, do I need to convert my code to use the v3 Lightweight Client Library when I move to an InfluxDB 3.0 platform (InfluxDB Cloud Serverless, InfluxDB Cloud Dedicated, InfluxDB Clustered, or, eventually, OSS 3.x)?”&lt;/p&gt;

&lt;p&gt;In nearly all cases, the answer to this is “No”. You can continue to use the v1 Client Library for InfluxQL queries and for writes. At one point in our past, we steered customers away from the v1 Client Library, encouraging them to use the v2 Library instead. We are no longer doing that because the v1 Client Libraries are compatible with InfluxDB 3.0. This makes it easy for customers to upgrade to InfluxDB 3.0 without having to change a lot of code.&lt;/p&gt;

&lt;p&gt;The other reason to consider the v1 Client Libraries is that they support additional languages over v3, including C++ and PHP. So if you need to use these languages, the v1 Client Library may be your best choice.&lt;/p&gt;

&lt;h2 id="the-v2-client-libraries"&gt;The v2 Client Libraries&lt;/h2&gt;

&lt;p&gt;Ok, as we established above, you can use the v3 Lightweight Client Libraries, the Apache Arrow Flight framework, or the v1 Client Libraries with InfluxDB 3.0. But, what about the v2 Libraries?&lt;/p&gt;

&lt;p&gt;Here is where things get a little murkier. The v2 Client Libraries and the v2 Query API (which the v2 libraries use) utilize the Flux query language. While some of our customers love this Influx-developed query language, the majority of our customers said they just don’t have time to learn a new query language and really want us to support SQL. While we were disappointed, we did understand. As a result, we developed InfluxDB 3.0 to support SQL and our time series variation, InfluxQL.&lt;/p&gt;

&lt;p&gt;The v2 API is not available for InfluxDB Cloud Dedicated and the upcoming InfluxDB Clustered and OSS 3.0 flavors of InfluxDB 3.0. This means you need to use either the v3 Lightweight Client Library, the Arrow Flight Framework, the v1 Client Library — or some combination thereof — when you move to InfluxDB 3.0.&lt;/p&gt;

&lt;p&gt;For InfluxDB Cloud Serverless customers, there is a compatibility layer we can enable for some customers that allows v2/Flux API calls to work in some cases. However, because we optimized InfluxDB 3.0 for SQL and InfluxQL, this compatibility is a translation/conversion and requires re-sorting and other operations to deliver the data in the same format and order that it would come in with previous versions of InfluxDB.&lt;/p&gt;

&lt;p&gt;Long story short, the performance isn’t there with the v2 libraries in InfluxDB 3.0. Depending on the volume of data and the breadth of query, you could see timeouts and other anomalies with the v2 libraries. Because of this, we only recommend doing this while you are migrating your workloads to one of the other libraries and your queries from Flux to SQL or InfluxQL.&lt;/p&gt;

&lt;p&gt;Still confused or unclear after all of this? Refer to this recommendation table:&lt;/p&gt;

&lt;div class="table-container is-v-centered"&gt;
&lt;table class="table is-bordered" style="line-height: 1.4em;"&gt;
&lt;thead&gt;
&lt;tr style="background-color: #6d9eeb;"&gt;
&lt;th style="line-height: 1.3em; width: 16%;"&gt;Customer Type&lt;/th&gt;
&lt;th style="line-height: 1.3em; width: 16%;"&gt;Product&lt;/th&gt;
&lt;th style="line-height: 1.3em; width: 16%;"&gt;Recommended Language&lt;/th&gt;
&lt;th style="line-height: 1.3em; width: 18%;"&gt;Recommended Query Library&lt;/th&gt;
&lt;th style="line-height: 1.3em; width: 18%;"&gt;Recommended Write Library (if not using Telegraf)&lt;/th&gt;
&lt;th style="line-height: 1.3em; width: 16%;"&gt;Recommended Admin tool&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr style="background-color: #cfe2f2;"&gt;
&lt;td&gt;Brand New Customer using InfluxDB for first time&lt;/td&gt;
&lt;td&gt;InfluxDB Cloud Serverless&lt;/td&gt;
&lt;td&gt;Use SQL or InfluxQL&lt;/td&gt;
&lt;td&gt;Use v3 Lightweight Client Library; Apache Arrow Flight is another option&lt;/td&gt;
&lt;td&gt;Use v3 Lightweight Client Library&lt;/td&gt;
&lt;td&gt;Use Cloud UI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="background-color: #cfe2f2;"&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;InfluxDB Cloud Dedicated, InfluxDB Clustered, OSS 3.0&lt;/td&gt;
&lt;td&gt;Use SQL or InfluxQL&lt;/td&gt;
&lt;td&gt;Use v3 Lightweight Client Library; Apache Arrow Flight is another option&lt;/td&gt;
&lt;td&gt;Use v3 Lightweight Client Library&lt;/td&gt;
&lt;td&gt;Use influxctl command line utility&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="background-color: #fff2cc;"&gt;
&lt;td&gt;Existing Customer using InfluxQL and v1 Client Library&lt;/td&gt;
&lt;td&gt;InfluxDB Cloud Serverless&lt;/td&gt;
&lt;td&gt;Use InfluxQL&lt;/td&gt;
&lt;td&gt;Use v1 Client Library for existing apps, Consider v3 Lightweight Client Library or Apache Arrow Flight for future applications&lt;/td&gt;
&lt;td&gt;Use v1 Client Library for existing apps, Consider v3 Lightweight Client Library for future applications&lt;/td&gt;
&lt;td&gt;Use Cloud UI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="background-color: #fff2cc;"&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;InfluxDB Cloud Dedicated, InfluxDB Clustered, OSS 3.0&lt;/td&gt;
&lt;td&gt;Use InfluxQL&lt;/td&gt;
&lt;td&gt;Use v1 Client Library for existing apps, Consider v3 Lightweight Client Library or Apache Arrow Flight For future applications&lt;/td&gt;
&lt;td&gt;Use v1 Client Library for existing apps, Consider v3 Lightweight Client Library for future applications&lt;/td&gt;
&lt;td&gt;Use influxctl command line utility&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="background-color: #d9ead3;"&gt;
&lt;td&gt;Existing Customer using InfluxQL and v2 Client Library&lt;/td&gt;
&lt;td&gt;InfluxDB Cloud Serverless&lt;/td&gt;
&lt;td&gt;Use InfluxQL or SQL&lt;/td&gt;
&lt;td&gt;Use v2 Client Library ONLY for short term compatibility (if you can’t avoid it); move to the v3 Lightweight Client Library, Arrow Flight, or the v1 Client Library as soon as possible&lt;/td&gt;
&lt;td&gt;Use v2 Client Library ONLY for short-term compatibility (if you can’t avoid it); move to the v3 Lightweight Client Library, Arrow Flight, or the v1 Client Library as soon as possible&lt;/td&gt;
&lt;td&gt;Use Cloud UI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="background-color: #d9ead3;"&gt;
&lt;td&gt;Existing Customer using InfluxQL and v2 Client Library&lt;/td&gt;
&lt;td&gt;InfluxDB Cloud Dedicated, InfluxDB Clustered, OSS 3.0&lt;/td&gt;
&lt;td&gt;Use InfluxQL or SQL&lt;/td&gt;
&lt;td&gt;Use the v3 Lightweight Client Library, Arrow Flight, or the v1 Client Library; the v2 Client Library and v2 API will not work&lt;/td&gt;
&lt;td&gt;Use the v3 Lightweight Client Library, Arrow Flight, or the v1 Client Library; the v2 Client Library and v2 API will not work&lt;/td&gt;
&lt;td&gt;Use influxctl command line utility&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;You can find the v3 Lightweight client libraries at the following locations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href="https://github.com/InfluxCommunity/influxdb3-python"&gt;Python&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://github.com/InfluxCommunity/influxdb3-csharp"&gt;C#&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://github.com/InfluxCommunity/influxdb3-go"&gt;Go&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://github.com/InfluxCommunity/influxdb3-java"&gt;Java&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://github.com/InfluxCommunity/influxdb3-js"&gt;JavaScript&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a deeper dive on the Python v3 Client Libraries, &lt;a href="https://www.influxdata.com/blog/client-library-deep-dive-python-part-1/"&gt;check out this blog&lt;/a&gt; from my colleague Jay Clifford.&lt;/p&gt;
</description>
      <pubDate>Fri, 18 Aug 2023 07:35:00 +0000</pubDate>
      <link>https://www.influxdata.com/blog/choosing-client-library-when-developing-with-influxdb-3-0/</link>
      <guid isPermaLink="true">https://www.influxdata.com/blog/choosing-client-library-when-developing-with-influxdb-3-0/</guid>
      <category>Product</category>
      <author>Gary Fowler (InfluxData)</author>
    </item>
    <item>
      <title>Now Available: The Flight SQL Plugin for Grafana</title>
      <description>&lt;p&gt;Today we have exciting news for &lt;a href="https://www.influxdata.com/grafana/"&gt;Grafana&lt;/a&gt; customers with Flight SQL data sources: Now there is a new community plugin available for Grafana that allows it to communicate with Flight-SQL-compatible databases.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.influxdata.com/glossary/apache-arrow-flight-sql/"&gt;Flight SQL&lt;/a&gt; is a client-server protocol developed by the &lt;a href="https://www.influxdata.com/glossary/apache-arrow/"&gt;Apache Arrow&lt;/a&gt; community for interacting with SQL databases. It utilizes the Flight RPC framework and the Arrow in-memory columnar format.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.influxdata.com/products/influxdb-overview/"&gt;InfluxDB 3.0&lt;/a&gt; supports Flight SQL, which means that you can now use this community plugin to query an InfluxDB 3.0 database. InfluxDB 3.0 is available for new accounts utilizing &lt;a href="https://www.influxdata.com/products/influxdb-cloud/serverless/"&gt;InfluxDB Cloud Serverless&lt;/a&gt; and &lt;a href="https://www.influxdata.com/products/influxdb-cloud/dedicated/"&gt;InfluxDB Cloud Dedicated&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;InfluxData helped develop this Grafana plugin in an effort to advance the open source Apache Arrow project, and all products that utilize Apache Arrow and Flight SQL should be able to take advantage of it.&lt;/p&gt;

&lt;h2 id="setting-up-grafana-cloud-to-use-flight-sql-is-simple"&gt;Setting up Grafana Cloud to use Flight SQL is simple&lt;/h2&gt;

&lt;p&gt;First, select the “+Connect data” button:&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/Lg9p2WVj5z8yXRUIWEKV3/826333eb9e98771b70309fb1f1c2e904/Welcome_to_Grafana_Cloud.png" alt="Welcome to Grafana Cloud" /&gt;&lt;/p&gt;

&lt;p&gt;Then choose Integrations: Click the “View All” button and then type “Flight” in the search bar:&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/6krWfWrOMa7BO0FjpfO85/6bdeea4add79e3ddfda4841ef0616a5e/How_to_connect_your_data.png" alt="How to connect your data" /&gt;&lt;/p&gt;

&lt;p&gt;Next, click on the Flight SQL tile to install the plugin:&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/6ZQ6Y0fAq9zD6Hlslf0y6V/55ca42d4d36cd446a12820a4b5c12b38/connect_data.png" alt="connect data" /&gt;&lt;/p&gt;

&lt;p&gt;To configure the plugin, enter your hostname and port and paste in your API token. Then configure the key and value for your metadata. This consists of ‘bucket-name’ and the actual name of the bucket/database that you are trying to access:&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/7ptXJEERpNTVEYVRZYIclY/d17fb5e1e3c9648c6f0eb05d4209c026/FlightSQL.png" alt="FlightSQL" /&gt;&lt;/p&gt;

&lt;p&gt;Once you have everything configured, you can start querying data in InfluxDB using SQL and create visualizations using your new data source.&lt;/p&gt;

&lt;p&gt;A big thank you to our friends at Grafana for publishing this community plugin for Flight SQL customers.&lt;/p&gt;

&lt;p&gt;To try it for yourself, &lt;a href="https://cloud2.influxdata.com/signup"&gt;sign up&lt;/a&gt; for a free InfluxDB account today.&lt;/p&gt;
</description>
      <pubDate>Tue, 25 Apr 2023 01:00:00 +0000</pubDate>
      <link>https://www.influxdata.com/blog/now-available-flight-sql-plugin-grafana/</link>
      <guid isPermaLink="true">https://www.influxdata.com/blog/now-available-flight-sql-plugin-grafana/</guid>
      <category>Use Cases</category>
      <category>Developer</category>
      <author>Gary Fowler (InfluxData)</author>
    </item>
    <item>
      <title>InfluxDB Cloud Features New Query Experience</title>
      <description>&lt;p&gt;If seeing is believing, then the new UI for the InfluxDB query experience is sure to convert you. We are working on a new query/script editor and want you to try it out. Feel free to share your feedback with us so we can make it even better!&lt;/p&gt;

&lt;p&gt;Here are just some of the highlights of the new editor.&lt;/p&gt;

&lt;h2 id="schema-browser"&gt;Schema browser&lt;/h2&gt;

&lt;p&gt;The new query/script editor includes a schema browser that allows you to see a hierarchical view of your schema. You can select data directly in that schema view and build &lt;a href="https://www.influxdata.com/products/flux/"&gt;Flux&lt;/a&gt; queries based on those selections.&lt;/p&gt;

&lt;p&gt;&lt;img class="alignnone" src="//images.ctfassets.net/o7xu9whrs0u9/6kjFW0x8tSCIfJHxxf315x/f571d3493c6b053847758ef2d9ca7e32/Schema_browser.png" alt="Schema browser" width="400" height="656" /&gt;&lt;/p&gt;

&lt;h2 id="schema-selections---flux-synchronization"&gt;Schema selections ← → Flux synchronization&lt;/h2&gt;

&lt;p&gt;This new interface displays auto-generated Flux code to the user at all times. This is different from the existing Data Explorer interface where users must choose between the visual query builder and the script editor. If they choose the visual representation, then the Flux script that InfluxDB creates is completely hidden from the user.&lt;/p&gt;

&lt;p&gt;The new editor always shows the user that auto-created Flux code so that they can start to see what it looks like and, when they’re ready, they can add to that code directly, without the need to toggle to a different window. But if you have not (or don’t want) to learn Flux, you still don’t have to. You can still make selections from the schema browser to build your query.&lt;/p&gt;

&lt;p&gt;After you make selections in the schema to build (or start) your Flux script, you can add your own custom Flux code below the schema “composition” block. At the same time, you can continue to use the schema browser to make changes to the code in the composition block. The Flux script within the schema composition block stays in sync with the selections in the schema browser. You can toggle this feature on/off using the Flux Sync toggle. If you manually edit the code in the composition block section, Flux Sync automatically deactivates.&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/fd665KQJlu9GX8UTsS3LA/d25db3e466fdc318198b57cce11635a6/Schema_selections_-_Flux_synchronization.png" alt="Schema selections - Flux synchronization" /&gt;&lt;/p&gt;

&lt;p&gt;By showing the actual Flux script to the user at all times, we hope that users become more comfortable with Flux so that it’s easier to build more complex queries/scripts later on.&lt;/p&gt;

&lt;h2 id="instructional-interface"&gt;Instructional interface&lt;/h2&gt;

&lt;p&gt;The new query experience represents the basic hierarchy (tags and fields associated with measurements contained within buckets) within the schema browser to help you learn the InfluxDB data model.&lt;/p&gt;

&lt;p&gt;One piece of feedback that we received from the user community is that not everyone at a given organization understands the InfluxDB data model. There may be one or more individuals who do, but when they start to pull in others from their organization, those unfamiliar with InfluxDB sometimes struggle, especially if they’re used to working with traditional relational databases. Sometimes new users don’t know where to start when querying InfluxDB. This can lead to queries that return huge datasets, and an overall poor initial experience with InfluxDB.&lt;/p&gt;

&lt;p&gt;The new interface represents the hierarchy in a familiar tree format. This helps users refine and narrow their initial queries so that they return more helpful datasets. In addition, the new interface provides in-app help to identify and define the elements of InfluxDB and its data model (e.g., buckets, measurements, tags, and fields) so new users can start off with an accurate foundational understanding of what they’re looking at.&lt;/p&gt;

&lt;p&gt;&lt;img class="alignnone" src="//images.ctfassets.net/o7xu9whrs0u9/3hnsz7LrMK3GAnhAofyhLP/72351dc36361dde26f47bfbe08f99829/Instructional_interface.png" alt="Instructional interface" width="400" height="656" /&gt;&lt;/p&gt;

&lt;h2 id="loadsave"&gt;Load/save&lt;/h2&gt;

&lt;p&gt;The new script editor allows you to save your queries/scripts and retrieve them later. Loading and saving Notebooks is already a production feature, but the capability was unavailable for queries written in the basic Data Explorer until now.&lt;/p&gt;

&lt;p&gt;The initial feature is very basic and simple: it allows you to store and retrieve queries/scripts created in the new interface. However, we plan to add version management, cloning, renaming, and folder or label organization in the future, as well as the ability to share your queries/scripts with other users in your organization.&lt;/p&gt;

&lt;p&gt;&lt;img class="alignnone" src="//images.ctfassets.net/o7xu9whrs0u9/1bTGQNmxUATn3t5lVueWpj/399322efaf59dcd47d53a6d5c1916716/Load-save.png" alt="Load-save" width="400" height="656" /&gt;&lt;/p&gt;

&lt;h2 id="new-defaults"&gt;New defaults&lt;/h2&gt;

&lt;p&gt;This script editor defaults to a table result view of non-aggregated data, something many of you asked us to implement. Pivoting your results by time is another default coming soon.&lt;/p&gt;

&lt;h2 id="searchfilter-result-table"&gt;Search/filter result table&lt;/h2&gt;

&lt;p&gt;You can now filter/search on your results without having to run an additional query. Sometimes running a query looking for something very specific returns more results than intended. This feature lets you apply filters to that initial result set, so you don’t have to rewrite your query or write a new, additional query to narrow down your results.&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/6hk79JuQQfK91wPQaWbStO/f61f06e3135fc66725d395fb87c5906a/Search-filter_result_table.png" alt="Search-filter result table" /&gt;&lt;/p&gt;

&lt;h2 id="new-time-range-selection"&gt;New time range selection&lt;/h2&gt;

&lt;p&gt;The new Time Range Selector makes it easier to set custom time ranges and provides more flexibility for relative ranges.&lt;/p&gt;

&lt;p&gt;&lt;img class="alignnone" src="//images.ctfassets.net/o7xu9whrs0u9/5HONeTD59yFZ9HQBjXmI6J/35194cffd32333d5c236f209286c0fb4/New_time_range_selection.png" alt="New time range selection" width="400" height="656" /&gt;&lt;/p&gt;

&lt;h2 id="query-statistics"&gt;Query statistics&lt;/h2&gt;

&lt;p&gt;The new experience shows you how long your query took to run and how many tables and rows are in the result set.&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/6FgfMdUIDtM71gPCOegIDp/d525b6fda1cc2b4496aea8fb559a99df/Query_statistics.png" alt="Query statistics" /&gt;&lt;/p&gt;

&lt;h2 id="multi-language-support"&gt;Multi-language support&lt;/h2&gt;

&lt;p&gt;While Flux is the first language we are implementing in this new interface, it won’t be the last. &lt;strong&gt;Spoiler alert! We are working on &lt;a href="https://www.influxdata.com/products/sql/"&gt;SQL&lt;/a&gt; support next.&lt;/strong&gt;&lt;/p&gt;

&lt;h2 id="improved-performance-and-large-dataset-handling"&gt;Improved performance and large dataset handling&lt;/h2&gt;

&lt;p&gt;We improved the performance of displaying tables and working with large datasets. We increased the max result size from 27MB to 100MB and no longer truncate CSV downloads (you can get the entire query set).&lt;/p&gt;

&lt;h2 id="more-future-features"&gt;More future features&lt;/h2&gt;

&lt;p&gt;There are many more planned features for the new query/script editor, including adding features like aggregations, group-by, sorting, and “count” function helpers to the interface. Nevertheless, we wanted to get this out and make it available to you now while we continue to work on these items. Doing so also gives us a chance to collect your feedback so we can build the features you actually want, without having to guess.&lt;/p&gt;

&lt;p&gt;You can &lt;strong&gt;preview the new script editor from a toggle at the top of the Data Explorer window&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img src="//images.ctfassets.net/o7xu9whrs0u9/3Hwbz9zBR9LuOteKpsvfI9/6d27fc96831913bc1017c5d1092759e3/preview_the_new_script_editor_from_a_toggle_at_the_top_of_the_Data_Explorer_window.png" alt="preview the new script editor from a toggle at the top of the Data Explorer window" /&gt;&lt;/p&gt;

&lt;p&gt;We look forward to your feedback as we continue to add features to the new query/script editor.&lt;/p&gt;
</description>
      <pubDate>Mon, 05 Dec 2022 07:00:00 +0000</pubDate>
      <link>https://www.influxdata.com/blog/influxdb-cloud-new-query-experience/</link>
      <guid isPermaLink="true">https://www.influxdata.com/blog/influxdb-cloud-new-query-experience/</guid>
      <category>Product</category>
      <author>Gary Fowler (InfluxData)</author>
    </item>
    <item>
      <title>The Best Query Language to Use with InfluxDB</title>
      <description>&lt;p&gt;People often ask us, “What is the best query language to use with InfluxDB?” The answer to this question has evolved a bit over the years – and the current answer might surprise you.&lt;/p&gt;

&lt;h2 id="the-early-days"&gt;The early days&lt;/h2&gt;

&lt;p&gt;InfluxDB’s first query language was &lt;a href="https://www.influxdata.com/products/influxql/"&gt;InfluxQL&lt;/a&gt;. InfluxQL is a SQL-like language with some enhancements specifically designed for time series data.&lt;/p&gt;

&lt;p&gt;It was far and away the best query language to use with InfluxDB because it was the only query language you could use with InfluxDB. It is very popular and still in use today.&lt;/p&gt;

&lt;h2 id="flux-arrives"&gt;Flux arrives&lt;/h2&gt;

&lt;p&gt;Even with the success of InfluxQL, we recognized that our users would benefit from something more advanced than SQL-like querying. We wanted something that allowed our customers to perform operations right at the database level. So we built a complete scripting language called &lt;a href="https://www.influxdata.com/products/flux/"&gt;Flux&lt;/a&gt;. You can do all sorts of things with Flux like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Combining data sources by pulling in or referencing data from a relational database using the &lt;code class="language-html"&gt;sql.from&lt;/code&gt; function&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Writing back to a relational database using the &lt;code class="language-html"&gt;sql.to&lt;/code&gt; function&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Performing simple or complex downsampling or aggregations&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Making outbound API calls to trigger action(s) in your own applications&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We continue to be very excited about Flux (check out the &lt;a href="https://www.influxdata.com/blog/what-expect-flux-1-0"&gt;Flux 1.0 announcement&lt;/a&gt;!) and consider it a real differentiator for us. At the same time, we recognize that Flux isn’t necessarily for everybody. It has a learning curve and not everyone is willing to invest the time it takes to learn the language. But if you ask an Influxer, we’d probably tell you that Flux is the best query language to use with InfluxDB.&lt;/p&gt;

&lt;h2 id="influxdb-iox"&gt;InfluxDB IOx&lt;/h2&gt;

&lt;p&gt;With our recent &lt;a href="https://www.influxdata.com/blog/influxdb-engine/"&gt;announcement of InfluxDB IOx&lt;/a&gt;, we introduced native SQL querying language support as well.&lt;/p&gt;

&lt;p&gt;For organizations with IOx-enabled buckets, you can choose from InfluxQL, Flux, and SQL to query your data. So, since we announced SQL support, does that mean that SQL is the best language to use with InfluxDB? The answer, as it often is: it depends.&lt;/p&gt;

&lt;h2 id="so-what-do-i-choose"&gt;So what do I choose?&lt;/h2&gt;

&lt;p&gt;We are bullish on SQL as a query language in InfluxDB and feel it is a great choice in many circumstances, like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;You’re migrating code that already makes PostgreSQL calls to a different SQL database.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;You know SQL really well and don’t have time to learn a new tool.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Your primary needs involve querying data and data transformations, and other operations are not as important at this time.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But InfluxQL still has its place and is good in many other situations, like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;You like the SQL-like experience but want the time series extensions that come with InfluxQL.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;You already wrote a lot of query scripts using InfluxQL and don’t want to migrate them.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;You love InfluxQL!&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And Flux is certainly a winner when you want a full-fledged scripting language that can do advanced operations at the database level beyond what you can do with a simple query language.&lt;/p&gt;

&lt;p&gt;Rather than recommending or promoting a specific language, we continue to abide by our mantra of “meeting developers where they are.” When it comes to querying data in InfluxDB, we give you multiple options, in the hope that at least one of those options is right for you based on your own environment and work experience. And it isn’t always about choosing just one query language. Some users may want (or need) to utilize a combination of the supported query languages.&lt;/p&gt;

&lt;p&gt;But we aren’t simply content with these three language options either. For writing tasks that run on the InfluxDB platform, we also plan to add support for Python and Javascript. This will give you even more options for creating tasks and let you leverage your existing skills in the process.&lt;/p&gt;

&lt;p&gt;So, while you might have expected me to say that Flux is the best query language to use (we do think it is really awesome), or maybe you thought I would say SQL is the best query language to use because our IOx engine supports it, I am not. Those are, in fact, two terrific options, and InfluxQL is a third. The bottom line is that you know your environment best and probably already have a good idea of what the best fit is for you. With that in mind, my official recommendation to you is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The very best query language to use with InfluxDB is whatever you choose to use.&lt;/strong&gt;&lt;/p&gt;
</description>
      <pubDate>Mon, 21 Nov 2022 07:00:00 +0000</pubDate>
      <link>https://www.influxdata.com/blog/best-query-language-influxdb/</link>
      <guid isPermaLink="true">https://www.influxdata.com/blog/best-query-language-influxdb/</guid>
      <category>Product</category>
      <author>Gary Fowler (InfluxData)</author>
    </item>
  </channel>
</rss>
