Go to file
Jason Stirnaman db059f99b0
Strategies to improve query performance: operations, number and size … (#5215)
* Strategies to improve query performance: operations, number and size of parquet files
Fixes #5108

- Add query performance strategies to optimize-queries

* Apply suggestions from code review

* Apply suggestions from code review

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries.md

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>

* chore(v3): WIP query perf
Fixes #5108

* chore(v3): WIP: Query performance

* chore(v3): WIP: Explain the EXPLAIN report and indicators of query expense, performance problems.

* WIP: optimize queries - how to read a query plan, operators

* WIP: Read a query plan example 2

* WIP: moved how to read a query plan to its own page.

* WIP(v3): operators

* chore(v3): WIP add query plan info from DataFusion slides and @NGA-TRAN

* chore(v3): WIP read a query plan - explain tree format and reorganize

* WIP: query plan

- Adds Query Plan reference
- Completes Analyze a Query Plan, pending cleanup, continue at :471
- Added image from Nga's blog
- Updates EXPLAIN doc
- TODO: Create public docs for
https://github.com/influxdata/docs.influxdata.io/blob/main/content/operations/specifications/iox_runbooks/slow-queries.md

* chore(spelling): Vale config changes

- Add vale to package.json and use Yarn to manage the binary. You can use `npx vale` to run manually.
- Move InfluxData spelling ignore list into the style.
- Reorganize custom (product) spelling lists to comply with Vale 3.x
- Add InfluxDB v3 terms

* chore(spelling): Vale config changes

- Add vale to package.json and use Yarn to manage the binary. You can use `npx vale` to run manually.
- Move InfluxData spelling ignore list into the style.
- Reorganize custom (product) spelling lists to comply with Vale 3.x
- Add InfluxDB v3 terms

* chore(v3): Reorg of query troubleshooting and optimizing docs

- Adds query-data/troubleshoot-and-optimize
- Splits optimize docs into troubleshoot and optimize docs
- Moves Flight response doc to flight-responses.md

* chore: Fixes broken links, typos, missing content, etc.

- Fixes various errors and style violations reported by Vale.
- Fixes broken links and missing content in glossaries.
- Fixes missing and extraneous whitespace.

* Apply suggestions from code review

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/analyze-query-plan.md

* chore(clustered): Query plan: Apply review suggestions

Co-Authored-By: Nga Tran <20850014+NGA-TRAN@users.noreply.github.com>

* feature(v3): Analyze a query plan:

- Apply code formatting to plan implementor names
- Simplify some points
- Add links

* add query plan html diagram (#5365)

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/analyze-query-plan.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/optimize-queries.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/trace.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/trace.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/trace.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-serverless/query-data/troubleshoot-and-optimize/analyze-query-plan.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* fix(v3): finish the EXPLAIN descriptions and examples

* chore(tests): Setup a python venv in test containers

* fix(ci): Vale vocab

* fix(v3): Punctuation typo

* chore(ci): Update README

* fix(v3): Apply review suggestions and capitalization

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* fix(v3): Add note to optimize page and revise troubleshoot

* fix(v3): optimize-queries link

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Co-authored-by: Nga Tran <20850014+NGA-TRAN@users.noreply.github.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-03-15 18:40:38 -05:00
.ci Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
.circleci Fix errors when running latest hugo version v0.123.8 (#5356) 2024-03-11 17:31:33 -06:00
.github Update new feature issue template 2022-04-14 16:08:59 -06:00
.vscode chore(ci): Add vale script, configuration, and fixes (#5081) 2023-08-11 13:50:31 -05:00
api-docs fix(v2): (Closes #5320) Remove attribute from OSS /api/v2/query schema. OSS doesn't support parameterized queries. See upstream PR: https://github.com/influxdata/openapi/pull/646 (#5325) 2024-02-15 17:20:57 -06:00
assets Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
content Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
data hotfix: fix oss placeholder url in data/products.yml 2024-03-11 16:09:29 -06:00
deploy Upgrade hugo to latest version 0.120.4 (#5241) 2023-11-27 13:39:23 -07:00
flux-build-scripts fix: update flux version script to pull nightly versions from main-2.x 2023-12-04 10:32:21 -07:00
layouts Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
resources Add files via upload (#4395) 2022-10-06 13:32:02 -06:00
shared/text Optimize writes: Use Telegraf to pre-process data before writing (#5282) 2023-12-22 11:23:49 -06:00
static Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
test Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
.gitignore Jts/api guides (#3862) 2022-06-15 19:15:46 -05:00
.prettierrc.yaml fix: Authorization, not Authentication, header (#3342) 2021-11-03 16:53:56 -05:00
.s3deploy.yml added font file extensions to s3deploy caching config 2019-01-19 08:30:43 -07:00
.vale.ini Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
CONTRIBUTING.md Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
LICENSE added license and issue template, moved security.md 2019-10-07 10:27:36 -06:00
README.md Fix errors when running latest hugo version v0.123.8 (#5356) 2024-03-11 17:31:33 -06:00
compose.yaml 5156 Writes: add v1 to Serverless get-started (#5233) 2023-11-15 14:41:29 -06:00
hugo.staging.toml add JSON page lists for use in the v3 UI (#5363) 2024-03-14 09:32:04 -06:00
hugo.toml add JSON page lists for use in the v3 UI (#5363) 2024-03-14 09:32:04 -06:00
package.json Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
test.Dockerfile Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
test.sh Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
yarn.lock Fix errors when running latest hugo version v0.123.8 (#5356) 2024-03-11 17:31:33 -06:00

README.md

InfluxDB 2.0 Documentation

This repository contains the InfluxDB 2.x documentation published at docs.influxdata.com.

Contributing

We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see Contribution guidelines.

Reporting a Vulnerability

InfluxData takes security and our users' trust very seriously. If you believe you have found a security issue in any of our open source projects, please responsibly disclose it by contacting security@influxdata.com. More details about security vulnerability reporting, including our GPG key, can be found at https://www.influxdata.com/how-to-report-security-vulnerabilities/.

Running the docs locally

  1. Clone this repository to your local machine.

  2. Install NodeJS, Yarn, Hugo, & Asset Pipeline Tools

    The InfluxData documentation uses Hugo, a static site generator built in Go. The site uses Hugo's asset pipeline, which requires the extended version of Hugo along with NodeJS tools like PostCSS, to build and process stylesheets and JavaScript.

    To install the required dependencies and build the assets, do the following:

    1. Install NodeJS

    2. Install Yarn

    3. In your terminal, from the docs-v2 directory, install the dependencies:

      cd docs-v2
      yarn install
      

      Note: The most recent version of Hugo tested with this documentation is 0.123.8.

  3. To generate the API docs, see api-docs/README.md.

  4. Start the Hugo server

    Hugo provides a local development server that generates the HTML pages, builds the static assets, and serves them at localhost:1313.

    In your terminal, start the Hugo server:

    npx hugo server
    
  5. View the docs at localhost:1313.