Skip to content

Commit 7eb5bf1

Browse files
committed
Tutorials: Re-add references to tutorials refactored elsewhere
1 parent 36c2e09 commit 7eb5bf1

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

docs/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ A command-line based terminal program to operate your managed clusters.
9494
:::
9595

9696

97+
:::{grid-item-card} {octicon}`mortar-board` Tutorials
98+
:link: usage
99+
:link-type: ref
100+
Learn how to use key features of CrateDB SQL.
101+
:::
102+
97103
:::{grid-item-card} {octicon}`container` CrateDB Cloud on Kubernetes
98104
:link: cloud-on-kubernetes
99105
:link-type: ref
@@ -153,6 +159,7 @@ for improvements], and [source code contributions], are always welcome. {fab}`gi
153159
:hidden:
154160

155161
Quick Start <tutorials/quick-start>
162+
Usage <tutorials/usage>
156163
Services <reference/services>
157164
Billing <reference/billing>
158165
Manage <howtos/index>

docs/tutorials/usage.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
(usage)=
2+
3+
# Using SQL on CrateDB Cloud
4+
5+
Learn how to use key features of CrateDB SQL using fundamental tutorials,
6+
or explore {ref}`guide:features`.
7+
8+
<style>
9+
/* Cards with Links */
10+
.sd-hide-link-text {
11+
height: 0;
12+
}
13+
</style>
14+
15+
16+
:::::{grid} auto 2 2 2
17+
:margin: 4 4 0 0
18+
:padding: 0
19+
:gutter: 2
20+
21+
::::{grid-item-card} {material-outlined}`data_object;2em` Document Store: The OBJECT Data Type
22+
:link: guide:objects-basics
23+
:link-type: ref
24+
:class-footer: text-smaller
25+
26+
CrateDB’s `OBJECT` data type allows to store and analyze complex and nested data
27+
efficiently. It can optionally be strict or dynamic, thus schemaless.
28+
29+
The tutorial explores analyzing marketing data, therefore it also outlines another
30+
feature of CrateDB, supporting destructuring URLs by using generated columns.
31+
+++
32+
CrateDB's document store is based on Lucene indexes, exactly how Elasticsearch
33+
is doing it.
34+
::::
35+
36+
::::{grid-item-card} {material-outlined}`topic;2em` Time Series: Device Readings with Metadata
37+
:link: guide:timeseries-objects
38+
:link-type: ref
39+
:class-footer: text-smaller
40+
41+
CrateDB supports effective time series analysis with enhanced features
42+
for fast aggregations.
43+
44+
- Rich data types for storing structured nested data (OBJECT) alongside
45+
time series data.
46+
- A rich set of built-in functions for aggregations.
47+
- Relational JOIN operations.
48+
- Common table expressions (CTEs).
49+
+++
50+
Combine time series data with document data: CrateDB is all you need.
51+
::::
52+
53+
::::{grid-item-card} {material-outlined}`search;2em` Full-Text: Explore the Netflix Catalog
54+
:link: guide:search-basics
55+
:link-type: ref
56+
:class-footer: text-smaller
57+
CrateDB's `TEXT INDEX USING FULLTEXT` SQL DDL clause sets up a full-text index
58+
on a column. The `MATCH` SQL predicate is used for querying it.
59+
60+
The tutorial explores the Netflix Catalog, exercising FTS features on relevant data.
61+
+++
62+
CrateDB's full-text search is based on Lucene's inverted index and BM25 scoring.
63+
::::
64+
65+
::::{grid-item-card} {material-outlined}`lightbulb;2em` Time Series: Advanced SQL
66+
:link: guide:timeseries-analysis-weather
67+
:link-type: ref
68+
:class-footer: text-smaller
69+
CrateDB provides enhanced features for querying time series data.
70+
71+
Run aggregations with gap filling / interpolation, using common
72+
table expressions (CTEs) and LAG / LEAD window functions.
73+
74+
Find maximum values using the MAX_BY aggregate function, returning
75+
the value from one column based on the maximum or minimum value of another
76+
column within a group.
77+
78+
The tutorial analyzes data from synoptic weather observations.
79+
+++
80+
Advanced queries on time series data: CrateDB is all you need.
81+
::::
82+
83+
84+
:::::

0 commit comments

Comments
 (0)