Skip to content
Open

4.3 #35

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
892 commits
Select commit Hold shift + click to select a range
69ec6f0
Update conf.py
TaliaSQream Jun 19, 2023
c53e52e
Update requirements.txt
TaliaSQream Jun 19, 2023
8d1b9ad
Update drop_role.rst
TaliaSQream Jun 19, 2023
6e973f3
Update drop_role.rst
TaliaSQream Jun 19, 2023
428afd7
Update conf.py
TaliaSQream Jun 20, 2023
8695df7
Update 4.3.rst
TaliaSQream Jun 26, 2023
fe60c31
Update ingesting_data.rst
TaliaSQream Jun 26, 2023
d3a3b09
Update substring.rst
TaliaSQream Jun 26, 2023
3eb0f6d
Update keywords_and_identifiers.rst
TaliaSQream Jun 29, 2023
b349bf7
flags
TaliaSQream Jun 29, 2023
b2e16b3
Update current_method_configuring_your_parameter_values.rst
TaliaSQream Jul 3, 2023
e1b782d
Update creating_your_first_table.rst
TaliaSQream Jul 6, 2023
08ad35b
CRC
TaliaSQream Jul 6, 2023
61248fb
Update sum.rst
TaliaSQream Jul 6, 2023
f313db0
Update regexp_replace.rst
TaliaSQream Jul 6, 2023
2c79294
Update hardware_guide.rst
TaliaSQream Jul 10, 2023
700c1c4
Update index.rst
TaliaSQream Jul 11, 2023
0a8abdb
Update index.rst
TaliaSQream Jul 17, 2023
6415fe5
Update 404.rst
TaliaSQream Jul 18, 2023
66de603
SEO
TaliaSQream Jul 18, 2023
ff89623
Update index.rst
TaliaSQream Jul 18, 2023
8f6895b
Update executing_statements_and_running_queries_from_the_editor.rst
TaliaSQream Jul 18, 2023
d308df4
Update index.rst
TaliaSQream Jul 18, 2023
c6f0f43
Update subqueries.rst
TaliaSQream Jul 20, 2023
8e4a745
SEO
TaliaSQream Jul 20, 2023
13168cd
Update 2022.1.5.rst
TaliaSQream Jul 24, 2023
ee647b5
Update sql_data_types_string.rst
TaliaSQream Jul 25, 2023
7f0b4e5
Update keywords_and_identifiers.rst
TaliaSQream Jul 25, 2023
13fda93
Update creating_assigning_and_managing_roles_and_permissions.rst
TaliaSQream Jul 25, 2023
311bbcc
Update char_length.rst
TaliaSQream Jul 27, 2023
cd5eeda
SQLoader
TaliaSQream Jul 27, 2023
ed60341
Update 4.3.rst
TaliaSQream Jul 27, 2023
ad9fd46
Remove k8s
shaharf111 Jul 30, 2023
bf36118
Update logging.rst
TaliaSQream Aug 1, 2023
3d25404
Update current_method_showing_all_flags_in_the_catalog_table.rst
TaliaSQream Aug 1, 2023
ea75c6a
Update index.rst
TaliaSQream Aug 2, 2023
feeba81
Update sas_viya.rst
TaliaSQream Aug 2, 2023
a0d0460
Update microstrategy.rst
TaliaSQream Aug 2, 2023
dc9c29c
Update microstrategy.rst
TaliaSQream Aug 2, 2023
94c79c5
Update index.rst
TaliaSQream Aug 2, 2023
4a7ea2f
Update glossary.rst
TaliaSQream Aug 3, 2023
1736605
Reorder menu items.rst
TaliaSQream Aug 6, 2023
3b4c1bd
Create rename_schema.rst
TaliaSQream Aug 6, 2023
49665cc
Update index.rst
TaliaSQream Aug 6, 2023
19faf35
Update create_schema.rst
TaliaSQream Aug 6, 2023
0be0da9
Update rename_schema.rst
TaliaSQream Aug 6, 2023
2826864
Update alter_default_schema.rst
TaliaSQream Aug 6, 2023
c355664
Update drop_schema.rst
TaliaSQream Aug 6, 2023
d1fc62d
Update sql_feature_support.rst
TaliaSQream Aug 6, 2023
d2fc0c3
CTEs
TaliaSQream Aug 8, 2023
c4969ca
Update charindex.rst
TaliaSQream Aug 9, 2023
c42ca55
Update executing_statements_and_running_queries_from_the_editor.rst
TaliaSQream Aug 16, 2023
4b92321
Update executing_statements_and_running_queries_from_the_editor.rst
TaliaSQream Aug 16, 2023
52ccb0d
Update charindex.rst
TaliaSQream Aug 16, 2023
c166da5
Update sign.rst
TaliaSQream Aug 16, 2023
480e862
Update crc64.rst
TaliaSQream Aug 17, 2023
dfd7499
Update index.rst
TaliaSQream Aug 20, 2023
a30653b
Update supported_data_types.rst
TaliaSQream Aug 20, 2023
4a5f513
Update sql_data_types_numeric.rst
TaliaSQream Aug 20, 2023
a21bcd0
Update drop_saved_query.rst
TaliaSQream Aug 21, 2023
67f4217
Update execute_saved_query.rst
TaliaSQream Aug 21, 2023
c5e1234
Update list_saved_queries.rst
TaliaSQream Aug 21, 2023
18b4ad5
Update power_bi.rst
TaliaSQream Aug 21, 2023
0da7169
Update logging.rst
TaliaSQream Aug 21, 2023
d277d03
Update trunc.rst
TaliaSQream Aug 22, 2023
1f06f9a
Update index.rst
TaliaSQream Aug 22, 2023
20370d0
Update index.rst
TaliaSQream Aug 22, 2023
838eaef
Update keywords_and_identifiers.rst
TaliaSQream Aug 23, 2023
88bebc0
Remove Trino
TaliaSQream Aug 23, 2023
be07d8f
Update copy_to.rst
TaliaSQream Aug 23, 2023
de22311
Update sample.java
TaliaSQream Aug 23, 2023
40c55a0
Update 4.3.rst
TaliaSQream Aug 23, 2023
006e7ff
Update add_column.rst
TaliaSQream Aug 24, 2023
c9a71af
Update 2022.1.rst
TaliaSQream Aug 27, 2023
6c30faf
Update avg.rst
TaliaSQream Aug 27, 2023
846ab9e
Update rename_column.rst
TaliaSQream Aug 28, 2023
6324391
Update installing_prometheus_using_binary_packages.rst
TaliaSQream Aug 28, 2023
0402b5f
Update window_functions.rst
TaliaSQream Aug 28, 2023
0d7b723
Update internals_architecture.rst
TaliaSQream Aug 28, 2023
3005e33
Sizing
TaliaSQream Aug 28, 2023
7bd46b6
Create sqream_db_table_crop.png
TaliaSQream Aug 28, 2023
21c8627
Update concurrency_and_scaling_in_sqream.rst
TaliaSQream Aug 28, 2023
c94468b
Update drop_database.rst
TaliaSQream Aug 28, 2023
cfdd38e
Update create_table.rst
TaliaSQream Aug 28, 2023
a0afec0
connectors and platforms
TaliaSQream Aug 28, 2023
75dede3
Update ceiling.rst
TaliaSQream Aug 28, 2023
392d4f8
Update add_column.rst
TaliaSQream Aug 29, 2023
9146090
Update current_method_configuring_your_parameter_values.rst
TaliaSQream Aug 29, 2023
17ae210
Update 4.3.rst
TaliaSQream Aug 29, 2023
d78c438
Update internals_architecture.rst
TaliaSQream Aug 30, 2023
3f295cf
Update catalog_reference_catalog_tables.rst
TaliaSQream Aug 30, 2023
0840558
Update 4.3.rst
TaliaSQream Aug 31, 2023
0e50c74
Update show_node_info.rst
TaliaSQream Aug 31, 2023
653fbdc
Update compression.rst
TaliaSQream Aug 31, 2023
df3b1e9
Update tableau.rst
TaliaSQream Sep 4, 2023
1466fd1
User-Defined Functions page edit
TaliaSQream Sep 4, 2023
ef7e40f
Update monitoring_query_performance.rst
TaliaSQream Sep 4, 2023
0099cda
Update copy_from.rst
TaliaSQream Sep 4, 2023
885f688
Update internals_architecture.rst
TaliaSQream Sep 5, 2023
1509b86
SQLoader
TaliaSQream Sep 5, 2023
33f0086
Update ingesting_from_databases.rst
TaliaSQream Sep 5, 2023
c3b7fa1
Update ingesting_from_databases.rst
TaliaSQream Sep 5, 2023
1fae8fc
Update ingesting_from_databases.rst
TaliaSQream Sep 5, 2023
9344361
Update 4.3.rst
TaliaSQream Sep 7, 2023
ca1f3fe
Update sqream_db_internals.png
TaliaSQream Sep 7, 2023
694bb65
Update sqream_db_internals.png
TaliaSQream Sep 7, 2023
9b4589b
Update internals_architecture.rst
TaliaSQream Sep 7, 2023
6f7ca9d
Merge branch '4.3' of https://github.com/SQream/sqream_docs into 4.3
TaliaSQream Sep 7, 2023
eebc2d5
Update index.rst
TaliaSQream Sep 7, 2023
53e5662
Update keywords_and_identifiers.rst
TaliaSQream Sep 13, 2023
d661514
Update compression.rst
TaliaSQream Sep 13, 2023
8bc8c97
Update 4.3.rst
TaliaSQream Sep 14, 2023
5ad3c61
Update access_control_managing_roles.rst
TaliaSQream Sep 14, 2023
26d3350
Retrieving Execution Plan Output Using SQreamDB Studio
TaliaSQream Sep 18, 2023
a563d03
Update retrieving_execution_plan_output_using_studio.rst
TaliaSQream Sep 18, 2023
d4a73af
Update saved_queries.rst
TaliaSQream Sep 18, 2023
91ce636
Update index.rst
TaliaSQream Sep 18, 2023
f12e421
Update copy_from.rst
TaliaSQream Sep 18, 2023
0641933
Update 4.3.rst
TaliaSQream Sep 18, 2023
555b9ce
Update internals_architecture.rst
TaliaSQream Sep 19, 2023
c2e66f7
Update copy_from.rst
TaliaSQream Sep 19, 2023
c13bf65
Remove Docker Mentions
TaliaSQream Sep 26, 2023
7947711
Update index.rst
TaliaSQream Sep 26, 2023
7cdb54c
Encryption
TaliaSQream Sep 27, 2023
3970375
Update pentaho.rst
TaliaSQream Sep 27, 2023
4ce807c
remove sqream_catalog.sequences
TaliaSQream Oct 1, 2023
2102d07
Remove Kubernetes
TaliaSQream Oct 2, 2023
b3af0ac
S3 alignment
TaliaSQream Oct 2, 2023
1b2bffc
Update index.rst
TaliaSQream Oct 2, 2023
4a2ce7b
Studio 5.6.0
TaliaSQream Oct 3, 2023
e5f33b7
Update round.rst
TaliaSQream Oct 5, 2023
a409650
Update 4.3.rst
TaliaSQream Oct 5, 2023
4f045a8
Update current_method_modification_methods.rst
TaliaSQream Oct 16, 2023
c88edee
Update 4.3.rst
TaliaSQream Oct 16, 2023
15c2e49
Update ingesting_from_databases.rst
TaliaSQream Oct 17, 2023
696d821
Update workload_manager.rst
TaliaSQream Oct 18, 2023
c0fb2bf
PERMISSIONS, GRANT, REVOKE
TaliaSQream Oct 19, 2023
856f082
Update alter_default_permissions.rst
TaliaSQream Oct 19, 2023
dd39075
Update hardware_guide.rst
TaliaSQream Oct 31, 2023
5e22e2f
Update hardware_guide.rst
TaliaSQream Nov 6, 2023
7ba1119
Update catalog_reference_catalog_tables.rst
TaliaSQream Nov 6, 2023
4ac4342
Update catalog_reference_overview.rst
TaliaSQream Nov 6, 2023
485ddc0
Update supported_data_types.rst
TaliaSQream Nov 6, 2023
d7f73e3
Revert "Update supported_data_types.rst"
TaliaSQream Nov 6, 2023
59d0aa6
Update hardware_guide.rst
TaliaSQream Nov 6, 2023
c613a67
Update max_statement_inactivity_seconds.rst
TaliaSQream Nov 20, 2023
51be763
Update max_statement_inactivity_seconds.rst
TaliaSQream Nov 20, 2023
5dd5649
Delete healer_max_statement_inactivity_seconds.rst
TaliaSQream Nov 20, 2023
a0896f8
modifying_role
TaliaSQream Nov 20, 2023
a6664b2
Spooling
TaliaSQream Nov 22, 2023
fd2cef0
Update create_foreign_table.rst
TaliaSQream Dec 19, 2023
d1a38f3
Update sign.rst
TaliaSQream Dec 19, 2023
b2dab2d
Python
TaliaSQream Dec 21, 2023
dd1ecbd
Delete storing_data_on_parquet.rst
TaliaSQream Dec 21, 2023
d716d21
ALTER DEFAULT PERMISSIONS FOREIGN TABLEs
TaliaSQream Dec 25, 2023
76fb9c2
Update create_role.rst
TaliaSQream Dec 25, 2023
5db3e43
Update ingesting_data.rst
TaliaSQream Jan 7, 2024
68018d1
Update foreign_tables.rst
TaliaSQream Jan 8, 2024
60f08ad
Update metadata_server.rst
TaliaSQream Jan 9, 2024
864e40a
Update access_control_permissions.rst
TaliaSQream Jan 10, 2024
67877e9
Update index.rst
TaliaSQream Jan 17, 2024
ae4d209
Update index.rst
TaliaSQream Jan 18, 2024
8fa46c3
Update sample.java
TaliaSQream Jan 23, 2024
3bb396d
Update hardware_guide.rst
TaliaSQream Feb 1, 2024
b14e7cd
Update hardware_guide.rst
TaliaSQream Feb 1, 2024
df3f31d
Update show_locks.rst
TaliaSQream Feb 1, 2024
526288a
Update logging.rst
TaliaSQream Feb 5, 2024
a1898a8
Update monitoring_query_performance.rst
TaliaSQream Feb 5, 2024
8f47ab1
Passw0rd!
TaliaSQream Feb 6, 2024
7c7a950
stop_statement
TaliaSQream Feb 8, 2024
e7b34e2
Update ingesting_from_databases.rst
TaliaSQream Feb 15, 2024
64cafa2
Update ingesting_from_databases.rst
TaliaSQream Feb 15, 2024
25ba3f5
Update repeat.rst
TaliaSQream Feb 20, 2024
bd5df38
Update repeat.rst
TaliaSQream Feb 20, 2024
0d95eac
Update ldap.rst
TaliaSQream Mar 5, 2024
a3cbf78
Update ldap.rst
TaliaSQream Mar 5, 2024
0409654
Update ldap.rst
TaliaSQream Mar 5, 2024
b99495b
Update create_role.rst
TaliaSQream Mar 6, 2024
ce41762
Update hardware_guide.rst
TaliaSQream Mar 11, 2024
1c3aff8
Update power_bi.rst
TaliaSQream Mar 13, 2024
b0aaa27
Removing _seeing_system_objects_as_ddl:
TaliaSQream Mar 18, 2024
4fc006e
Update 4.3.rst
TaliaSQream Mar 21, 2024
142c8dc
Update remedying_slow_queries.rst
TaliaSQream Mar 25, 2024
e43baef
Update create_foreign_table.rst
TaliaSQream Apr 3, 2024
b4bd10c
Update index.rst
TaliaSQream Apr 4, 2024
1424164
Update values.rst
TaliaSQream Apr 8, 2024
5c4ddb0
Update monitoring_query_performance.rst
TaliaSQream Apr 8, 2024
8953183
Remove old COPY TO syntax
TaliaSQream Apr 11, 2024
70f8350
Update access_control_permissions.rst
TaliaSQream Apr 14, 2024
bacea0e
Update filesystem_and_filesystem_usage.rst
TaliaSQream Apr 18, 2024
05a98a2
Update pentaho.rst
TaliaSQream Apr 18, 2024
071c830
Remove 2021
TaliaSQream Apr 18, 2024
a948490
Maintenance
TaliaSQream Apr 18, 2024
6396472
Update recommended_pre-installation_configurations.rst
TaliaSQream Apr 24, 2024
48dca88
Recommended pre installation
TaliaSQream Apr 25, 2024
5a1a9cb
Update pre-installation_configurations.rst
TaliaSQream Apr 25, 2024
5723802
Update pre-installation_configurations.rst
TaliaSQream Apr 25, 2024
5c4f07e
Update access_control_permissions.rst
TaliaSQream May 1, 2024
51e7fc3
Update copy_from.rst
TaliaSQream May 29, 2024
910f8c7
Update create_foreign_table.rst
TaliaSQream May 30, 2024
5cedb49
Update copy_from.rst
TaliaSQream May 30, 2024
738183a
Update copy_from.rst
TaliaSQream May 30, 2024
15f8d45
Update copy_from.rst
TaliaSQream May 30, 2024
6d6f614
Update create_foreign_table.rst
TaliaSQream Jun 4, 2024
806808a
Update copy_from.rst
TaliaSQream Jun 4, 2024
1fd9371
Update index.rst
TaliaSQream Jun 13, 2024
5258f81
Update create_table.rst
TaliaSQream Jun 17, 2024
b53b59c
ALTER TABLE maintenance
TaliaSQream Jun 17, 2024
6536666
Update configuring_your_instance_of_sqream.rst
TaliaSQream Jun 18, 2024
76ac1b4
Maintenance
TaliaSQream Jun 18, 2024
ba2d67e
Update monitoring_query_performance.rst
TaliaSQream Jun 18, 2024
356b2f1
Update saving_query_results_to_a_csv_or_psv_file.rst
TaliaSQream Jun 18, 2024
0ed9ed1
Update inserting_rows.rst
TaliaSQream Jun 18, 2024
ba7fd33
Update query_healer.rst
TaliaSQream Jun 18, 2024
40018ca
Update python_functions.rst
TaliaSQream Jun 18, 2024
afb977c
Update sql_data_types_numeric.rst
TaliaSQream Jun 18, 2024
50e1fa5
Update orc.rst
TaliaSQream Jun 18, 2024
dd4c83d
Update ingesting_data.rst
TaliaSQream Jun 18, 2024
3e317bd
Maintenance
TaliaSQream Jun 20, 2024
8422181
Maintenance
TaliaSQream Jun 20, 2024
a526165
Update index.rst
TaliaSQream Jun 20, 2024
e1f7c5f
Update index.rst
TaliaSQream Jun 20, 2024
f3effe6
Maintenance
TaliaSQream Jun 20, 2024
6fad032
Maintenance
TaliaSQream Jul 1, 2024
ca2a665
Maintenance
TaliaSQream Jul 1, 2024
d68f27d
Update sqream_console.rst
TaliaSQream Jul 1, 2024
28b0366
Maintenance
TaliaSQream Jul 1, 2024
c6229e4
sqream_scripting
TaliaSQream Jul 1, 2024
6a2eca9
Update sqream_scripting.rst
TaliaSQream Jul 1, 2024
b930293
Delete troubleshooting/examining_logs.rst
TaliaSQream Jul 2, 2024
06e93d7
Delete querying_data.rst
TaliaSQream Jul 2, 2024
963b5fe
Catalog permissions
TaliaSQream Jul 9, 2024
523dfd9
Update hdfs.rst
TaliaSQream Jul 10, 2024
e1eeb94
Update ingesting_from_databases.rst
TaliaSQream Jul 10, 2024
d6c6cfe
Update logging.rst
TaliaSQream Jul 18, 2024
5610a8d
Allow lower and upper case characters delimiters
TaliaSQream Jul 18, 2024
f33cd94
Update copy_to.rst
TaliaSQream Jul 23, 2024
5ac3c7a
Update copy_from.rst
TaliaSQream Jul 23, 2024
22ac7a3
Update conf.py
TaliaSQream Jul 24, 2024
5e5c08e
Update requirements.txt
TaliaSQream Jul 30, 2024
3af327c
Upgrade Sphinx
TaliaSQream Aug 7, 2024
8603a7a
Update conf.py
TaliaSQream Aug 7, 2024
465b097
Update access_control_permissions.rst
TaliaSQream Aug 7, 2024
301b6a9
Update access_control_permissions.rst
TaliaSQream Aug 7, 2024
910a2d8
Update len.rst
TaliaSQream Aug 7, 2024
3c2d89d
Update parquet.rst
TaliaSQream Aug 7, 2024
e309575
Update pre-installation_configurations.rst
TaliaSQream Aug 14, 2024
d8e66ff
Revert "Update pre-installation_configurations.rst"
TaliaSQream Aug 14, 2024
f25e9a5
Update datediff.rst
TaliaSQream Aug 21, 2024
20460ce
Update python_functions.rst
sharonl-sqreamtech Aug 24, 2025
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.

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.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.
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 modified _static/images/sqream_db_internals.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