id
stringlengths 14
16
| text
stringlengths 1
2.43k
| source
stringlengths 99
229
|
|---|---|---|
9bfab894e9d0-7
|
+ [Using the COPY command to load from Amazon S3](t_loading-tables-from-s3.md)
+ [Using a manifest to specify data files](loading-data-files-using-manifest.md)
+ [Loading compressed data files from Amazon S3](t_loading-gzip-compressed-data-files-from-S3.md)
+ [Loading fixed-width data from Amazon S3](t_loading_fixed_width_data.md)
+ [Loading multibyte data from Amazon S3](t_loading_unicode_data.md)
+ [Loading encrypted data files from Amazon S3](c_loading-encrypted-files.md)
+ [Loading data from Amazon EMR](loading-data-from-emr.md)
+ [Step 1: Configure IAM permissions](load-from-emr-steps-configure-iam.md)
+ [Step 2: Create an Amazon EMR cluster](load-from-emr-steps-create-cluster.md)
+ [Step 3: Retrieve the Amazon Redshift cluster public key and cluster node IP addresses](load-from-emr-steps-retrieve-key-and-ips.md)
+ [Step 4: Add the Amazon Redshift cluster public key to each Amazon EC2 host's authorized keys file](load-from-emr-steps-add-key-to-host.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-8
|
+ [Step 5: Configure the hosts to accept all of the Amazon Redshift cluster's IP addresses](load-from-emr-steps-configure-security-groups.md)
+ [Step 6: Run the COPY command to load the data](load-from-emr-steps-run-copy.md)
+ [Loading data from remote hosts](loading-data-from-remote-hosts.md)
+ [Step 1: Retrieve the cluster public key and cluster node IP addresses](load-from-host-steps-retrieve-key-and-ips.md)
+ [Step 2: Add the Amazon Redshift cluster public key to the host's authorized keys file](load-from-host-steps-add-key-to-host.md)
+ [Step 3: Configure the host to accept all of the Amazon Redshift cluster's IP addresses](load-from-host-steps-configure-security-groups.md)
+ [Step 4: Get the public key for the host](load-from-host-steps-get-the-host-key.md)
+ [Step 5: Create a manifest file](load-from-host-steps-create-manifest.md)
+ [Step 6: Upload the manifest file to an Amazon S3 bucket](load-from-host-steps-upload-manifest.md)
+ [Step 7: Run the COPY command to load the data](load-from-host-steps-run-copy.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-9
|
+ [Step 7: Run the COPY command to load the data](load-from-host-steps-run-copy.md)
+ [Loading data from an Amazon DynamoDB table](t_Loading-data-from-dynamodb.md)
+ [Verifying that the data loaded correctly](verifying-that-data-loaded-correctly.md)
+ [Validating input data](t_Validating_input_files.md)
+ [Loading tables with automatic compression](c_Loading_tables_auto_compress.md)
+ [Optimizing storage for narrow tables](c_load_compression_hidden_cols.md)
+ [Loading default column values](c_loading_default_values.md)
+ [Troubleshooting data loads](t_Troubleshooting_load_errors.md)
+ [S3ServiceException errors](s3serviceexception-error.md)
+ [System tables for troubleshooting data loads](system-tables-for-troubleshooting-data-loads.md)
+ [Multibyte character load errors](multi-byte-character-load-errors.md)
+ [Load error reference](r_Load_Error_Reference.md)
+ [Updating tables with DML commands](t_Updating_tables_with_DML_commands.md)
+ [Updating and inserting new data](t_updating-inserting-using-staging-tables-.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-10
|
+ [Updating and inserting new data](t_updating-inserting-using-staging-tables-.md)
+ [Creating a temporary staging table](merge-create-staging-table.md)
+ [Performing a merge operation by replacing existing rows](merge-replacing-existing-rows.md)
+ [Performing a merge operation by specifying a column list](merge-specify-a-column-list.md)
+ [Merge examples](merge-examples.md)
+ [Performing a deep copy](performing-a-deep-copy.md)
+ [Analyzing tables](t_Analyzing_tables.md)
+ [ANALYZE command history](c_check_last_analyze.md)
+ [Vacuuming tables](t_Reclaiming_storage_space202.md)
+ [Managing vacuum times](vacuum-managing-vacuum-times.md)
+ [Deciding whether to reindex](r_vacuum-decide-whether-to-reindex.md)
+ [Managing the size of the unsorted region](r_vacuum_diskspacereqs.md)
+ [Managing the volume of merged rows](vacuum-managing-volume-of-unmerged-rows.md)
+ [Loading your data in sort key order](vacuum-load-in-sort-key-order.md)
+ [Using time series tables](vacuum-time-series-tables.md)
+ [Managing concurrent write operations](c_Concurrent_writes.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-11
|
+ [Using time series tables](vacuum-time-series-tables.md)
+ [Managing concurrent write operations](c_Concurrent_writes.md)
+ [Serializable isolation](c_serial_isolation.md)
+ [Write and read-write operations](c_write_readwrite.md)
+ [Concurrent write examples](r_Serializable_isolation_example.md)
+ [Tutorial: Loading data from Amazon S3](tutorial-loading-data.md)
+ [Step 1: Create a cluster](tutorial-loading-data-launch-cluster.md)
+ [Step 2: Download the data files](tutorial-loading-data-download-files.md)
+ [Step 3: Upload the files to an Amazon S3 bucket](tutorial-loading-data-upload-files.md)
+ [Step 4: Create the sample tables](tutorial-loading-data-create-tables.md)
+ [Step 5: Run the COPY commands](tutorial-loading-run-copy.md)
+ [Step 6: Vacuum and analyze the database](tutorial-loading-data-vacuum.md)
+ [Step 7: Clean up your resources](tutorial-loading-data-clean-up.md)
+ [Summary](tutorial-loading-data-summary.md)
+ [Unloading data](c_unloading_data.md)
+ [Unloading data to Amazon S3](t_Unloading_tables.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-12
|
+ [Unloading data to Amazon S3](t_Unloading_tables.md)
+ [Unloading encrypted data files](t_unloading_encrypted_files.md)
+ [Unloading data in delimited or fixed-width format](t_unloading_fixed_width_data.md)
+ [Reloading unloaded data](t_Reloading_unload_files.md)
+ [Creating user-defined functions](user-defined-functions.md)
+ [UDF security and privileges](udf-security-and-privileges.md)
+ [Creating a scalar SQL UDF](udf-creating-a-scalar-sql-udf.md)
+ [Creating a scalar Python UDF](udf-creating-a-scalar-udf.md)
+ [Python UDF data types](udf-data-types.md)
+ [Python language support for UDFs](udf-python-language-support.md)
+ [UDF constraints](udf-constraints.md)
+ [Naming UDFs](udf-naming-udfs.md)
+ [Logging errors and warnings in UDFs](udf-logging-messages.md)
+ [Creating stored procedures in Amazon Redshift](stored-procedure-overview.md)
+ [Overview of stored procedures in Amazon Redshift](stored-procedure-create.md)
+ [Naming stored procedures](stored-procedure-naming.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-13
|
+ [Naming stored procedures](stored-procedure-naming.md)
+ [Security and privileges for stored procedures](stored-procedure-security-and-privileges.md)
+ [Returning a result set](stored-procedure-result-set.md)
+ [Managing transactions](stored-procedure-transaction-management.md)
+ [Trapping errors](stored-procedure-trapping-errors.md)
+ [Logging stored procedures](c_PLpgSQL-logging.md)
+ [Limits and differences for stored procedure support](stored-procedure-constraints.md)
+ [PL/pgSQL language reference](c_pl_pgSQL_reference.md)
+ [PL/pgSQL reference conventions](c_PL_reference_conventions.md)
+ [Structure of PL/pgSQL](c_PLpgSQL-structure.md)
+ [Supported PL/pgSQL statements](c_PLpgSQL-statements.md)
+ [Creating materialized views in Amazon Redshift](materialized-view-overview.md)
+ [Querying spatial data in Amazon Redshift](geospatial-overview.md)
+ [Limitations when using spatial data with Amazon Redshift](spatial-limitations.md)
+ [Querying data with federated queries in Amazon Redshift](federated-overview.md)
+ [Getting started with using federated queries](getting-started-federated.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-14
|
+ [Getting started with using federated queries](getting-started-federated.md)
+ [Creating a secret and an IAM role to use federated queries](federated-create-secret-iam-role.md)
+ [Example of using a federated query](federated_query_example.md)
+ [Data type differences between Amazon Redshift and supported RDS PostgreSQL or Aurora PostgreSQL databases](federated-data-types.md)
+ [Limitations and considerations when accessing federated data with Amazon Redshift](federated-limitations.md)
+ [Querying external data using Amazon Redshift Spectrum](c-using-spectrum.md)
+ [Getting started with Amazon Redshift Spectrum](c-getting-started-using-spectrum.md)
+ [Step 1. Create an IAM role for Amazon Redshift](c-getting-started-using-spectrum-create-role.md)
+ [Step 2: Associate the IAM role with your cluster](c-getting-started-using-spectrum-add-role.md)
+ [Step 3: Create an external schema and an external table](c-getting-started-using-spectrum-create-external-table.md)
+ [Step 4: Query your data in Amazon S3](c-getting-started-using-spectrum-query-s3-data.md)
+ [IAM policies for Amazon Redshift Spectrum](c-spectrum-iam-policies.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-15
|
+ [IAM policies for Amazon Redshift Spectrum](c-spectrum-iam-policies.md)
+ [Using Redshift Spectrum with AWS Lake Formation](spectrum-lake-formation.md)
+ [Creating data files for queries in Amazon Redshift Spectrum](c-spectrum-data-files.md)
+ [Creating external schemas for Amazon Redshift Spectrum](c-spectrum-external-schemas.md)
+ [Creating external tables for Amazon Redshift Spectrum](c-spectrum-external-tables.md)
+ [Improving Amazon Redshift Spectrum query performance](c-spectrum-external-performance.md)
+ [Monitoring metrics in Amazon Redshift Spectrum](c-spectrum-metrics.md)
+ [Troubleshooting queries in Amazon Redshift Spectrum](c-spectrum-troubleshooting.md)
+ [Tutorial: Querying nested data with Amazon Redshift Spectrum](tutorial-query-nested-data.md)
+ [Step 1: Create an external table that contains nested data](tutorial-nested-data-create-table.md)
+ [Step 2: Query your nested data in Amazon S3 with SQL extensions](tutorial-query-nested-data-sqlextensions.md)
+ [Nested data use cases](nested-data-use-cases.md)
+ [Nested data limitations](nested-data-restrictions.md)
+ [Serializing complex nested JSON](serializing-complex-JSON.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-16
|
+ [Serializing complex nested JSON](serializing-complex-JSON.md)
+ [Tuning query performance](c-optimizing-query-performance.md)
+ [Query processing](c-query-processing.md)
+ [Query planning and execution workflow](c-query-planning.md)
+ [Query plan](c-the-query-plan.md)
+ [Reviewing query plan steps](reviewing-query-plan-steps.md)
+ [Factors affecting query performance](c-query-performance.md)
+ [Analyzing and improving queries](c-query-tuning.md)
+ [Query analysis workflow](c-query-analysis-process.md)
+ [Reviewing query alerts](c-reviewing-query-alerts.md)
+ [Analyzing the query plan](c-analyzing-the-query-plan.md)
+ [Analyzing the query summary](c-analyzing-the-query-summary.md)
+ [Using the SVL_QUERY_SUMMARY view](using-SVL-Query-Summary.md)
+ [Using the SVL_QUERY_REPORT view](using-SVL-Query-Report.md)
+ [Mapping the query plan to the query summary](query-plan-summary-map.md)
+ [Improving query performance](query-performance-improvement-opportunities.md)
+ [Diagnostic queries for query tuning](diagnostic-queries-for-query-tuning.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-17
|
+ [Diagnostic queries for query tuning](diagnostic-queries-for-query-tuning.md)
+ [Troubleshooting queries](queries-troubleshooting.md)
+ [Implementing workload management](cm-c-implementing-workload-management.md)
+ [Modifying the WLM configuration](cm-c-modifying-wlm-configuration.md)
+ [Implementing automatic WLM](automatic-wlm.md)
+ [Query priority](query-priority.md)
+ [Implementing manual WLM](cm-c-defining-query-queues.md)
+ [WLM query queue hopping](wlm-queue-hopping.md)
+ [Tutorial: Configuring manual workload management (WLM) queues](tutorial-configuring-workload-management.md)
+ [Section 1: Understanding the default queue processing behavior](tutorial-wlm-understanding-default-processing.md)
+ [Section 2: Modifying the WLM query queue configuration](tutorial-wlm-modifying-wlm-configuration.md)
+ [Section 3: Routing queries to queues based on user groups and query groups](tutorial-wlm-routing-queries-to-queues.md)
+ [Section 4: Using wlm_query_slot_count to temporarily override the concurrency level in a queue](tutorial-wlm-query-slot-count.md)
+ [Section 5: Cleaning up your resources](tutorial-wlm-cleaning-up-resources.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-18
|
+ [Section 5: Cleaning up your resources](tutorial-wlm-cleaning-up-resources.md)
+ [Working with concurrency scaling](concurrency-scaling.md)
+ [Working with short query acceleration](wlm-short-query-acceleration.md)
+ [WLM queue assignment rules](cm-c-wlm-queue-assignment-rules.md)
+ [Assigning queries to queues](cm-c-executing-queries.md)
+ [WLM dynamic and static configuration properties](cm-c-wlm-dynamic-properties.md)
+ [WLM dynamic memory allocation](cm-c-wlm-dynamic-memory-allocation.md)
+ [Dynamic WLM example](cm-c-wlm-dynamic-example.md)
+ [WLM query monitoring rules](cm-c-wlm-query-monitoring-rules.md)
+ [WLM system tables and views](cm-c-wlm-system-tables-and-views.md)
+ [Managing database security](r_Database_objects.md)
+ [Amazon Redshift security overview](c_security-overview.md)
+ [Default database user privileges](r_Privileges.md)
+ [Superusers](r_superusers.md)
+ [Users](r_Users.md)
+ [Groups](r_Groups.md)
+ [Schemas](r_Schemas_and_tables.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-19
|
+ [Groups](r_Groups.md)
+ [Schemas](r_Schemas_and_tables.md)
+ [Example for controlling user and group access](t_user_group_examples.md)
+ [SQL reference](cm_chap_SQLCommandRef.md)
+ [Amazon Redshift SQL](c_redshift-sql.md)
+ [SQL functions supported on the leader node](c_sql-functions-leader-node.md)
+ [Amazon Redshift and PostgreSQL](c_redshift-and-postgres-sql.md)
+ [Amazon Redshift and PostgreSQL JDBC and ODBC](c_redshift-postgres-jdbc.md)
+ [Features that are implemented differently](c_redshift-sql-implementated-differently.md)
+ [Unsupported PostgreSQL features](c_unsupported-postgresql-features.md)
+ [Unsupported PostgreSQL data types](c_unsupported-postgresql-datatypes.md)
+ [Unsupported PostgreSQL functions](c_unsupported-postgresql-functions.md)
+ [Using SQL](c_SQL_reference.md)
+ [SQL reference conventions](c_SQL_reference_conventions.md)
+ [Basic elements](c_Basic_elements.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-20
|
+ [SQL reference conventions](c_SQL_reference_conventions.md)
+ [Basic elements](c_Basic_elements.md)
+ [Names and identifiers](r_names.md)
+ [Literals](r_Literals.md)
+ [Nulls](r_Nulls.md)
+ [Data types](c_Supported_data_types.md)
+ [Numeric types](r_Numeric_types201.md)
+ [Computations with numeric values](r_numeric_computations201.md)
+ [Integer and floating-point literals](r_numeric_literals201.md)
+ [Examples with numeric types](r_Examples_with_numeric_types201.md)
+ [Character types](r_Character_types.md)
+ [Examples with character types](r_Examples_with_character_types.md)
+ [Datetime types](r_Datetime_types.md)
+ [Examples with datetime types](r_Examples_with_datetime_types.md)
+ [Date and timestamp literals](r_Date_and_time_literals.md)
+ [Interval literals](r_interval_literals.md)
+ [Boolean type](r_Boolean_type.md)
+ [Type compatibility and conversion](r_Type_conversion.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-21
|
+ [Boolean type](r_Boolean_type.md)
+ [Type compatibility and conversion](r_Type_conversion.md)
+ [Collation sequences](c_collation_sequences.md)
+ [Expressions](r_expressions.md)
+ [Compound expressions](r_compound_expressions.md)
+ [Expression lists](r_expression_lists.md)
+ [Scalar subqueries](r_scalar_subqueries.md)
+ [Function expressions](r_function_expressions.md)
+ [Conditions](r_conditions.md)
+ [Comparison condition](r_comparison_condition.md)
+ [Logical conditions](r_logical_condition.md)
+ [Pattern-matching conditions](pattern-matching-conditions.md)
+ [LIKE](r_patternmatching_condition_like.md)
+ [SIMILAR TO](pattern-matching-conditions-similar-to.md)
+ [POSIX operators](pattern-matching-conditions-posix.md)
+ [BETWEEN range condition](r_range_condition.md)
+ [Null condition](r_null_condition.md)
+ [EXISTS condition](r_exists_condition.md)
+ [IN condition](r_in_condition.md)
+ [SQL commands](c_SQL_commands.md)
+ [ABORT](r_ABORT.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-22
|
+ [SQL commands](c_SQL_commands.md)
+ [ABORT](r_ABORT.md)
+ [ALTER DATABASE](r_ALTER_DATABASE.md)
+ [ALTER DEFAULT PRIVILEGES](r_ALTER_DEFAULT_PRIVILEGES.md)
+ [ALTER GROUP](r_ALTER_GROUP.md)
+ [ALTER PROCEDURE](r_ALTER_PROCEDURE.md)
+ [ALTER SCHEMA](r_ALTER_SCHEMA.md)
+ [ALTER TABLE](r_ALTER_TABLE.md)
+ [ALTER TABLE examples](r_ALTER_TABLE_examples_basic.md)
+ [ALTER EXTERNAL TABLE examples](r_ALTER_TABLE_external-table.md)
+ [ALTER TABLE ADD and DROP COLUMN examples](r_ALTER_TABLE_COL_ex-add-drop.md)
+ [ALTER TABLE APPEND](r_ALTER_TABLE_APPEND.md)
+ [ALTER USER](r_ALTER_USER.md)
+ [ANALYZE](r_ANALYZE.md)
+ [ANALYZE COMPRESSION](r_ANALYZE_COMPRESSION.md)
+ [BEGIN](r_BEGIN.md)
+ [CALL](r_CALL_procedure.md)
+ [CANCEL](r_CANCEL.md)
+ [CLOSE](close.md)
+ [COMMENT](r_COMMENT.md)
+ [COMMIT](r_COMMIT.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-23
|
+ [COMMENT](r_COMMENT.md)
+ [COMMIT](r_COMMIT.md)
+ [COPY](r_COPY.md)
+ [COPY parameter reference](r_COPY-parameters.md)
+ [Data sources](copy-parameters-data-source.md)
+ [COPY from Amazon S3](copy-parameters-data-source-s3.md)
+ [COPY from Amazon EMR](copy-parameters-data-source-emr.md)
+ [COPY from remote host (SSH)](copy-parameters-data-source-ssh.md)
+ [COPY from Amazon DynamoDB](copy-parameters-data-source-dynamodb.md)
+ [Authorization parameters](copy-parameters-authorization.md)
+ [Column mapping options](copy-parameters-column-mapping.md)
+ [Data format parameters](copy-parameters-data-format.md)
+ [File compression parameters](copy-parameters-file-compression.md)
+ [Data conversion parameters](copy-parameters-data-conversion.md)
+ [Data load operations](copy-parameters-data-load.md)
+ [Alphabetical parameter list](r_COPY-alphabetical-parm-list.md)
+ [Usage notes](r_COPY_usage_notes.md)
+ [Permissions to access other AWS Resources](copy-usage_notes-access-permissions.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-24
|
+ [Permissions to access other AWS Resources](copy-usage_notes-access-permissions.md)
+ [Loading multibyte data from Amazon S3](copy-usage_notes-multi-byte.md)
+ [Loading a column of the GEOMETRY data type](copy-usage_notes-spatial-data.md)
+ [Errors when reading multiple files](copy-usage_notes-multiple-files.md)
+ [COPY from JSON format](copy-usage_notes-copy-from-json.md)
+ [COPY from columnar data formats](copy-usage_notes-copy-from-columnar.md)
+ [DATEFORMAT and TIMEFORMAT strings](r_DATEFORMAT_and_TIMEFORMAT_strings.md)
+ [Using automatic recognition with DATEFORMAT and TIMEFORMAT](automatic-recognition.md)
+ [COPY examples](r_COPY_command_examples.md)
+ [CREATE DATABASE](r_CREATE_DATABASE.md)
+ [CREATE EXTERNAL SCHEMA](r_CREATE_EXTERNAL_SCHEMA.md)
+ [CREATE EXTERNAL TABLE](r_CREATE_EXTERNAL_TABLE.md)
+ [CREATE FUNCTION](r_CREATE_FUNCTION.md)
+ [CREATE GROUP](r_CREATE_GROUP.md)
+ [CREATE LIBRARY](r_CREATE_LIBRARY.md)
+ [CREATE MATERIALIZED VIEW](materialized-view-create-sql-command.md)
+ [CREATE PROCEDURE](r_CREATE_PROCEDURE.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-25
|
+ [CREATE MATERIALIZED VIEW](materialized-view-create-sql-command.md)
+ [CREATE PROCEDURE](r_CREATE_PROCEDURE.md)
+ [CREATE SCHEMA](r_CREATE_SCHEMA.md)
+ [CREATE TABLE](r_CREATE_TABLE_NEW.md)
+ [Usage notes](r_CREATE_TABLE_usage.md)
+ [Examples](r_CREATE_TABLE_examples.md)
+ [CREATE TABLE AS](r_CREATE_TABLE_AS.md)
+ [CTAS usage notes](r_CTAS_usage_notes.md)
+ [CTAS examples](r_CTAS_examples.md)
+ [CREATE USER](r_CREATE_USER.md)
+ [CREATE VIEW](r_CREATE_VIEW.md)
+ [DEALLOCATE](r_DEALLOCATE.md)
+ [DECLARE](declare.md)
+ [DELETE](r_DELETE.md)
+ [DROP DATABASE](r_DROP_DATABASE.md)
+ [DROP FUNCTION](r_DROP_FUNCTION.md)
+ [DROP GROUP](r_DROP_GROUP.md)
+ [DROP LIBRARY](r_DROP_LIBRARY.md)
+ [DROP MATERIALIZED VIEW](materialized-view-drop-sql-command.md)
+ [DROP PROCEDURE](r_DROP_PROCEDURE.md)
+ [DROP SCHEMA](r_DROP_SCHEMA.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-26
|
+ [DROP PROCEDURE](r_DROP_PROCEDURE.md)
+ [DROP SCHEMA](r_DROP_SCHEMA.md)
+ [DROP TABLE](r_DROP_TABLE.md)
+ [DROP USER](r_DROP_USER.md)
+ [DROP VIEW](r_DROP_VIEW.md)
+ [END](r_END.md)
+ [EXECUTE](r_EXECUTE.md)
+ [EXPLAIN](r_EXPLAIN.md)
+ [FETCH](fetch.md)
+ [GRANT](r_GRANT.md)
+ [INSERT](r_INSERT_30.md)
+ [INSERT examples](c_Examples_of_INSERT_30.md)
+ [INSERT (external table)](r_INSERT_external_table.md)
+ [LOCK](r_LOCK.md)
+ [PREPARE](r_PREPARE.md)
+ [REFRESH MATERIALIZED VIEW](materialized-view-refresh-sql-command.md)
+ [RESET](r_RESET.md)
+ [REVOKE](r_REVOKE.md)
+ [ROLLBACK](r_ROLLBACK.md)
+ [SELECT](r_SELECT_synopsis.md)
+ [WITH clause](r_WITH_clause.md)
+ [SELECT list](r_SELECT_list.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-27
|
+ [WITH clause](r_WITH_clause.md)
+ [SELECT list](r_SELECT_list.md)
+ [Examples with TOP](r_Examples_with_TOP.md)
+ [SELECT DISTINCT examples](r_DISTINCT_examples.md)
+ [FROM clause](r_FROM_clause30.md)
+ [WHERE clause](r_WHERE_clause.md)
+ [Oracle-Style outer joins in the WHERE clause](r_WHERE_oracle_outer.md)
+ [GROUP BY clause](r_GROUP_BY_clause.md)
+ [HAVING clause](r_HAVING_clause.md)
+ [UNION, INTERSECT, and EXCEPT](r_UNION.md)
+ [Example UNION queries](c_example_union_query.md)
+ [Example UNION ALL query](c_example_unionall_query.md)
+ [Example INTERSECT queries](c_example_intersect_query.md)
+ [Example EXCEPT query](c_Example_MINUS_query.md)
+ [ORDER BY clause](r_ORDER_BY_clause.md)
+ [Examples with ORDER BY](r_Examples_with_ORDER_BY.md)
+ [Join examples](r_Join_examples.md)
+ [Subquery examples](r_Subquery_examples.md)
+ [Correlated subqueries](r_correlated_subqueries.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-28
|
+ [Correlated subqueries](r_correlated_subqueries.md)
+ [SELECT INTO](r_SELECT_INTO.md)
+ [SET](r_SET.md)
+ [SET SESSION AUTHORIZATION](r_SET_SESSION_AUTHORIZATION.md)
+ [SET SESSION CHARACTERISTICS](r_SET_SESSION_CHARACTERISTICS.md)
+ [SHOW](r_SHOW.md)
+ [SHOW PROCEDURE](r_SHOW_PROCEDURE.md)
+ [START TRANSACTION](r_START_TRANSACTION.md)
+ [TRUNCATE](r_TRUNCATE.md)
+ [UNLOAD](r_UNLOAD.md)
+ [UNLOAD examples](r_UNLOAD_command_examples.md)
+ [UPDATE](r_UPDATE.md)
+ [Examples of UPDATE statements](c_Examples_of_UPDATE_statements.md)
+ [VACUUM](r_VACUUM_command.md)
+ [SQL functions reference](c_SQL_functions.md)
+ [Leader node–only functions](c_SQL_functions_leader_node_only.md)
+ [Compute node–only functions](c_SQL_functions_compute_node_only.md)
+ [Aggregate functions](c_Aggregate_Functions.md)
+ [APPROXIMATE PERCENTILE_DISC function](r_APPROXIMATE_PERCENTILE_DISC.md)
+ [AVG function](r_AVG.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-29
|
+ [AVG function](r_AVG.md)
+ [COUNT function](r_COUNT.md)
+ [LISTAGG function](r_LISTAGG.md)
+ [MAX function](r_MAX.md)
+ [MEDIAN function](r_MEDIAN.md)
+ [MIN function](r_MIN.md)
+ [PERCENTILE_CONT function](r_PERCENTILE_CONT.md)
+ [STDDEV_SAMP and STDDEV_POP functions](r_STDDEV_functions.md)
+ [SUM function](r_SUM.md)
+ [VAR_SAMP and VAR_POP functions](r_VARIANCE_functions.md)
+ [Bit-wise aggregate functions](c_bitwise_aggregate_functions.md)
+ [BIT_AND function](r_BIT_AND.md)
+ [BIT_OR function](r_BIT_OR.md)
+ [BOOL_AND function](r_BOOL_AND.md)
+ [BOOL_OR function](r_BOOL_OR.md)
+ [Window functions](c_Window_functions.md)
+ [Window function syntax summary](r_Window_function_synopsis.md)
+ [Unique ordering of data for window functions](r_Examples_order_by_WF.md)
+ [AVG window function](r_WF_AVG.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-30
|
+ [AVG window function](r_WF_AVG.md)
+ [COUNT window function](r_WF_COUNT.md)
+ [CUME_DIST window function](r_WF_CUME_DIST.md)
+ [DENSE_RANK window function](r_WF_DENSE_RANK.md)
+ [FIRST_VALUE and LAST_VALUE window functions](r_WF_first_value.md)
+ [LAG window function](r_WF_LAG.md)
+ [LEAD window function](r_WF_LEAD.md)
+ [LISTAGG window function](r_WF_LISTAGG.md)
+ [MAX window function](r_WF_MAX.md)
+ [MEDIAN window function](r_WF_MEDIAN.md)
+ [MIN window function](r_WF_MIN.md)
+ [NTH_VALUE window function](r_WF_NTH.md)
+ [NTILE window function](r_WF_NTILE.md)
+ [PERCENT_RANK window function](r_WF_PERCENT_RANK.md)
+ [PERCENTILE_CONT window function](r_WF_PERCENTILE_CONT.md)
+ [PERCENTILE_DISC window function](r_WF_PERCENTILE_DISC.md)
+ [RANK window function](r_WF_RANK.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-31
|
+ [RANK window function](r_WF_RANK.md)
+ [RATIO_TO_REPORT window function](r_WF_RATIO_TO_REPORT.md)
+ [ROW_NUMBER window function](r_WF_ROW_NUMBER.md)
+ [STDDEV_SAMP and STDDEV_POP window functions](r_WF_STDDEV.md)
+ [SUM window function](r_WF_SUM.md)
+ [VAR_SAMP and VAR_POP window functions](r_WF_VARIANCE.md)
+ [Conditional expressions](c_conditional_expressions.md)
+ [CASE expression](r_CASE_function.md)
+ [COALESCE](r_COALESCE.md)
+ [DECODE expression](r_DECODE_expression.md)
+ [GREATEST and LEAST](r_GREATEST_LEAST.md)
+ [NVL expression](r_NVL_function.md)
+ [NVL2 expression](r_NVL2.md)
+ [NULLIF expression](r_NULLIF_function.md)
+ [Date and time functions](Date_functions_header.md)
+ [ADD_MONTHS function](r_ADD_MONTHS.md)
+ [AT TIME ZONE function](r_AT_TIME_ZONE.md)
+ [CONVERT_TIMEZONE function](CONVERT_TIMEZONE.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-32
|
+ [AT TIME ZONE function](r_AT_TIME_ZONE.md)
+ [CONVERT_TIMEZONE function](CONVERT_TIMEZONE.md)
+ [CURRENT_DATE function](r_CURRENT_DATE_function.md)
+ [DATE_CMP function](r_DATE_CMP.md)
+ [DATE_CMP_TIMESTAMP function](r_DATE_CMP_TIMESTAMP.md)
+ [DATE_CMP_TIMESTAMPTZ function](r_DATE_CMP_TIMESTAMPTZ.md)
+ [DATE_PART_YEAR function](r_DATE_PART_YEAR.md)
+ [DATEADD function](r_DATEADD_function.md)
+ [DATEDIFF function](r_DATEDIFF_function.md)
+ [DATE_PART function](r_DATE_PART_function.md)
+ [DATE_TRUNC function](r_DATE_TRUNC.md)
+ [EXTRACT function](r_EXTRACT_function.md)
+ [GETDATE function](r_GETDATE.md)
+ [INTERVAL_CMP function](r_INTERVAL_CMP.md)
+ [LAST_DAY function](r_LAST_DAY.md)
+ [MONTHS_BETWEEN function](r_MONTHS_BETWEEN_function.md)
+ [NEXT_DAY function](r_NEXT_DAY.md)
+ [SYSDATE function](r_SYSDATE.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-33
|
+ [NEXT_DAY function](r_NEXT_DAY.md)
+ [SYSDATE function](r_SYSDATE.md)
+ [TIMEOFDAY function](r_TIMEOFDAY_function.md)
+ [TIMESTAMP_CMP function](r_TIMESTAMP_CMP.md)
+ [TIMESTAMP_CMP_DATE function](r_TIMESTAMP_CMP_DATE.md)
+ [TIMESTAMP_CMP_TIMESTAMPTZ function](r_TIMESTAMP_CMP_TIMESTAMPTZ.md)
+ [TIMESTAMPTZ_CMP function](r_TIMESTAMPTZ_CMP.md)
+ [TIMESTAMPTZ_CMP_DATE function](r_TIMESTAMPTZ_CMP_DATE.md)
+ [TIMESTAMPTZ_CMP_TIMESTAMP function](r_TIMESTAMPTZ_CMP_TIMESTAMP.md)
+ [TIMEZONE function](r_TIMEZONE.md)
+ [TO_TIMESTAMP function](r_TO_TIMESTAMP.md)
+ [TRUNC Date function](r_TRUNC_date.md)
+ [Dateparts for Date or Time Stamp functions](r_Dateparts_for_datetime_functions.md)
+ [Spatial functions](geospatial-functions.md)
+ [GeometryType](GeometryType-function.md)
+ [ST_AddPoint](ST_AddPoint-function.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-34
|
+ [GeometryType](GeometryType-function.md)
+ [ST_AddPoint](ST_AddPoint-function.md)
+ [ST_Area](ST_Area-function.md)
+ [ST_AsBinary](ST_AsBinary-function.md)
+ [ST_AsEWKB](ST_AsEWKB-function.md)
+ [ST_AsEWKT](ST_AsEWKT-function.md)
+ [ST_AsGeoJSON](ST_AsGeoJSON-function.md)
+ [ST_AsText](ST_AsText-function.md)
+ [ST_Azimuth](ST_Azimuth-function.md)
+ [ST_Contains](ST_Contains-function.md)
+ [ST_CoveredBy](ST_CoveredBy-function.md)
+ [ST_Covers](ST_Covers-function.md)
+ [ST_Dimension](ST_Dimension-function.md)
+ [ST_Disjoint](ST_Disjoint-function.md)
+ [ST_Distance](ST_Distance-function.md)
+ [ST_DistanceSphere](ST_DistanceSphere-function.md)
+ [ST_DWithin](ST_DWithin-function.md)
+ [ST_EndPoint](ST_EndPoint-function.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-35
|
+ [ST_EndPoint](ST_EndPoint-function.md)
+ [ST_Envelope](ST_Envelope-function.md)
+ [ST_Equals](ST_Equals-function.md)
+ [ST_GeometryN](ST_GeometryN-function.md)
+ [ST_GeometryType](ST_GeometryType-function.md)
+ [ST_GeomFromEWKB](ST_GeomFromEWKB-function.md)
+ [ST_GeomFromText](ST_GeomFromText-function.md)
+ [ST_GeomFromWKB](ST_GeomFromWKB-function.md)
+ [ST_Intersects](ST_Intersects-function.md)
+ [ST_IsClosed](ST_IsClosed-function.md)
+ [ST_IsCollection](ST_IsCollection-function.md)
+ [ST_IsEmpty](ST_IsEmpty-function.md)
+ [ST_Length](ST_Length-function.md)
+ [ST_Length2D](ST_Length2D-function.md)
+ [ST_LineFromMultiPoint](ST_LineFromMultiPoint-function.md)
+ [ST_MakeLine](ST_MakeLine-function.md)
+ [ST_MakePoint](ST_MakePoint-function.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-36
|
+ [ST_MakeLine](ST_MakeLine-function.md)
+ [ST_MakePoint](ST_MakePoint-function.md)
+ [ST_MakePolygon](ST_MakePolygon-function.md)
+ [ST_MemSize](ST_MemSize-function.md)
+ [ST_NPoints](ST_NPoints-function.md)
+ [ST_NRings](ST_NRings-function.md)
+ [ST_NumGeometries](ST_NumGeometries-function.md)
+ [ST_NumInteriorRings](ST_NumInteriorRings-function.md)
+ [ST_NumPoints](ST_NumPoints-function.md)
+ [ST_Perimeter](ST_Perimeter-function.md)
+ [ST_Perimeter2D](ST_Perimeter2D-function.md)
+ [ST_Point](ST_Point-function.md)
+ [ST_PointN](ST_PointN-function.md)
+ [ST_Polygon](ST_Polygon-function.md)
+ [ST_RemovePoint](ST_RemovePoint-function.md)
+ [ST_SetSRID](ST_SetSRID-function.md)
+ [ST_SRID](ST_SRID-function.md)
+ [ST_StartPoint](ST_StartPoint-function.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-37
|
+ [ST_SRID](ST_SRID-function.md)
+ [ST_StartPoint](ST_StartPoint-function.md)
+ [ST_Touches](ST_Touches-function.md)
+ [ST_Within](ST_Within-function.md)
+ [ST_X](ST_X-function.md)
+ [ST_XMax](ST_XMax-function.md)
+ [ST_XMin](ST_XMin-function.md)
+ [ST_Y](ST_Y-function.md)
+ [ST_YMax](ST_YMax-function.md)
+ [ST_YMin](ST_YMin-function.md)
+ [Math functions](Math_functions.md)
+ [Mathematical operator symbols](r_OPERATOR_SYMBOLS.md)
+ [ABS function](r_ABS.md)
+ [ACOS function](r_ACOS.md)
+ [ASIN function](r_ASIN.md)
+ [ATAN function](r_ATAN.md)
+ [ATAN2 function](r_ATAN2.md)
+ [CBRT function](r_CBRT.md)
+ [CEILING (or CEIL) function](r_CEILING_FLOOR.md)
+ [COS function](r_COS.md)
+ [COT function](r_COT.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-38
|
+ [COS function](r_COS.md)
+ [COT function](r_COT.md)
+ [DEGREES function](r_DEGREES.md)
+ [DEXP function](r_DEXP.md)
+ [DLOG1 function](r_DLOG1.md)
+ [DLOG10 function](r_DLOG10.md)
+ [EXP function](r_EXP.md)
+ [FLOOR function](r_FLOOR.md)
+ [LN function](r_LN.md)
+ [LOG function](r_LOG.md)
+ [MOD function](r_MOD.md)
+ [PI function](r_PI.md)
+ [POWER function](r_POWER.md)
+ [RADIANS function](r_RADIANS.md)
+ [RANDOM function](r_RANDOM.md)
+ [ROUND function](r_ROUND.md)
+ [SIN function](r_SIN.md)
+ [SIGN function](r_SIGN.md)
+ [SQRT function](r_SQRT.md)
+ [TAN function](r_TAN.md)
+ [TO_HEX function](r_TO_HEX.md)
+ [TRUNC function](r_TRUNC.md)
+ [String functions](String_functions_header.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-39
|
+ [TRUNC function](r_TRUNC.md)
+ [String functions](String_functions_header.md)
+ [|| (Concatenation) operator](r_concat_op.md)
+ [BPCHARCMP function](r_BPCHARCMP.md)
+ [BTRIM function](r_BTRIM.md)
+ [BTTEXT_PATTERN_CMP function](r_BTTEXT_PATTERN_CMP.md)
+ [CHAR_LENGTH function](r_CHAR_LENGTH.md)
+ [CHARACTER_LENGTH function](r_CHARACTER_LENGTH.md)
+ [CHARINDEX Function](r_CHARINDEX.md)
+ [CHR function](r_CHR.md)
+ [CONCAT](r_CONCAT.md)
+ [CRC32 function](crc32-function.md)
+ [INITCAP function](r_INITCAP.md)
+ [LEFT and RIGHT functions](r_LEFT.md)
+ [LEN function](r_LEN.md)
+ [LENGTH function](r_LENGTH.md)
+ [LOWER function](r_LOWER.md)
+ [LPAD and RPAD functions](r_LPAD.md)
+ [LTRIM function](r_LTRIM.md)
+ [OCTET_LENGTH function](r_OCTET_LENGTH.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-40
|
+ [LTRIM function](r_LTRIM.md)
+ [OCTET_LENGTH function](r_OCTET_LENGTH.md)
+ [POSITION function](r_POSITION.md)
+ [QUOTE_IDENT function](r_QUOTE_IDENT.md)
+ [QUOTE_LITERAL function](r_QUOTE_LITERAL.md)
+ [REGEXP_COUNT function](REGEXP_COUNT.md)
+ [REGEXP_INSTR function](REGEXP_INSTR.md)
+ [REGEXP_REPLACE function](REGEXP_REPLACE.md)
+ [REGEXP_SUBSTR function](REGEXP_SUBSTR.md)
+ [REPEAT function](r_REPEAT.md)
+ [REPLACE function](r_REPLACE.md)
+ [REPLICATE function](r_REPLICATE.md)
+ [REVERSE function](r_REVERSE.md)
+ [RTRIM function](r_RTRIM.md)
+ [SPLIT_PART function](SPLIT_PART.md)
+ [STRPOS function](r_STRPOS.md)
+ [STRTOL function](r_STRTOL.md)
+ [SUBSTRING function](r_SUBSTRING.md)
+ [TEXTLEN function](r_TEXTLEN.md)
+ [TRANSLATE function](r_TRANSLATE.md)
+ [TRIM function](r_TRIM.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-41
|
+ [TRANSLATE function](r_TRANSLATE.md)
+ [TRIM function](r_TRIM.md)
+ [UPPER function](r_UPPER.md)
+ [Hash functions](hash-functions.md)
+ [CHECKSUM function](r_CHECKSUM.md)
+ [FUNC_SHA1 function](FUNC_SHA1.md)
+ [FNV_HASH function](r_FNV_HASH.md)
+ [MD5 function](r_MD5.md)
+ [SHA function](SHA.md)
+ [SHA1 function](SHA1.md)
+ [SHA2 function](SHA2.md)
+ [JSON functions](json-functions.md)
+ [IS_VALID_JSON function](IS_VALID_JSON.md)
+ [IS_VALID_JSON_ARRAY function](IS_VALID_JSON_ARRAY.md)
+ [JSON_ARRAY_LENGTH function](JSON_ARRAY_LENGTH.md)
+ [JSON_EXTRACT_ARRAY_ELEMENT_TEXT function](JSON_EXTRACT_ARRAY_ELEMENT_TEXT.md)
+ [JSON_EXTRACT_PATH_TEXT function](JSON_EXTRACT_PATH_TEXT.md)
+ [Data type formatting functions](r_Data_type_formatting.md)
+ [CAST and CONVERT functions](r_CAST_function.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-42
|
+ [CAST and CONVERT functions](r_CAST_function.md)
+ [TO_CHAR](r_TO_CHAR.md)
+ [TO_DATE](r_TO_DATE_function.md)
+ [TO_NUMBER](r_TO_NUMBER.md)
+ [Datetime format strings](r_FORMAT_strings.md)
+ [Numeric Format Strings](r_Numeric_formating.md)
+ [System administration functions](r_System_administration_functions.md)
+ [CHANGE_QUERY_PRIORITY](r_CHANGE_QUERY_PRIORITY.md)
+ [CHANGE_SESSION_PRIORITY](r_CHANGE_SESSION_PRIORITY.md)
+ [CHANGE_USER_PRIORITY](r_CHANGE_USER_PRIORITY.md)
+ [CURRENT_SETTING](r_CURRENT_SETTING.md)
+ [PG_CANCEL_BACKEND](PG_CANCEL_BACKEND.md)
+ [PG_TERMINATE_BACKEND](PG_TERMINATE_BACKEND.md)
+ [SET_CONFIG](r_SET_CONFIG.md)
+ [System information functions](r_System_information_functions.md)
+ [CURRENT_DATABASE](r_CURRENT_DATABASE.md)
+ [CURRENT_SCHEMA](r_CURRENT_SCHEMA.md)
+ [CURRENT_SCHEMAS](r_CURRENT_SCHEMAS.md)
+ [CURRENT_USER](r_CURRENT_USER.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-43
|
+ [CURRENT_SCHEMAS](r_CURRENT_SCHEMAS.md)
+ [CURRENT_USER](r_CURRENT_USER.md)
+ [CURRENT_USER_ID](r_CURRENT_USER_ID.md)
+ [HAS_DATABASE_PRIVILEGE](r_HAS_DATABASE_PRIVILEGE.md)
+ [HAS_SCHEMA_PRIVILEGE](r_HAS_SCHEMA_PRIVILEGE.md)
+ [HAS_TABLE_PRIVILEGE](r_HAS_TABLE_PRIVILEGE.md)
+ [PG_BACKEND_PID](PG_BACKEND_PID.md)
+ [PG_GET_COLS](PG_GET_COLS.md)
+ [PG_GET_LATE_BINDING_VIEW_COLS](PG_GET_LATE_BINDING_VIEW_COLS.md)
+ [PG_LAST_COPY_COUNT](PG_LAST_COPY_COUNT.md)
+ [PG_LAST_COPY_ID](PG_LAST_COPY_ID.md)
+ [PG_LAST_UNLOAD_ID](PG_LAST_UNLOAD_ID.md)
+ [PG_LAST_QUERY_ID](PG_LAST_QUERY_ID.md)
+ [PG_LAST_UNLOAD_COUNT](PG_LAST_UNLOAD_COUNT.md)
+ [SESSION_USER](r_SESSION_USER.md)
+ [SLICE_NUM Function](r_SLICE_NUM.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-44
|
+ [SESSION_USER](r_SESSION_USER.md)
+ [SLICE_NUM Function](r_SLICE_NUM.md)
+ [USER](r_USER.md)
+ [VERSION](r_VERSION.md)
+ [Reserved words](r_pg_keywords.md)
+ [System tables reference](cm_chap_system-tables.md)
+ [System tables and views](c_intro_system_tables.md)
+ [Types of system tables and views](c_types-of-system-tables-and-views.md)
+ [Visibility of data in system tables and views](c_visibility-of-data.md)
+ [STV tables for snapshot data](c_intro_STV_tables.md)
+ [STV_ACTIVE_CURSORS](r_STV_ACTIVE_CURSORS.md)
+ [STV_BLOCKLIST](r_STV_BLOCKLIST.md)
+ [STV_CURSOR_CONFIGURATION](r_STV_CURSOR_CONFIGURATION.md)
+ [STV_EXEC_STATE](r_STV_EXEC_STATE.md)
+ [STV_INFLIGHT](r_STV_INFLIGHT.md)
+ [STV_LOAD_STATE](r_STV_LOAD_STATE.md)
+ [STV_LOCKS](r_STV_LOCKS.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-45
|
+ [STV_LOCKS](r_STV_LOCKS.md)
+ [STV_MV_INFO](r_STV_MV_INFO.md)
+ [STV_PARTITIONS](r_STV_PARTITIONS.md)
+ [STV_QUERY_METRICS](r_STV_QUERY_METRICS.md)
+ [STV_RECENTS](r_STV_RECENTS.md)
+ [STV_SESSIONS](r_STV_SESSIONS.md)
+ [STV_SLICES](r_STV_SLICES.md)
+ [STV_STARTUP_RECOVERY_STATE](r_STV_STARTUP_RECOVERY_STATE.md)
+ [STV_TBL_PERM](r_STV_TBL_PERM.md)
+ [STV_TBL_TRANS](r_STV_TBL_TRANS.md)
+ [STV_WLM_QMR_CONFIG](r_STV_WLM_QMR_CONFIG.md)
+ [STV_WLM_CLASSIFICATION_CONFIG](r_STV_WLM_CLASSIFICATION_CONFIG.md)
+ [STV_WLM_QUERY_QUEUE_STATE](r_STV_WLM_QUERY_QUEUE_STATE.md)
+ [STV_WLM_QUERY_STATE](r_STV_WLM_QUERY_STATE.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-46
|
+ [STV_WLM_QUERY_STATE](r_STV_WLM_QUERY_STATE.md)
+ [STV_WLM_QUERY_TASK_STATE](r_STV_WLM_QUERY_TASK_STATE.md)
+ [STV_WLM_SERVICE_CLASS_CONFIG](r_STV_WLM_SERVICE_CLASS_CONFIG.md)
+ [STV_WLM_SERVICE_CLASS_STATE](r_STV_WLM_SERVICE_CLASS_STATE.md)
+ [System views](c_intro_system_views.md)
+ [STL views for logging](c_intro_STL_tables.md)
+ [STL_AGGR](r_STL_AGGR.md)
+ [STL_ALERT_EVENT_LOG](r_STL_ALERT_EVENT_LOG.md)
+ [STL_ANALYZE](r_STL_ANALYZE.md)
+ [STL_ANALYZE_COMPRESSION](r_STL_ANALYZE_COMPRESSION.md)
+ [STL_BCAST](r_STL_BCAST.md)
+ [STL_COMMIT_STATS](r_STL_COMMIT_STATS.md)
+ [STL_CONNECTION_LOG](r_STL_CONNECTION_LOG.md)
+ [STL_DDLTEXT](r_STL_DDLTEXT.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-47
|
+ [STL_DDLTEXT](r_STL_DDLTEXT.md)
+ [STL_DELETE](r_STL_DELETE.md)
+ [STL_DISK_FULL_DIAG](r_STL_DISK_FULL_DIAG.md)
+ [STL_DIST](r_STL_DIST.md)
+ [STL_ERROR](r_STL_ERROR.md)
+ [STL_EXPLAIN](r_STL_EXPLAIN.md)
+ [STL_FILE_SCAN](r_STL_FILE_SCAN.md)
+ [STL_HASH](r_STL_HASH.md)
+ [STL_HASHJOIN](r_STL_HASHJOIN.md)
+ [STL_INSERT](r_STL_INSERT.md)
+ [STL_LIMIT](r_STL_LIMIT.md)
+ [STL_LOAD_COMMITS](r_STL_LOAD_COMMITS.md)
+ [STL_LOAD_ERRORS](r_STL_LOAD_ERRORS.md)
+ [STL_LOADERROR_DETAIL](r_STL_LOADERROR_DETAIL.md)
+ [STL_MERGE](r_STL_MERGE.md)
+ [STL_MERGEJOIN](r_STL_MERGEJOIN.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-48
|
+ [STL_MERGEJOIN](r_STL_MERGEJOIN.md)
+ [STL_MV_STATE](r_STL_MV_STATE.md)
+ [STL_NESTLOOP](r_STL_NESTLOOP.md)
+ [STL_PARSE](r_STL_PARSE.md)
+ [STL_PLAN_INFO](r_STL_PLAN_INFO.md)
+ [STL_PROJECT](r_STL_PROJECT.md)
+ [STL_QUERY](r_STL_QUERY.md)
+ [STL_QUERY_METRICS](r_STL_QUERY_METRICS.md)
+ [STL_QUERYTEXT](r_STL_QUERYTEXT.md)
+ [STL_REPLACEMENTS](r_STL_REPLACEMENTS.md)
+ [STL_RESTARTED_SESSIONS](r_STL_RESTARTED_SESSIONS.md)
+ [STL_RETURN](r_STL_RETURN.md)
+ [STL_S3CLIENT](r_STL_S3CLIENT.md)
+ [STL_S3CLIENT_ERROR](r_STL_S3CLIENT_ERROR.md)
+ [STL_SAVE](r_STL_SAVE.md)
+ [STL_SCAN](r_STL_SCAN.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-49
|
+ [STL_SAVE](r_STL_SAVE.md)
+ [STL_SCAN](r_STL_SCAN.md)
+ [STL_SCHEMA_QUOTA_VIOLATIONS](r_STL_SCHEMA_QUOTA_VIOLATIONS.md)
+ [STL_SESSIONS](r_STL_SESSIONS.md)
+ [STL_SORT](r_STL_SORT.md)
+ [STL_SSHCLIENT_ERROR](r_STL_SSHCLIENT_ERROR.md)
+ [STL_STREAM_SEGS](r_STL_STREAM_SEGS.md)
+ [STL_TR_CONFLICT](r_STL_TR_CONFLICT.md)
+ [STL_UNDONE](r_STL_UNDONE.md)
+ [STL_UNIQUE](r_STL_UNIQUE.md)
+ [STL_UNLOAD_LOG](r_STL_UNLOAD_LOG.md)
+ [STL_USAGE_CONTROL](r_STL_USAGE_CONTROL.md)
+ [STL_USERLOG](r_STL_USERLOG.md)
+ [STL_UTILITYTEXT](r_STL_UTILITYTEXT.md)
+ [STL_VACUUM](r_STL_VACUUM.md)
+ [STL_WINDOW](r_STL_WINDOW.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-50
|
+ [STL_VACUUM](r_STL_VACUUM.md)
+ [STL_WINDOW](r_STL_WINDOW.md)
+ [STL_WLM_ERROR](r_STL_WLM_ERROR.md)
+ [STL_WLM_RULE_ACTION](r_STL_WLM_RULE_ACTION.md)
+ [STL_WLM_QUERY](r_STL_WLM_QUERY.md)
+ [SVCS views](svcs_views.md)
+ [SVCS_ALERT_EVENT_LOG](r_SVCS_ALERT_EVENT_LOG.md)
+ [SVCS_COMPILE](r_SVCS_COMPILE.md)
+ [SVCS_CONCURRENCY_SCALING_USAGE](r_SVCS_CONCURRENCY_SCALING_USAGE.md)
+ [SVCS_EXPLAIN](r_SVCS_EXPLAIN.md)
+ [SVCS_PLAN_INFO](r_SVCS_PLAN_INFO.md)
+ [SVCS_QUERY_SUMMARY](r_SVCS_QUERY_SUMMARY.md)
+ [SVCS_S3LIST](r_SVCS_S3LIST.md)
+ [SVCS_S3LOG](r_SVCS_S3LOG.md)
+ [SVCS_S3PARTITION_SUMMARY](r_SVCS_S3PARTITION_SUMMARY.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-51
|
+ [SVCS_S3PARTITION_SUMMARY](r_SVCS_S3PARTITION_SUMMARY.md)
+ [SVCS_S3QUERY_SUMMARY](r_SVCS_S3QUERY_SUMMARY.md)
+ [SVCS_STREAM_SEGS](r_SVCS_STREAM_SEGS.md)
+ [SVCS_UNLOAD_LOG](r_SVCS_UNLOAD_LOG.md)
+ [SVL views](svl_views.md)
+ [SVL_COMPILE](r_SVL_COMPILE.md)
+ [SVL_FEDERATED_QUERY](r_SVL_FEDERATED_QUERY.md)
+ [SVL_MULTI_STATEMENT_VIOLATIONS](r_SVL_MULTI_STATEMENT_VIOLATIONS.md)
+ [SVL_MV_REFRESH_STATUS](r_SVL_MV_REFRESH_STATUS.md)
+ [SVL_QERROR](r_SVL_QERROR.md)
+ [SVL_QLOG](r_SVL_QLOG.md)
+ [SVL_QUERY_METRICS](r_SVL_QUERY_METRICS.md)
+ [SVL_QUERY_METRICS_SUMMARY](r_SVL_QUERY_METRICS_SUMMARY.md)
+ [SVL_QUERY_QUEUE_INFO](r_SVL_QUERY_QUEUE_INFO.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-52
|
+ [SVL_QUERY_QUEUE_INFO](r_SVL_QUERY_QUEUE_INFO.md)
+ [SVL_QUERY_REPORT](r_SVL_QUERY_REPORT.md)
+ [SVL_QUERY_SUMMARY](r_SVL_QUERY_SUMMARY.md)
+ [SVL_S3LIST](r_SVL_S3LIST.md)
+ [SVL_S3LOG](r_SVL_S3LOG.md)
+ [SVL_S3PARTITION](r_SVL_S3PARTITION.md)
+ [SVL_S3PARTITION_SUMMARY](r_SVL_S3PARTITION_SUMMARY.md)
+ [SVL_S3QUERY](r_SVL_S3QUERY.md)
+ [SVL_S3QUERY_SUMMARY](r_SVL_S3QUERY_SUMMARY.md)
+ [SVL_S3RETRIES](r_SVL_S3RETRIES.md)
+ [SVL_STATEMENTTEXT](r_SVL_STATEMENTTEXT.md)
+ [SVL_STORED_PROC_CALL](r_SVL_STORED_PROC_CALL.md)
+ [SVL_STORED_PROC_MESSAGES](r_SVL_STORED_PROC_MESSAGES.md)
+ [SVL_TERMINATE](r_SVL_TERMINATE.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-53
|
+ [SVL_TERMINATE](r_SVL_TERMINATE.md)
+ [SVL_UDF_LOG](r_SVL_UDF_LOG.md)
+ [SVL_USER_INFO](r_SVL_USER_INFO.md)
+ [SVL_VACUUM_PERCENTAGE](r_SVL_VACUUM_PERCENTAGE.md)
+ [SVV views](svv_views.md)
+ [SVV_COLUMNS](r_SVV_COLUMNS.md)
+ [SVV_DISKUSAGE](r_SVV_DISKUSAGE.md)
+ [SVV_EXTERNAL_COLUMNS](r_SVV_EXTERNAL_COLUMNS.md)
+ [SVV_EXTERNAL_DATABASES](r_SVV_EXTERNAL_DATABASES.md)
+ [SVV_EXTERNAL_PARTITIONS](r_SVV_EXTERNAL_PARTITIONS.md)
+ [SVV_EXTERNAL_SCHEMAS](r_SVV_EXTERNAL_SCHEMAS.md)
+ [SVV_EXTERNAL_TABLES](r_SVV_EXTERNAL_TABLES.md)
+ [SVV_INTERLEAVED_COLUMNS](r_SVV_INTERLEAVED_COLUMNS.md)
+ [SVV_QUERY_INFLIGHT](r_SVV_QUERY_INFLIGHT.md)
+ [SVV_QUERY_STATE](r_SVV_QUERY_STATE.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-54
|
+ [SVV_QUERY_STATE](r_SVV_QUERY_STATE.md)
+ [SVV_SCHEMA_QUOTA_STATE](r_SVV_SCHEMA_QUOTA_STATE.md)
+ [SVV_TABLES](r_SVV_TABLES.md)
+ [SVV_TABLE_INFO](r_SVV_TABLE_INFO.md)
+ [SVV_TRANSACTIONS](r_SVV_TRANSACTIONS.md)
+ [SVV_VACUUM_PROGRESS](r_SVV_VACUUM_PROGRESS.md)
+ [SVV_VACUUM_SUMMARY](r_SVV_VACUUM_SUMMARY.md)
+ [System catalog tables](c_intro_catalog_views.md)
+ [PG_ATTRIBUTE_INFO](r_PG_ATTRIBUTE_INFO.md)
+ [PG_CLASS_INFO](r_PG_CLASS_INFO.md)
+ [PG_DATABASE_INFO](r_PG_DATABASE_INFO.md)
+ [PG_DEFAULT_ACL](r_PG_DEFAULT_ACL.md)
+ [PG_EXTERNAL_SCHEMA](r_PG_EXTERNAL_SCHEMA.md)
+ [PG_LIBRARY](r_PG_LIBRARY.md)
+ [PG_PROC_INFO](r_PG_PROC_INFO.md)
+ [PG_STATISTIC_INDICATOR](r_PG_STATISTIC_INDICATOR.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-55
|
+ [PG_STATISTIC_INDICATOR](r_PG_STATISTIC_INDICATOR.md)
+ [PG_TABLE_DEF](r_PG_TABLE_DEF.md)
+ [Querying the catalog tables](c_join_PG.md)
+ [Examples of catalog queries](c_join_PG_examples.md)
+ [Configuration reference](cm_chap_ConfigurationRef.md)
+ [Modifying the server configuration](t_Modifying_the_default_settings.md)
+ [analyze_threshold_percent](r_analyze_threshold_percent.md)
+ [datestyle](r_datestyle.md)
+ [describe_field_name_in_uppercase](r_describe_field_name_in_uppercase.md)
+ [enable_result_cache_for_session](r_enable_result_cache_for_session.md)
+ [enable_vacuum_boost](r_enable_vacuum_boost.md)
+ [error_on_nondeterministic_update](r_error_on_nondeterministic_update.md)
+ [extra_float_digits](r_extra_float_digits.md)
+ [json_serialization_enable](r_json_serialization_enable.md)
+ [json_serialization_parse_nested_strings](r_json_serialization_parse_nested_strings.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-56
|
+ [json_serialization_parse_nested_strings](r_json_serialization_parse_nested_strings.md)
+ [max_concurrency_scaling_clusters](r_max_concurrency_scaling_clusters.md)
+ [max_cursor_result_set_size](max_cursor_result_set_size.md)
+ [query_group](r_query_group.md)
+ [search_path](r_search_path.md)
+ [statement_timeout](r_statement_timeout.md)
+ [stored_proc_log_min_messages](r_stored_proc_log_min_messages.md)
+ [timezone](r_timezone_config.md)
+ [wlm_query_slot_count](r_wlm_query_slot_count.md)
+ [Sample database](c_sampledb.md)
+ [CATEGORY table](r_categorytable.md)
+ [DATE table](r_datetable.md)
+ [EVENT table](r_eventtable.md)
+ [VENUE table](r_venuetable.md)
+ [USERS table](r_userstable.md)
+ [LISTING table](r_listingtable.md)
+ [SALES table](r_salestable.md)
+ [Appendix: Time zone names and abbreviations](appendix-timezone-names.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
9bfab894e9d0-57
|
+ [SALES table](r_salestable.md)
+ [Appendix: Time zone names and abbreviations](appendix-timezone-names.md)
+ [Time zone names](time-zone-names.md)
+ [Time zone abbreviations](time-zone-abbrevs.md)
+ [Document history](doc-history.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/index.md
|
0b74cab50877-0
|
ST\_Contains returns true if the first input geometry contains the second input geometry\. Geometry `A` contains geometry `B` if every point in `B` is a point in `A`, and their interiors have nonempty intersection\.
ST\_Contains\(`A`, `B`\) is equivalent to ST\_Within\(`B`, `A`\)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_Contains-function.md
|
2cac98ccd68b-0
|
```
ST_Contains(geom1, geom2)
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_Contains-function.md
|
538621805f9c-0
|
*geom1*
A value of data type `GEOMETRY` or an expression that evaluates to a `GEOMETRY` type\.
*geom2*
A value of data type `GEOMETRY` or an expression that evaluates to a `GEOMETRY` type\. This value is compared with *geom1* to determine if it is contained within *geom1*\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_Contains-function.md
|
2240a8483fb7-0
|
`BOOLEAN`
If *geom1* or *geom2* is null, then null is returned\.
If *geom1* and *geom2* don't have the same value for the spatial reference system identifier \(SRID\), then an error is returned\.
If *geom1* or *geom2* is a geometry collection, then an error is returned\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_Contains-function.md
|
6933e5a85f74-0
|
The following SQL checks if the first polygon contains the second polygon\.
```
SELECT ST_Contains(ST_GeomFromText('POLYGON((0 2,1 1,0 -1,0 2))'), ST_GeomFromText('POLYGON((-1 3,2 1,0 -3,-1 3))'));
```
```
st_contains
-----------
false
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_Contains-function.md
|
5f161e6dca7d-0
|
Returns the position of a substring within a specified string\.
Synonym of [CHARINDEX Function](r_CHARINDEX.md) and [POSITION function](r_POSITION.md)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STRPOS.md
|
cf6208ba0bf6-0
|
```
STRPOS(string, substring )
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STRPOS.md
|
adf055b5a202-0
|
*string*
The first input parameter is the string to be searched\.
*substring*
The second parameter is the substring to search for within the *string*\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STRPOS.md
|
1ffe1bd4638a-0
|
The STRPOS function returns an integer corresponding to the position of the substring \(one\-based, not zero\-based\)\. The position is based on the number of characters, not bytes, so that multi\-byte characters are counted as single characters\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STRPOS.md
|
e6ca1956f84b-0
|
STRPOS returns 0 if the *substring* is not found within the *string*:
```
select strpos('dogfish', 'fist');
strpos
--------
0
(1 row)
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STRPOS.md
|
296cea2aa1e7-0
|
The following example shows the position of the string `fish` within the word `dogfish`:
```
select strpos('dogfish', 'fish');
strpos
--------
4
(1 row)
```
The following example returns the number of sales transactions with a COMMISSION over 999\.00 from the SALES table:
```
select distinct strpos(commission, '.'),
count (strpos(commission, '.'))
from sales
where strpos(commission, '.') > 4
group by strpos(commission, '.')
order by 1, 2;
strpos | count
--------+-------
5 | 629
(1 row)
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STRPOS.md
|
75c5f1927ca6-0
|
Captures the text of non\-SELECT SQL commands run on the database\.
Query the STL\_UTILITYTEXT view to capture the following subset of SQL statements that were run on the system:
+ ABORT, BEGIN, COMMIT, END, ROLLBACK
+ CALL
+ CANCEL
+ COMMENT
+ CREATE, ALTER, DROP DATABASE
+ CREATE, ALTER, DROP USER
+ EXPLAIN
+ GRANT, REVOKE
+ LOCK
+ RESET
+ SET
+ SHOW
+ TRUNCATE
See also [STL\_DDLTEXT](r_STL_DDLTEXT.md), [STL\_QUERYTEXT](r_STL_QUERYTEXT.md), and [SVL\_STATEMENTTEXT](r_SVL_STATEMENTTEXT.md)\.
Use the STARTTIME and ENDTIME columns to find out which statements were logged during a given time period\. Long blocks of SQL text are broken into lines 200 characters long; the SEQUENCE column identifies fragments of text that belong to a single statement\.
This view is visible to all users\. Superusers can see all rows; regular users can see only their own data\. For more information, see [Visibility of data in system tables and views](c_visibility-of-data.md)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_UTILITYTEXT.md
|
5d3d0ada02c4-0
|
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/redshift/latest/dg/r_STL_UTILITYTEXT.html)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_UTILITYTEXT.md
|
7e98138bcfce-0
|
The following query returns the text for "utility" commands that were run on January 26th, 2012\. In this case, some SET commands and a SHOW ALL command were run:
```
select starttime, sequence, rtrim(text)
from stl_utilitytext
where starttime like '2012-01-26%'
order by starttime, sequence;
starttime | sequence | rtrim
---------------------------+-----+----------------------------------
2012-01-26 13:05:52.529235 | 0 | show all;
2012-01-26 13:20:31.660255 | 0 | SET query_group to ''
2012-01-26 13:20:54.956131 | 0 | SET query_group to 'soldunsold.sql'
...
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_UTILITYTEXT.md
|
0530315a8dbb-0
|
To reconstruct the SQL stored in the `text` column of STL\_UTILITYTEXT, run a SELECT statement to create SQL from 1 or more parts in the `text` column\. Before running the reconstructed SQL, replace any \(`\n`\) special characters with a new line\. The result of the following SELECT statement is rows of reconstructed SQL in the `query_statement` field\.
```
SELECT LISTAGG(CASE WHEN LEN(RTRIM(text)) = 0 THEN text ELSE RTRIM(text) END) WITHIN GROUP (ORDER BY sequence) as query_statement
FROM stl_utilitytext GROUP BY xid order by xid;
```
For example, the following query sets the query\_group to a string of zeros\. The query itself is longer than 200 characters and is stored in parts in STL\_UTILITYTEXT\.
```
set query_group to '00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000';
```
In this example, the query is stored in 2 parts \(rows\) in the `text` column of STL\_UTILITYTEXT\.
```
select query, sequence, text
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_UTILITYTEXT.md
|
0530315a8dbb-1
|
```
select query, sequence, text
from stl_utilitytext where query=pg_last_query_id() order by query desc, sequence limit 10;
```
```
starttime | sequence | text
----------------------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_UTILITYTEXT.md
|
0530315a8dbb-2
|
2019-07-23 22:55:34.926198 | 0 | set query_group to '00000000000000000000000000000000000000000000000000000000000000000000000000000000\n0000000000000000000000000000000000000000000000000000000000000000000000000000000000
2019-07-23 22:55:34.926198 | 1 | 000000';
```
To reconstruct the SQL stored in STL\_UTILITYTEXT, run the following SQL\.
```
select LISTAGG(CASE WHEN LEN(RTRIM(text)) = 0 THEN text ELSE RTRIM(text) END, '') within group (order by sequence) AS query_statement
from stl_utilitytext where query=pg_last_query_id();
```
To use the resulting reconstructed SQL in your client, replace any \(`\n`\) special characters with a new line\.
```
query_statement
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_UTILITYTEXT.md
|
0530315a8dbb-3
|
```
query_statement
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
set query_group to '00000000000000000000000000000000000000000000000000000000000000000000000000000000\n0000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000';
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_UTILITYTEXT.md
|
cef95b2139e1-0
|
Records an alert when the query optimizer identifies conditions that might indicate performance issues\. Use the STL\_ALERT\_EVENT\_LOG view to identify opportunities to improve query performance\.
A query consists of multiple segments, and each segment consists of one or more steps\. For more information, see [Query processing](c-query-processing.md)\.
STL\_ALERT\_EVENT\_LOG is visible to all users\. Superusers can see all rows; regular users can see only their own data\. For more information, see [Visibility of data in system tables and views](c_visibility-of-data.md)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_ALERT_EVENT_LOG.md
|
0f67c74c2680-0
|
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/redshift/latest/dg/r_STL_ALERT_EVENT_LOG.html)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_ALERT_EVENT_LOG.md
|
eb8c9a2f4dd0-0
|
You can use the STL\_ALERT\_EVENT\_LOG to identify potential issues in your queries, then follow the practices in [Tuning query performance](c-optimizing-query-performance.md) to optimize your database design and rewrite your queries\. STL\_ALERT\_EVENT\_LOG records the following alerts:
+ **Missing statistics**
Statistics are missing\. Run ANALYZE following data loads or significant updates and use STATUPDATE with COPY operations\. For more information, see [Amazon Redshift best practices for designing queries](c_designing-queries-best-practices.md)\.
+ **Nested loop **
A nested loop is usually a Cartesian product\. Evaluate your query to ensure that all participating tables are joined efficiently\.
+ **Very selective filter**
The ratio of rows returned to rows scanned is less than 0\.05\. Rows scanned is the value of `rows_pre_user_filter `and rows returned is the value of rows in the [STL\_SCAN](r_STL_SCAN.md) system view\. Indicates that the query is scanning an unusually large number of rows to determine the result set\. This can be caused by missing or incorrect sort keys\. For more information, see [Choosing sort keys](t_Sorting_data.md)\.
+ **Excessive ghost rows **
A scan skipped a relatively large number of rows that are marked as deleted but not vacuumed, or rows that have been inserted but not committed\. For more information, see [Vacuuming tables](t_Reclaiming_storage_space202.md)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_ALERT_EVENT_LOG.md
|
eb8c9a2f4dd0-1
|
+ **Large distribution **
More than 1,000,000 rows were redistributed for hash join or aggregation\. For more information, see [Choosing a data distribution style](t_Distributing_data.md)\.
+ **Large broadcast **
More than 1,000,000 rows were broadcast for hash join\. For more information, see [Choosing a data distribution style](t_Distributing_data.md)\.
+ **Serial execution **
A DS\_DIST\_ALL\_INNER redistribution style was indicated in the query plan, which forces serial execution because the entire inner table was redistributed to a single node\. For more information, see [Choosing a data distribution style](t_Distributing_data.md)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_ALERT_EVENT_LOG.md
|
0eb964e1bf31-0
|
The following query shows alert events for four queries\.
```
SELECT query, substring(event,0,25) as event,
substring(solution,0,25) as solution,
trim(event_time) as event_time from stl_alert_event_log order by query;
query | event | solution | event_time
-------+-------------------------------+------------------------------+---------------------
6567 | Missing query planner statist | Run the ANALYZE command | 2014-01-03 18:20:58
7450 | Scanned a large number of del | Run the VACUUM command to rec| 2014-01-03 21:19:31
8406 | Nested Loop Join in the query | Review the join predicates to| 2014-01-04 00:34:22
29512 | Very selective query filter:r | Review the choice of sort key| 2014-01-06 22:00:00
(4 rows)
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_STL_ALERT_EVENT_LOG.md
|
3b77dabc8127-0
|
PERCENTILE\_CONT is an inverse distribution function that assumes a continuous distribution model\. It takes a percentile value and a sort specification, and returns an interpolated value that would fall into the given percentile value with respect to the sort specification\.
PERCENTILE\_CONT computes a linear interpolation between values after ordering them\. Using the percentile value `(P)` and the number of not null rows `(N)` in the aggregation group, the function computes the row number after ordering the rows according to the sort specification\. This row number `(RN)` is computed according to the formula `RN = (1+ (P*(N-1))`\. The final result of the aggregate function is computed by linear interpolation between the values from rows at row numbers `CRN = CEILING(RN)` and `FRN = FLOOR(RN)`\.
The final result will be as follows\.
If `(CRN = FRN = RN)` then the result is `(value of expression from row at RN)`
Otherwise the result is as follows:
`(CRN - RN) * (value of expression for row at FRN) + (RN - FRN) * (value of expression for row at CRN)`\.
PERCENTILE\_CONT is a compute\-node only function\. The function returns an error if the query doesn't reference a user\-defined table or Amazon Redshift system table\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_PERCENTILE_CONT.md
|
6750e107b3cd-0
|
```
PERCENTILE_CONT ( percentile )
WITHIN GROUP (ORDER BY expr)
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_PERCENTILE_CONT.md
|
dabd39562eaa-0
|
*percentile*
Numeric constant between 0 and 1\. Nulls are ignored in the calculation\.
WITHIN GROUP \( ORDER BY *expr*\)
Specifies numeric or date/time values to sort and compute the percentile over\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_PERCENTILE_CONT.md
|
303fbbeaccd0-0
|
The return type is determined by the data type of the ORDER BY expression in the WITHIN GROUP clause\. The following table shows the return type for each ORDER BY expression data type\.
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/redshift/latest/dg/r_PERCENTILE_CONT.html)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_PERCENTILE_CONT.md
|
9cf14acbe0d6-0
|
If the ORDER BY expression is a DECIMAL data type defined with the maximum precision of 38 digits, it is possible that PERCENTILE\_CONT will return either an inaccurate result or an error\. If the return value of the PERCENTILE\_CONT function exceeds 38 digits, the result is truncated to fit, which causes a loss of precision\.\. If, during interpolation, an intermediate result exceeds the maximum precision, a numeric overflow occurs and the function returns an error\. To avoid these conditions, we recommend either using a data type with lower precision or casting the ORDER BY expression to a lower precision\.
If a statement includes multiple calls to sort\-based aggregate functions \(LISTAGG, PERCENTILE\_CONT, or MEDIAN\), they must all use the same ORDER BY values\. Note that MEDIAN applies an implicit order by on the expression value\.
For example, the following statement returns an error\.
```
select top 10 salesid, sum(pricepaid),
percentile_cont(0.6) within group (order by salesid),
median (pricepaid)
from sales group by salesid, pricepaid;
An error occurred when executing the SQL command:
select top 10 salesid, sum(pricepaid),
percentile_cont(0.6) within group (order by salesid),
median (pricepaid)
from sales group by salesid, pricepai...
ERROR: within group ORDER BY clauses for aggregate functions must be the same
```
The following statement executes successfully\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_PERCENTILE_CONT.md
|
9cf14acbe0d6-1
|
ERROR: within group ORDER BY clauses for aggregate functions must be the same
```
The following statement executes successfully\.
```
select top 10 salesid, sum(pricepaid),
percentile_cont(0.6) within group (order by salesid),
median (salesid)
from sales group by salesid, pricepaid;
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_PERCENTILE_CONT.md
|
3569d312d288-0
|
The following example shows that MEDIAN produces the same results as PERCENTILE\_CONT\(0\.5\)\.
```
select top 10 distinct sellerid, qtysold,
percentile_cont(0.5) within group (order by qtysold),
median (qtysold)
from sales
group by sellerid, qtysold;
sellerid | qtysold | percentile_cont | median
---------+---------+-----------------+-------
1 | 1 | 1.0 | 1.0
2 | 3 | 3.0 | 3.0
5 | 2 | 2.0 | 2.0
9 | 4 | 4.0 | 4.0
12 | 1 | 1.0 | 1.0
16 | 1 | 1.0 | 1.0
19 | 2 | 2.0 | 2.0
19 | 3 | 3.0 | 3.0
22 | 2 | 2.0 | 2.0
25 | 2 | 2.0 | 2.0
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_PERCENTILE_CONT.md
|
a21d3555dc2c-0
|
Some Amazon Redshift queries must execute only on the compute nodes\. If a query references a user\-created table, the SQL runs on the compute nodes\.
A query that references only catalog tables \(tables with a PG prefix, such as PG\_TABLE\_DEF\) or that does not reference any tables, runs exclusively on the leader node\.
If a query that uses a compute\-node function doesn't reference a user\-defined table or Amazon Redshift system table returns the following error\.
```
[Amazon](500310) Invalid operation: One or more of the used functions must be applied on at least one user created table.
```
The documentation for each compute\-node only function includes a note stating that the function will return an error if the query doesn't references a user\-defined table or Amazon Redshift system table\.
The following SQL functions are compute\-node only functions:
+ LISTAGG
+ MEDIAN
+ PERCENTILE\_CONT
+ PERCENTILE\_DISC and APPROXIMATE PERCENTILE\_DISC
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/c_SQL_functions_compute_node_only.md
|
580726efab57-0
|
You can retrieve data about Amazon Redshift database users with the SVL\_USER\_INFO view\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_SVL_USER_INFO.md
|
5e91a560a903-0
|
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/redshift/latest/dg/r_SVL_USER_INFO.html)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_SVL_USER_INFO.md
|
aa84ace28379-0
|
The following command retrieves user information from SVL\_USER\_INFO\.
```
SELECT * FROM SVL_USER_INFO;
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_SVL_USER_INFO.md
|
5d89edfb3b1e-0
|
**To perform a merge operation by specifying a column list**
1. Put the entire operation in a single transaction block so that if there is a problem, everything will be rolled back\.
```
begin transaction;
…
end transaction;
```
1. Create a staging table, and then populate it with data to be merged, as shown in the following pseudocode\.
```
create temp table stage (like target);
insert into stage
select * from source
where source.filter = 'filter_expression';
```
1. Update the target table by using an inner join with the staging table\.
+ In the UPDATE clause, explicitly list the columns to be updated\.
+ Perform an inner join with the staging table\.
+ If the distribution key is different from the primary key and the distribution key is not being updated, add a redundant join on the distribution key\. To verify that the query will use a collocated join, run the query with [EXPLAIN](r_EXPLAIN.md) and check for DS\_DIST\_NONE on all of the joins\. For more information, see [Evaluating the query plan](c_data_redistribution.md)
+ If your target table is sorted by time stamp, add a predicate to take advantage of range\-restricted scans on the target table\. For more information, see [Amazon Redshift best practices for designing queries](c_designing-queries-best-practices.md)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/merge-specify-a-column-list.md
|
5d89edfb3b1e-1
|
+ If you will not use all of the rows in the merge, add a clause to filter the rows that need to be changed\. For example, add an inequality filter on one or more columns to exclude rows that have not changed\.
+ Put the update, delete, and insert operations in a single transaction block so that if there is a problem, everything will be rolled back\.
For example:
```
begin transaction;
update target
set col1 = stage.col1,
col2 = stage.col2,
col3 = 'expression'
from stage
where target.primarykey = stage.primarykey
and target.distkey = stage.distkey
and target.col3 > 'last_update_time'
and (target.col1 != stage.col1
or target.col2 != stage.col2
or target.col3 = 'filter_expression');
```
1. Delete unneeded rows from the staging table by using an inner join with the target table\. Some rows in the target table already match the corresponding rows in the staging table, and others were updated in the previous step\. In either case, they are not needed for the insert\.
```
delete from stage
using target
where stage.primarykey = target.primarykey;
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/merge-specify-a-column-list.md
|
5d89edfb3b1e-2
|
delete from stage
using target
where stage.primarykey = target.primarykey;
```
1. Insert the remaining rows from the staging table\. Use the same column list in the VALUES clause that you used in the UPDATE statement in step two\.
```
insert into target
(select col1, col2, 'expression'
from stage);
end transaction;
```
1. Drop the staging table\.
```
drop table stage;
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/merge-specify-a-column-list.md
|
494c976c5352-0
|
Determines the ordinal number of the current row within a group of rows, counting from 1, based on the ORDER BY expression in the OVER clause\. If the optional PARTITION BY clause is present, the ordinal numbers are reset for each group of rows\. Rows with equal values for the ORDER BY expressions receive the different row numbers nondeterministically\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_WF_ROW_NUMBER.md
|
68c92aa10b3d-0
|
```
ROW_NUMBER () OVER
(
[ PARTITION BY expr_list ]
[ ORDER BY order_list ]
)
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_WF_ROW_NUMBER.md
|
9dc165e94607-0
|
\( \)
The function takes no arguments, but the empty parentheses are required\.
OVER
The window clauses for the ROW\_NUMBER function\.
PARTITION BY *expr\_list*
Optional\. One or more expressions that define the ROW\_NUMBER function\.
ORDER BY *order\_list*
Optional\. The expression that defines the columns on which the row numbers are based\. If no PARTITION BY is specified, ORDER BY uses the entire table\.
If ORDER BY does not produce a unique ordering or is omitted, the order of the rows is nondeterministic\. For more information, see [Unique ordering of data for window functions](r_Examples_order_by_WF.md)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_WF_ROW_NUMBER.md
|
cedb4879d6eb-0
|
BIGINT
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_WF_ROW_NUMBER.md
|
28cd95a70af2-0
|
The following example partitions the table by SELLERID and orders each partition by QTY \(in ascending order\), then assigns a row number to each row\. The results are sorted after the window function results are applied\.
```
select salesid, sellerid, qty,
row_number() over
(partition by sellerid
order by qty asc) as row
from winsales
order by 2,4;
salesid | sellerid | qty | row
---------+----------+-----+-----
10006 | 1 | 10 | 1
10001 | 1 | 10 | 2
10005 | 1 | 30 | 3
20001 | 2 | 20 | 1
20002 | 2 | 20 | 2
30001 | 3 | 10 | 1
30003 | 3 | 15 | 2
30004 | 3 | 20 | 3
30007 | 3 | 30 | 4
40005 | 4 | 10 | 1
40001 | 4 | 40 | 2
(11 rows)
```
For a description of the WINSALES table, see [Overview example for window functions](c_Window_functions.md#r_Window_function_example)\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_WF_ROW_NUMBER.md
|
9526d74c218d-0
|
ST\_GeomFromEWKB constructs a geometry object from the extended well\-known binary \(EWKB\) representation of an input geometry\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_GeomFromEWKB-function.md
|
5ff8e2d5033a-0
|
```
ST_GeomFromEWKB(ewkb_string)
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_GeomFromEWKB-function.md
|
882ad2630731-0
|
*ewkb\_string*
A value of data type `VARCHAR` that is a hexadecimal EWKB representation of a geometry\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_GeomFromEWKB-function.md
|
682446a4aa75-0
|
`GEOMETRY`
If *ewkb\_string* is null, then null is returned\.
If *ewkb\_string* is not valid, then an error is returned\.
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_GeomFromEWKB-function.md
|
dcd1f3a49741-0
|
The following SQL constructs a polygon from an EWKB value and returns the EWKT representation of a polygon\.
```
SELECT ST_AsEWKT(ST_GeomFromEWKB('0103000020E61000000100000005000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000000000000000000000000000000000000000'));
```
```
st_asewkt
--------------------------------
SRID=4326;POLYGON((0 0,0 1,1 1,1 0,0 0))
```
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/ST_GeomFromEWKB-function.md
|
96e603f0ba3c-0
|
To get execution steps and statistics in more detail than in the query plan that [EXPLAIN](r_EXPLAIN.md) produces, use the [SVL\_QUERY\_SUMMARY](r_SVL_QUERY_SUMMARY.md) and [SVL\_QUERY\_REPORT](r_SVL_QUERY_REPORT.md) system views\.
SVL\_QUERY\_SUMMARY provides query statistics by stream\. You can use the information it provides to identify issues with expensive steps, long\-running steps, and steps that write to disk\.
The SVL\_QUERY\_REPORT system view enables you to see information similar to that for SVL\_QUERY\_SUMMARY, only by compute node slice rather than by stream\. You can use the slice\-level information for detecting uneven data distribution across the cluster \(also known as data distribution skew\), which forces some nodes to do more work than others and impairs query performance\.
**Topics**
+ [Using the SVL\_QUERY\_SUMMARY view](using-SVL-Query-Summary.md)
+ [Using the SVL\_QUERY\_REPORT view](using-SVL-Query-Report.md)
+ [Mapping the query plan to the query summary](query-plan-summary-map.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/c-analyzing-the-query-summary.md
|
3833fc83a709-0
|
Loads data into a table from data files or from an Amazon DynamoDB table\. The files can be located in an Amazon Simple Storage Service \(Amazon S3\) bucket, an Amazon EMR cluster, or a remote host that is accessed using a Secure Shell \(SSH\) connection\.
**Note**
Amazon Redshift Spectrum external tables are read\-only\. You can't COPY to an external table\.
The COPY command appends the new input data to any existing rows in the table\.
The maximum size of a single input row from any source is 4 MB\.
**Note**
To use the COPY command, you must have [INSERT](r_GRANT.md#grant-insert) privilege for the Amazon Redshift table\.
**Topics**
+ [COPY syntax](#r_COPY-syntax)
+ [COPY syntax overview](#r_COPY-syntax-overview)
+ [COPY parameter reference](r_COPY-parameters.md)
+ [Usage notes](r_COPY_usage_notes.md)
+ [COPY examples](r_COPY_command_examples.md)
|
https://github.com/siagholami/aws-documentation/tree/main/documents/amazon-redshift-developer-guide/doc_source/r_COPY.md
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.