Commit Graph

18 Commits (db059f99b0df11143e96b0c33e0829388d7c98c3)

Author SHA1 Message Date
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
Scott Anderson 3b9bf0d019
Update SQL timestamp functions and casting operations (#5332)
* updated sql time and date functions

* update sql casting docs with new TIMESTAMP behavior, closes #5331

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* added format_n argument to to_timestamp* functions

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-02-26 15:21:25 -07:00
Scott Anderson 926eceea41
Update 'SHOW TAG VALUES' documentation to include a FROM clause (#5324)
* add note to show tag values docs about including a FROM clause, closes #5321

* Update content/influxdb/cloud-dedicated/reference/influxql/show.md

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* port changes to serverless and clustered

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-02-15 11:31:48 -07:00
Jason Stirnaman 4b371c91d8
Update Go Arrow package version (#5288)
Fixes #5271

- Updates Go samples that use the client library to use the same Arrow package version (v13) used in the client library
- Updates Go FlightSQL examples to use the latest Arrow package (v14).
2023-12-28 14:02:58 -06:00
Scott Anderson c856e84fdc
Add influxctl instructions to query and write task-based docs (#5278)
* added influxctl examples to clustered and dedicated get started

* added task-based influxctl query docs

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-12-18 08:25:12 -07:00
Scott Anderson 6514187bf1
influxctl 2.4.1 (#5276)
* influxctl 2.4.0 release notes

* added influxctl write and query commands

* Apply suggestions from code review

Co-authored-by: Joshua Powers <powersj@fastmail.com>

* added default credential examples to influxctl query and write

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* replaced INFLUXDB_HOST with influxdb/host shortcode in influxctl example config

---------

Co-authored-by: Joshua Powers <powersj@fastmail.com>
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-12-14 12:26:19 -07:00
Scott Anderson ae3341cc70
v3 InfluxQL troubleshooting (#5261)
* WIP v3 influxql troubleshooting

* WIP influxql troubleshooting

* WIP InfluxQL troubleshooting

* add influxql troubleshooting to serverless

* Update content/influxdb/cloud-dedicated/query-data/influxql/troubleshoot.md

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* ported influxql troubleshooting to serverless and clustered

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-12-06 14:04:10 -07:00
Scott Anderson cbd2a0b72a
Update mentions of IOx to v3 (#5256)
* update mentions of IOx to v3

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-11-30 11:52:40 -07:00
Jeffrey Smith II 491dfc50d7
fix: update influxql docs to reflect implicit time limit (#5237)
* fix: update influxql docs to reflect implicit time limit

* chore: include default time range

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* chore: include default time range

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* chore: include default time range

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* chore: better wording/explanation

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* chore: better wording/explanation

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* chore: better wording/explanation

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-11-15 14:21:55 -06:00
Jason Stirnaman c4ccc191b6
fix(v3): remove v2-prefer note, replace with specific recommendations (#5195)
* fix(v3): remove v2-prefer note, replace with specific recommendations

- removes the shared v2-prefer shortcode note.
- adds "Flight client" tag to all Flight RPC and Flight SQL client pages.
- replaces the note with specific write/query notes in each platform.
- misc fixes

* fix(v3): v2 client library typo

* fix(v3): Cleanup usage note for all v2 client libraries

- Change note to warning
- Condense
- Move warning to prepend block
- Make consistent on all pages
- Remove autolinking to GitHub repos

* chore(v3): Add "Clustered"

* fix(v3): typo
2023-10-26 14:45:38 -05:00
Scott Anderson 008aeb21e6 hotfix: fix menu key on clustered influxql explore schema 2023-10-24 10:30:46 -06:00
Scott Anderson 5d3328b7c6
Add InfluxQL schema exploration docs (#5189)
* add influxql explore schema task-based doc

* port influxql explore schema guide to clustered and serverless
2023-10-24 10:27:18 -06:00
Scott Anderson 8223d6e3f0
Add task-based InfluxQL aggregation guide (#5187)
* added task-based influxql aggregate guide

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* ported influxql aggregate guides to other v3 products, added related links

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-10-24 08:00:32 -06:00
Jason Stirnaman 5bc6fb2865
5178 v3 fix broken link (#5180)
* fix(v3): Closes v3: fix broken link #5178

* fix(v3): fix broken links, document query FlightCallOptions
2023-10-16 15:25:00 -05:00
Jason Stirnaman 5ad8e80361
5143-Add Optimize Queries page with query analysis help (#5165)
* chore(test): Use my python client fork (pending approval) to allow custom headers.

* feature(query): Add Optimize Queries page with query analysis help

- Closes Client library query traces: Python #5143
- Dedicated and Clustered examples for enabling query tracing and extracting headers
- System.queries table
- Explain and Analyze
- For now, skip tests for sample Flight responses until we add in code samples.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* feat(v3): influx-trace-id for dedicated, tracing not ready for clustered (Client library query traces: Python #5143)

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-10-16 15:08:40 -05:00
Scott Anderson 35ad46c4c2
Version restructure (#5133)
* mass changes for version restructure

* fixed latest-patch and flux version generator

* updated hugo configs

* fixed flux frontmatter injector

* fixed flux frontmatter injector

* WIP api generator updates for version restructure (#5128)

* fixed telegraf plugin list

* removed latest shortcode

* fixed current-version

* fixed product dropdown crosslinking

* fixed alt links

* WIP fixing links

* fixed broken links

* updated api doc generation

* fixed additional resources

* added version redirects to edge.js

* fixed search placeholder

* fixed paged titles
2023-09-12 23:33:31 -06:00
Scott Anderson 3b0a469906 hotfix: fix references to cloud in clustered 2023-09-11 13:45:28 -06:00
Scott Anderson 471ee4561d
InfluxDB Clustered documentation (#5126)
* WIP base changes for clustered docs

* WIP clustered docs

* Add new influxdb/host shortcode and implement it in 3.0 docs (#5077)

* add new influxdb/host shortcode and implement it in 3.0 docs

* remove oss- cloud-only shortcodes from serverless

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* updated urls js to PR suggestion

* Updated JavaScript, templates, and styles for Clustered URLs (#5079)

* updated js, templates, and styles for clustered urls

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* restructure product dropdown template to be more extensible

* fixed more page template bugs

* fixed references to cloud in clustered

* updated docsearch templates

* added early access flagging and cta-link shortcode

* minor content updates in clustered

* updated staging config

* fixed typo in clustered description

* ported influxctl 2.0.1 to clustered

* ported get started changes to clustered

* ported 3.0 admin docs to clustered

* port null tag content to clustered

* ported influxctl note to clustered

* ported query reorg changes to clustered

* updated early access to limited availability, updated clustered landing content

* ported new content to clustered

* ported new content to clustered

* updated cta on clustered landing page

* Updated notifications and added InfluxDB Clustered announcement notification (#5125)

* updated notifications, added clustered announcement notification

* updated cta in clustered notification

* updated influxctl profile configs

* update clustered search attributes

* updated learn more link in clustered notification

* Apply suggestions from code review

* fixed typos

* fixed typos

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-09-06 06:21:47 -06:00