Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2 #29

Open
wants to merge 756 commits into
base: master
Choose a base branch
from
Open

4.2 #29

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
756 commits
Select commit Hold shift + click to select a range
ba4ff2b
Update update.rst
TaliaSQream Mar 28, 2023
6c28dcf
Update converting_and_casting_types.rst
TaliaSQream Apr 3, 2023
aae27fa
Update copy_to.rst
TaliaSQream Apr 3, 2023
58d8629
Update not.rst
TaliaSQream Apr 10, 2023
a8c6327
Update charindex.rst
TaliaSQream Apr 10, 2023
0d120ad
Update len.rst
TaliaSQream Apr 11, 2023
d7b7b60
Update not.rst
TaliaSQream Apr 18, 2023
cf8ab4e
Update upgrade_storage.rst
TaliaSQream Apr 18, 2023
9550cfd
Update catalog_reference_examples.rst
TaliaSQream Apr 18, 2023
93a5904
Update catalog_reference_catalog_tables.rst
TaliaSQream Apr 18, 2023
119e84f
Altering Public Role Permissions
TaliaSQream Apr 18, 2023
1cffc5e
Update access_control_managing_roles.rst
TaliaSQream Apr 18, 2023
017d4a8
Update upgrade_storage.rst
TaliaSQream Apr 20, 2023
8382c3c
Update upgrade_storage.rst
TaliaSQream Apr 20, 2023
058e98c
4.2 release
TaliaSQream Apr 20, 2023
39674aa
release
TaliaSQream Apr 20, 2023
7bdd63a
Update 4.2.rst
TaliaSQream Apr 20, 2023
d4d99f4
LEFT RIGHT
TaliaSQream Apr 20, 2023
293121d
Update 4.2.rst
shaharf111 Apr 23, 2023
8bd41ec
Update delete_guide.rst
TaliaSQream Apr 24, 2023
5fb2f2d
Update delete_guide.rst
TaliaSQream Apr 24, 2023
31a8c70
clean up
TaliaSQream Apr 24, 2023
08377f0
Update delete_guide.rst
TaliaSQream Apr 24, 2023
56267c3
Update delete_guide.rst
TaliaSQream Apr 24, 2023
d607fdc
Update delete_guide.rst
TaliaSQream Apr 25, 2023
42af59a
Update delete_guide.rst
TaliaSQream Apr 25, 2023
ff0fa55
Update delete_guide.rst
TaliaSQream Apr 27, 2023
6371772
Update metadata_server.rst
TaliaSQream Apr 27, 2023
ff362c7
Enabling High Bin Control Granularity
TaliaSQream May 1, 2023
6b0f5d5
Update trunc.rst
TaliaSQream May 1, 2023
735988e
Update 4.2.rst
TaliaSQream May 1, 2023
4737f8a
Update 4.2.rst
TaliaSQream May 1, 2023
4415a1d
Update 4.2.rst
TaliaSQream May 1, 2023
e43f567
Update 4.2.rst
TaliaSQream May 2, 2023
0634b9c
Update supported_data_types.rst
TaliaSQream May 4, 2023
aa092da
Update index.rst
TaliaSQream May 4, 2023
dc73b1d
Update index.rst
TaliaSQream May 4, 2023
8f045af
Tableau
TaliaSQream May 4, 2023
64a3482
Update hardware_guide.rst
TaliaSQream May 4, 2023
10a1f8d
Update requirements.txt
shaharf111 May 9, 2023
04bc6cb
Update index.rst
shaharf111 May 14, 2023
b758280
Update charindex.rst
TaliaSQream May 16, 2023
859b4a0
get all roles databade ddl
TaliaSQream May 18, 2023
c31566e
get total chunks size
TaliaSQream May 18, 2023
d68ac58
get total chunks size
TaliaSQream May 18, 2023
3fa02a6
Update getting_started.rst
TaliaSQream May 22, 2023
e8d30ff
Update copy_to.rst
TaliaSQream May 22, 2023
133e1c2
Update sql_data_types_numeric.rst
TaliaSQream May 22, 2023
47ddfd9
Update access_control.rst
TaliaSQream May 24, 2023
1ab4682
Delete running_sqream_in_a_docker_container.rst
TaliaSQream May 25, 2023
e2fcced
Update getting_started.rst
TaliaSQream May 25, 2023
b288d9b
Update installing_studio_on_stand_alone_server.rst
TaliaSQream May 25, 2023
eb98feb
Update index.rst
TaliaSQream May 30, 2023
244504b
Update index.rst
TaliaSQream Jun 1, 2023
937f3e5
Update scalar_sql_udf.rst
TaliaSQream Jun 1, 2023
7a53276
Update optimization_best_practices.rst
TaliaSQream Jun 1, 2023
6964dc8
Update monitoring_query_performance.rst
TaliaSQream Jun 1, 2023
7ffa2be
Update monitoring_query_performance.rst
TaliaSQream Jun 1, 2023
d083d34
Update csv.rst
TaliaSQream Jun 1, 2023
960669a
Update hardware_guide.rst
TaliaSQream Jun 5, 2023
27163cd
ASCII
TaliaSQream Jun 8, 2023
c26437f
Update access_control_permissions.rst
shaharf111 Jun 8, 2023
c288a4d
Update hardware_guide.rst
shaharf111 Jun 8, 2023
8e7adf3
Create .readthedocs.yaml
shaharf111 Jun 11, 2023
5e644b9
Update copy_from.rst
TaliaSQream Jun 12, 2023
d719638
Update to_hex.rst
TaliaSQream Jun 12, 2023
d5b1a01
Update pentaho.rst
TaliaSQream Jun 12, 2023
bad9597
chr
TaliaSQream Jun 19, 2023
34efc5c
Update drop_role.rst
TaliaSQream Jun 19, 2023
04e805b
latest test
TaliaSQream Jun 20, 2023
d3f2514
Update conf.py
TaliaSQream Jun 20, 2023
ea05817
Update conf.py
TaliaSQream Jun 20, 2023
34e4da4
Update substring.rst
TaliaSQream Jun 26, 2023
c5cf077
Update keywords_and_identifiers.rst
TaliaSQream Jun 29, 2023
d9a3157
Update keywords_and_identifiers.rst
TaliaSQream Jun 29, 2023
c5fcf6a
flags
TaliaSQream Jun 29, 2023
dc8a6b7
Update current_method_configuring_your_parameter_values.rst
TaliaSQream Jul 3, 2023
720d8b7
Update creating_your_first_table.rst
TaliaSQream Jul 6, 2023
07fdb5f
CRC
TaliaSQream Jul 6, 2023
45dd8b7
Update sum.rst
TaliaSQream Jul 6, 2023
e96ce72
Update regexp_replace.rst
TaliaSQream Jul 6, 2023
91953a6
Update 404.rst
TaliaSQream Jul 18, 2023
c5c6acc
Update 2022.1.5.rst
TaliaSQream Jul 24, 2023
8b6c76f
Update char_length.rst
TaliaSQream Jul 27, 2023
5e96500
Update logging.rst
TaliaSQream Aug 1, 2023
b0e3330
Update current_method_showing_all_flags_in_the_catalog_table.rst
TaliaSQream Aug 1, 2023
07451e5
Update index.rst
TaliaSQream Aug 2, 2023
aa62076
Update sas_viya.rst
TaliaSQream Aug 2, 2023
672551f
Update microstrategy.rst
TaliaSQream Aug 2, 2023
54a53a0
Update microstrategy.rst
TaliaSQream Aug 2, 2023
1f8b13f
Update index.rst
TaliaSQream Aug 2, 2023
f120783
Update glossary.rst
TaliaSQream Aug 3, 2023
d81b0bc
Create rename_schema.rst
TaliaSQream Aug 6, 2023
ef1a64f
Update index.rst
TaliaSQream Aug 6, 2023
c44a9b5
Update create_schema.rst
TaliaSQream Aug 6, 2023
7391b33
Update rename_schema.rst
TaliaSQream Aug 6, 2023
08c2a27
Update alter_default_schema.rst
TaliaSQream Aug 6, 2023
b966f5f
Update drop_schema.rst
TaliaSQream Aug 6, 2023
e589139
Update sql_feature_support.rst
TaliaSQream Aug 6, 2023
f83034e
CTEs
TaliaSQream Aug 8, 2023
17b8fb8
Update charindex.rst
TaliaSQream Aug 9, 2023
e5f5ee3
Update spooling.rst
TaliaSQream Aug 15, 2023
7eb8ef3
Update executing_statements_and_running_queries_from_the_editor.rst
TaliaSQream Aug 15, 2023
d3cebe9
Update executing_statements_and_running_queries_from_the_editor.rst
TaliaSQream Aug 16, 2023
692ed9c
Update executing_statements_and_running_queries_from_the_editor.rst
TaliaSQream Aug 16, 2023
eb5d2a8
Update charindex.rst
TaliaSQream Aug 16, 2023
0998780
Update sign.rst
TaliaSQream Aug 16, 2023
4325357
Update crc64.rst
TaliaSQream Aug 17, 2023
b6aae4c
Update index.rst
TaliaSQream Aug 20, 2023
cac313e
Update supported_data_types.rst
TaliaSQream Aug 20, 2023
f9dff73
Update sql_data_types_numeric.rst
TaliaSQream Aug 20, 2023
56c3f49
Update drop_saved_query.rst
TaliaSQream Aug 21, 2023
069fe68
Update execute_saved_query.rst
TaliaSQream Aug 21, 2023
f19f886
Update list_saved_queries.rst
TaliaSQream Aug 21, 2023
e4dc01c
Update power_bi.rst
TaliaSQream Aug 21, 2023
f669ae8
Update logging.rst
TaliaSQream Aug 21, 2023
ad68486
Update trunc.rst
TaliaSQream Aug 22, 2023
d0afac2
Update index.rst
TaliaSQream Aug 22, 2023
f221094
Update keywords_and_identifiers.rst
TaliaSQream Aug 23, 2023
7cdad40
Remove Trino
TaliaSQream Aug 23, 2023
a299827
Update copy_to.rst
TaliaSQream Aug 23, 2023
89dd686
Update sample.java
TaliaSQream Aug 23, 2023
b54841c
Update add_column.rst
TaliaSQream Aug 24, 2023
4d16031
Update 2022.1.rst
TaliaSQream Aug 27, 2023
250a0b1
Update avg.rst
TaliaSQream Aug 27, 2023
b5dccbf
Update rename_column.rst
TaliaSQream Aug 28, 2023
c9bb03e
Update installing_prometheus_using_binary_packages.rst
TaliaSQream Aug 28, 2023
cc3c7fb
Update window_functions.rst
TaliaSQream Aug 28, 2023
33a2b44
Update drop_database.rst
TaliaSQream Aug 28, 2023
98a36d8
Update create_table.rst
TaliaSQream Aug 28, 2023
6769746
Update ceiling.rst
TaliaSQream Aug 28, 2023
34c9922
Update add_column.rst
TaliaSQream Aug 29, 2023
4fb21e8
Update current_method_configuring_your_parameter_values.rst
TaliaSQream Aug 29, 2023
9d98926
Update catalog_reference_catalog_tables.rst
TaliaSQream Aug 30, 2023
c5c9007
Update show_node_info.rst
TaliaSQream Aug 31, 2023
c0809ac
Update compression.rst
TaliaSQream Aug 31, 2023
52b4520
Update tableau.rst
TaliaSQream Sep 4, 2023
5c3d2a2
User-Defined Functions page edit
TaliaSQream Sep 4, 2023
480add7
Update monitoring_query_performance.rst
TaliaSQream Sep 4, 2023
06ac326
Update copy_from.rst
TaliaSQream Sep 4, 2023
410f23d
Update keywords_and_identifiers.rst
TaliaSQream Sep 13, 2023
d7f90ea
Update compression.rst
TaliaSQream Sep 13, 2023
97003ec
Update access_control_managing_roles.rst
TaliaSQream Sep 14, 2023
dc2a00e
Retrieving Execution Plan Output Using SQreamDB Studio
TaliaSQream Sep 18, 2023
b4f7000
Update retrieving_execution_plan_output_using_studio.rst
TaliaSQream Sep 18, 2023
a5a3142
Prepared Queries
TaliaSQream Sep 18, 2023
e5d67ad
Update copy_from.rst
TaliaSQream Sep 18, 2023
65e6c71
Update copy_from.rst
TaliaSQream Sep 19, 2023
dff9460
Update pentaho.rst
TaliaSQream Sep 27, 2023
082cad5
remove sqream_catalog.sequences
TaliaSQream Oct 1, 2023
006a08d
Remove Kubernetes
TaliaSQream Oct 2, 2023
7047335
S3 alignment
TaliaSQream Oct 2, 2023
20485c7
Update index.rst
TaliaSQream Oct 2, 2023
02cbaf4
Update round.rst
TaliaSQream Oct 5, 2023
c299f03
Update current_method_modification_methods.rst
TaliaSQream Oct 16, 2023
9606354
Update workload_manager.rst
TaliaSQream Oct 18, 2023
a9b1be9
Update hardware_guide.rst
TaliaSQream Oct 31, 2023
fd44e41
Update catalog_reference_catalog_tables.rst
TaliaSQream Nov 6, 2023
04c186a
Update catalog_reference_overview.rst
TaliaSQream Nov 6, 2023
f6a5ab8
Update max_statement_inactivity_seconds.rst
TaliaSQream Nov 20, 2023
486dbcb
Update max_statement_inactivity_seconds.rst
TaliaSQream Nov 20, 2023
5e23e69
Delete healer_max_statement_inactivity_seconds.rst
TaliaSQream Nov 20, 2023
71f57ca
modifying_role
TaliaSQream Nov 20, 2023
bd02aa9
Update alter_default_permissions.rst
TaliaSQream Nov 20, 2023
c0367c4
Spooling
TaliaSQream Nov 22, 2023
f3ad165
Create sqream_db_table_crop.png
TaliaSQream Nov 22, 2023
329f85d
Update create_foreign_table.rst
TaliaSQream Dec 19, 2023
058b7af
Update sign.rst
TaliaSQream Dec 19, 2023
403e96c
Python
TaliaSQream Dec 21, 2023
4236a1b
Delete storing_data_on_parquet.rst
TaliaSQream Dec 21, 2023
81d57c0
Update create_role.rst
TaliaSQream Dec 25, 2023
1107c2c
Update ingesting_data.rst
TaliaSQream Jan 7, 2024
2292b61
Update foreign_tables.rst
TaliaSQream Jan 8, 2024
1c07dd2
Update metadata_server.rst
TaliaSQream Jan 9, 2024
7453b06
Update index.rst
TaliaSQream Jan 17, 2024
f005564
Update index.rst
TaliaSQream Jan 18, 2024
d2988f0
Update sample.java
TaliaSQream Jan 23, 2024
35730eb
Update show_locks.rst
TaliaSQream Feb 1, 2024
cb0569d
Update logging.rst
TaliaSQream Feb 5, 2024
10f1aa8
Update monitoring_query_performance.rst
TaliaSQream Feb 5, 2024
91084b6
Passw0rd!
TaliaSQream Feb 6, 2024
981f934
stop_statement
TaliaSQream Feb 8, 2024
2e60b10
Update repeat.rst
TaliaSQream Feb 20, 2024
717034d
Update repeat.rst
TaliaSQream Feb 20, 2024
0f9b934
Update ldap.rst
TaliaSQream Mar 5, 2024
b793531
Update ldap.rst
TaliaSQream Mar 5, 2024
c6c7c6d
Update ldap.rst
TaliaSQream Mar 5, 2024
173fa0a
Update create_role.rst
TaliaSQream Mar 6, 2024
614c690
Update hardware_guide.rst
TaliaSQream Mar 11, 2024
7b36936
Update power_bi.rst
TaliaSQream Mar 13, 2024
5a3ceee
Removing _seeing_system_objects_as_ddl:
TaliaSQream Mar 18, 2024
a237471
Update remedying_slow_queries.rst
TaliaSQream Mar 25, 2024
971ebf9
Update create_foreign_table.rst
TaliaSQream Apr 3, 2024
1d6c223
Update values.rst
TaliaSQream Apr 8, 2024
612e4f0
Update monitoring_query_performance.rst
TaliaSQream Apr 8, 2024
0cc9bcf
Remove old COPY TO syntax
TaliaSQream Apr 11, 2024
4856446
Update filesystem_and_filesystem_usage.rst
TaliaSQream Apr 18, 2024
a451aa4
Update pentaho.rst
TaliaSQream Apr 18, 2024
6d64b76
Remove 2021
TaliaSQream Apr 18, 2024
a42d33b
Maintenance
TaliaSQream Apr 18, 2024
ecac6e0
Update recommended_pre-installation_configurations.rst
TaliaSQream Apr 24, 2024
d87e9d4
pre installation
TaliaSQream Apr 25, 2024
8c05e1d
Update pre-installation_configurations.rst
TaliaSQream Apr 25, 2024
1bf694e
Update copy_from.rst
TaliaSQream May 29, 2024
b62ed22
Update create_foreign_table.rst
TaliaSQream May 30, 2024
7c9511f
Update copy_from.rst
TaliaSQream May 30, 2024
6d2886b
Update copy_from.rst
TaliaSQream May 30, 2024
0ebe525
Update copy_from.rst
TaliaSQream May 30, 2024
59fc2d8
Update create_foreign_table.rst
TaliaSQream Jun 4, 2024
34febbb
Update copy_from.rst
TaliaSQream Jun 4, 2024
6c078e3
Update index.rst
TaliaSQream Jun 13, 2024
ee2114b
Update create_table.rst
TaliaSQream Jun 17, 2024
efd0c61
ALTER TABLE maintenance
TaliaSQream Jun 17, 2024
ec97d8a
Update configuring_your_instance_of_sqream.rst
TaliaSQream Jun 18, 2024
39ea406
Maintenance
TaliaSQream Jun 18, 2024
fd595b6
Update ingesting_data.rst
TaliaSQream Jun 18, 2024
acb1761
Update orc.rst
TaliaSQream Jun 18, 2024
460f9b0
Update sql_data_types_numeric.rst
TaliaSQream Jun 18, 2024
4f6a63f
Update python_functions.rst
TaliaSQream Jun 18, 2024
f64c92e
Update query_healer.rst
TaliaSQream Jun 18, 2024
d211de8
Update inserting_rows.rst
TaliaSQream Jun 18, 2024
3b423b6
Update saving_query_results_to_a_csv_or_psv_file.rst
TaliaSQream Jun 18, 2024
b4deb7b
Update monitoring_query_performance.rst
TaliaSQream Jun 18, 2024
8bfa5d6
Update 4.0.rst
TaliaSQream Jun 20, 2024
1acce8b
Maintenance
TaliaSQream Jun 20, 2024
4eeccf0
Update index.rst
TaliaSQream Jun 20, 2024
da68436
Update index.rst
TaliaSQream Jun 20, 2024
263d2a6
Maintenance
TaliaSQream Jun 20, 2024
3f76cef
Maintenance
TaliaSQream Jul 1, 2024
9dc9542
Maintenance
TaliaSQream Jul 1, 2024
2670278
Update sqream_console.rst
TaliaSQream Jul 1, 2024
594e2db
Maintenance
TaliaSQream Jul 1, 2024
74be22f
sqream_scripting
TaliaSQream Jul 1, 2024
1a84ed9
Update sqream_scripting.rst
TaliaSQream Jul 1, 2024
8ad0852
Delete troubleshooting/examining_logs.rst
TaliaSQream Jul 2, 2024
a0a54b0
Delete querying_data.rst
TaliaSQream Jul 2, 2024
82e9b5d
Update hdfs.rst
TaliaSQream Jul 10, 2024
5144980
Update logging.rst
TaliaSQream Jul 18, 2024
4c9bf71
Allow lower and upper case characters delimiters
TaliaSQream Jul 18, 2024
b7fb8fc
Update copy_to.rst
TaliaSQream Jul 23, 2024
e99fc7a
Update copy_from.rst
TaliaSQream Jul 23, 2024
45fbc1e
Update conf.py
TaliaSQream Jul 24, 2024
5a2248a
Update requirements.txt
TaliaSQream Jul 30, 2024
deb3eb6
Upgrade Sphinx
TaliaSQream Aug 7, 2024
17d9a5f
Update conf.py
TaliaSQream Aug 7, 2024
5d29a5f
Update access_control_permissions.rst
TaliaSQream Aug 7, 2024
91969a5
Update access_control_permissions.rst
TaliaSQream Aug 7, 2024
484efdd
Update len.rst
TaliaSQream Aug 7, 2024
c55489b
Update parquet.rst
TaliaSQream Aug 7, 2024
1eac205
Update datediff.rst
TaliaSQream Aug 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats: [htmlzip,pdf]

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: requirements.txt
18 changes: 7 additions & 11 deletions 404.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
:orphan:

*********************************
Couldn't find the page - 404
*********************************
**************************
Page Cannot Be Found - 404
**************************

Unfortunately we could not find this page.

Use the **search bar**, or use the navigation sidebar to find what you're looking for.

.. rubric:: Looking for the old documentation?

If you're looking for an older version of the documentation, versions 1.10 through 2019.2.1 are available at http://previous.sqream.com .
Use the **Search docs** bar, or use the navigation sidebar to find what you're looking for.

.. rubric:: Need help?

If you couldn't find what you're looking for, we're always happy to help. Visit `SQream's support portal <https://support.sqream.com>`_ for additional support.
If you couldn't find what you're looking for, we're always happy to help.

Visit the `SQreamDB support portal <https://sqream.atlassian.net/servicedesk/customer/portal/2/group/8/create/26>`_ for additional help.

Binary file added _static/images/New_Dark_Gray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/SAP_BO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/SAP_BO_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _static/images/chunks_and_extents.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/color_table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/kafka_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/new_2022.1.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/new_2022.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/new_dark_gray_2022.1.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/new_gray_2022.1.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/sqream_db_table_crop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _static/images/storage_organization.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _static/images/table_columns_storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
144 changes: 144 additions & 0 deletions architecture/concurrency_and_scaling_in_sqream.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
.. _concurrency_and_scaling_in_sqream:

******
Sizing
******

Concurrency and Scaling in SQreamDB
===================================

A SQreamDB cluster can execute one statement per worker process while also supporting the concurrent operation of multiple workers. Utility functions with minimal resource requirements, such as :ref:`show_server_status`, :ref:`show_locks`, and :ref:`show_node_info` will be executed regardless of the workload.

Minimum Resource Required Per Worker:

.. list-table::
:widths: auto
:header-rows: 1

* - Component
- CPU Cores
- RAM (GB)
- Local Storage (GB)
* - Worker
- 8
- 128
- 10
* - Metadata Server
- 16 cores per 100 Workers
- 20 GB RAM for every 1 trillion rows
- 10
* - SqreamDB Acceleration Studio
- 16
- 16
- 50
* - Server Picker
- 1
- 2
-


Lightweight queries, such as :ref:`copy_to` and :ref:`Clean-Up<delete_guide>` require 64 RAM (GB).

Maximum Workers Per GPU:

.. list-table::
:widths: auto
:header-rows: 1

* - GPU
- Workers
* - NVIDIA Turing T4 (16GB)
- 1
* - NVIDIA Volta V100 (32GB)
- 2
* - NVIDIA Ampere A100 (40GB)
- 3
* - NVIDIA Ampere A100 (80GB)
- 6
* - NVIDIA Hopper H100 (80GB)
- 6
* - L40S Ada Lovelace (48GB)
- 4



.. tip:: Your GPU is not on the list? Visit `SQreamDB Support <https://sqream.atlassian.net/servicedesk/customer/portal/2/group/8/create/26>`_ for additional information.


Scaling When Data Sizes Grow
----------------------------

For many statements, SQreamDB scales linearly when adding more storage and querying on large data sets. It uses optimized 'brute force' algorithms and implementations, which don't suffer from sudden performance cliffs at larger data sizes.

Scaling When Queries Are Queuing
--------------------------------

SQreamDB scales well by adding more workers, GPUs, and nodes to support more concurrent statements.

What To Do When Queries Are Slow
--------------------------------

Adding more workers or GPUs does not boost the performance of a single statement or query.

To boost the performance of a single statement, start by examining the :ref:`best practices<sql_best_practices>` and ensure the guidelines are followed.

Adding additional RAM to nodes, using more GPU memory, and faster CPUs or storage can also sometimes help.

.. _spooling:

Spooling Configuration
======================

:math:`limitQueryMemoryGB=\frac{\text{Total RAM - Internal Operation - metadata Server - Server picker}}{\text{Number of Workers}}`

:math:`spoolMemoryGB=limitQueryMemoryGB - 50GB`

The ``limitQueryMemoryGB`` flag is the total memory you’ve allocated for processing queries. In addition, the ``limitQueryMemoryGB`` defines how much total system memory is used by each worker. Note that ``spoolMemoryGB`` must bet set to less than the ``limitQueryMemoryGB``.

Example
-------

Setting Spool Memory
~~~~~~~~~~~~~~~~~~~~

The provided examples assume a configuration with 2T of RAM, 8 workers running on 2 A100(80GB) GPUs, with 200 GB allocated for Internal Operations, Metadata Server, Server Picker, and UI.

Configuring the ``limitQueryMemoryGB`` using the Worker configuration file:

.. code-block:: console

{
“cluster”: “/home/test_user/sqream_testing_temp/sqreamdb”,
“gpu”: 0,
“licensePath”: “home/test_user/SQream/tests/license.enc”,
“machineIP”: “127.0.0.1”,
“metadataServerIp”: 127.0.0.1,
“metadataServerPort”: 3105,
“port”: 5000,
“useConfigIP”: true,
“limitQueryMemoryGB" : 225,
}

Configuring the ``spoolMemoryGB`` using the legacy configuration file:

.. code-block:: console

{
"diskSpaceMinFreePercent": 10,
"enableLogDebug": false,
"insertCompressors": 8,
"insertParsers": 8,
"isUnavailableNode": false,
"logBlackList": "webui",
"logDebugLevel": 6,
"nodeInfoLoggingSec": 60,
"useClientLog": true,
"useMetadataServer": true,
"spoolMemoryGB": 175,
"waitForClientSeconds": 18000,
"enablePythonUdfs": true
}

.. rubric:: Need help?

Visit `SQreamDB Support <https://sqream.atlassian.net/servicedesk/customer/portal/2/group/8/create/26>`_ for additional information.
40 changes: 20 additions & 20 deletions architecture/filesystem_and_filesystem_usage.rst
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
.. _filesystem_and_filesystem_usage:

*******************************
Filesystem and usage
*******************************
********************
Filesystem and Usage
********************

SQream DB writes and reads data from disk.
SQreamDB writes and reads data from disk.

The SQream DB storage directory, sometimes refered to as a **storage cluster** is a collection of database objects, metadata database, and logs.
The SQreamDB storage directory, sometimes referred to as a **storage cluster** is a collection of database objects, metadata database, and logs.

Each SQream DB worker and the metadata server must have access to the storage cluster in order to function properly.
Each SQreamDB worker and the metadata server must have access to the storage cluster in order to function properly.

.. _storage_cluster:

Directory organization
============================
======================

.. figure:: /_static/images/storage_organization.png

The **cluster root** is the directory in which all data for SQream DB is stored.
The **cluster root** is the directory in which all data for SQreamDB is stored.

.. contents:: SQream DB storage cluster directories
.. contents:: SQreamDB storage cluster directories
:local:

``databases``
----------------
-------------

The databases directory houses all of the actual data in tables and columns.

Each database is stored as it's own directory. Each table is stored under it's respective database, and columns are stored in their respective table.
Each database is stored as its own directory. Each table is stored under its respective database, and columns are stored in their respective table.

.. figure:: /_static/images/table_columns_storage.png

Expand Down Expand Up @@ -63,27 +63,27 @@ Each column directory will contain extents, which are collections of chunks.

.. figure:: /_static/images/chunks_and_extents.png

``metadata`` or ``leveldb``
----------------------------
``metadata`` or ``rocksdb``
---------------------------

SQream DB's metadata is an embedded key-value store, based on LevelDB. LevelDB helps SQream DB ensure efficient storage for keys, handle atomic writes, snapshots, durability, and automatic recovery.
SQreamDB's metadata is an embedded key-value store, based on RocksDB. RocksDB helps SQreamDB ensure efficient storage for keys, handle atomic writes, snapshots, durability, and automatic recovery.

The metadata is where all database objects are stored, including roles, permissions, database and table structures, chunk mappings, and more.

``temp``
----------------
--------

The ``temp`` directory is where SQream DB writes temporary data.
The ``temp`` directory is where SQreamDB writes temporary data.

The directory to which SQream DB writes temporary data can be changed to any other directory on the filesystem. SQream recommends remapping this directory to a fast local storage to get better performance when executing intensive larger-than-RAM operations like sorting. SQream recommends an SSD or NVMe drive, in mirrored RAID 1 configuration.
The directory to which SQreamDB writes temporary data can be changed to any other directory on the filesystem. SQreamDB recommends remapping this directory to a fast local storage to get better performance when executing intensive larger-than-RAM operations like sorting. SQreamDB recommends an SSD or NVMe drive, in mirrored RAID 1 configuration.

If desired, the ``temp`` folder can be redirected to a local disk for improved performance, by setting the ``tempPath`` setting in the :ref:`configuration<configuration>` file.
If desired, the ``temp`` folder can be redirected to a local disk for improved performance, by setting the ``tempPath`` setting in the :ref:`legacy configuration<current_method_modification_methods>` file.


``logs``
----------------
--------

The logs directory contains logs produced by SQream DB.
The logs directory contains logs produced by SQreamDB.

See more about the logs in the :ref:`logging` guide.

Expand Down
21 changes: 9 additions & 12 deletions architecture/index.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
.. _architecture:

***********************
System Architecture
***********************
************
Architecture
************

This topic includes guides that walk an end-user, database administrator, or system architect through the main ideas behind SQream DB.
The :ref:`internals_architecture`, :ref:`concurrency_and_scaling_in_sqream`, and :ref:`filesystem_and_filesystem_usage` guides are walk-throughs for end-users, database administrators, and system architects who wish to get familiarized with the SQreamDB system and its unique capabilities.

While SQream DB has many similarities to other database management systems, it has some unique and additional capabilities.

Explore the guides below for information about SQream DB's architecture.
.. figure:: /_static/images/sqream_db_table_crop.png
:scale: 60 %

.. toctree::
:maxdepth: 2
:caption: In this section:
:glob:
:titlesonly:
:hidden:

internals_architecture
xxprocesses_and_network_architecture
filesystem_and_filesystem_usage
concurrency_and_scaling_in_sqream

Loading