Notebook
This page is part of MariaDB's Documentation.
The parent of this page is: Connect and Query
Topics on this page:
Overview
Notebook enables interactive analytics with built-in visualization and forms for your Serverless Analytics service.
Prerequisite
Serverless Analytics
Access Notebook
Go to the Dashboard.
Click the "CONNECT" button for the Serverless Analytics service.
In the Connect window, click the link under "Getting started using Notebook". You will be directed to the Notebook portal.
Demos
Notebook provides rapid onboarding through step-by-step demos.
From the Notebook portal, you can access four demos located on the right and under the "Notebook" tab:
Click any of the following Demos to get started:
Demo-1: Getting Started with Serverless Analytics
Demo-2: Schema Inference and Analytics on CSV
Demo-3: Interactive Analytics on SkySQL DBS
Demo-4: Federate queries across sources
Follow the steps to run each paragraph.
Click the "run" button to run a paragraph (located on the right).
Click the "show editor" button to edit the paragraph.
Click the "hide output" button to hide the returned output.
Click the "gear icon" to adjust the paragraph's font-size, width, location, or run other paragraphs.
Activity Monitoring
Notebook Tools enables you to monitor queries:
Click "Monitoring Console" under Tools.
You are directed to Apache Spark SQL.
All tasks you run are shown in Spark.
Manage Data Sources
Notebook Tools allows you to manage outside data sources:
Click the "Manage Data Sources" button under Tools.
Enter "dataset" name.
Select the data source and file format.
Enter the data source parameters.
Enter File Format parameters.
Click the "Preview Data" button.
Examples
The examples notebook demonstrates simple data transformation. Follow the the Example steps to view the data transformations.
Benchmarking
Notebook allows you to compare Serverless Analytics performance with Data in local NFS vs Data in Xpand cluster (Star Schema Benchmark).
Create New Note
To create a new note in Notebook:
Click the "Notebook" tab in the top navigation bar.
Click the "Create New Note" option in the drop down menu.
Enter a name for the note.
Select desired "Default Interpreter" option.
Click the "Create" button.
Once the notebook is created, you can write queries and notes in the browser.
Click the "run" button to run a paragraph (located on the right).
Click the "show editor" button to edit the paragraph.
Click the "hide output" button to hide the returned output.
Click the "gear icon" to adjust the paragraph's font-size, width, location, or run other paragraphs.
Notebook Task Details
All tasks you run in Notebook are shown in a list in Spark.
To access task details:
In Dashboard, go to your Serverless services.
Click the "connect" button (to the right).
Click the "SQL (Spark) UI" link to view the queries being run.