Skip to content

Commit d9b5df7

Browse files
20201208 polybase 3part name performance caveat
1 parent 93b8ddf commit d9b5df7

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docs/t-sql/statements/create-external-table-transact-sql.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ column_name <data_type>
9797
*{ database_name.schema_name.table_name | schema_name.table_name | table_name }*
9898
The one to three-part name of the table to create. For an external table, SQL stores only the table metadata along with basic statistics about the file or folder that is referenced in Hadoop or Azure blob storage. No actual data is moved or stored in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
9999

100+
> [!IMPORTANT]
101+
> For best performance, if the external data source driver supports a three-part name, it is strongly recommended to provide the three-part name.
102+
100103
\<column_definition> [ ,...*n* ]
101104
CREATE EXTERNAL TABLE supports the ability to configure column name, data type, nullability and collation. You can't use the DEFAULT CONSTRAINT on external tables.
102105

@@ -620,7 +623,6 @@ WITH
620623

621624
In Azure SQL Database, creates an external table for [elastic queries (in preview)](/azure/sql-database/sql-database-elastic-query-overview/).
622625

623-
624626
See also [CREATE EXTERNAL DATA SOURCE](../../t-sql/statements/create-external-data-source-transact-sql.md).
625627

626628
## Syntax
@@ -651,6 +653,9 @@ column_name <data_type>
651653
*{ database_name.schema_name.table_name | schema_name.table_name | table_name }*
652654
The one to three-part name of the table to create. For an external table, SQL stores only the table metadata along with basic statistics about the file or folder that is referenced in Azure SQL Database. No actual data is moved or stored in Azure SQL Database.
653655

656+
> [!IMPORTANT]
657+
> For best performance, if the external data source driver supports a three-part name, it is strongly recommended to provide the three-part name.
658+
654659
\<column_definition> [ ,...*n* ]
655660
CREATE EXTERNAL TABLE supports the ability to configure column name, data type, nullability and collation. You can't use the DEFAULT CONSTRAINT on external tables.
656661

@@ -825,6 +830,9 @@ column_name <data_type>
825830
*{ database_name.schema_name.table_name | schema_name.table_name | table_name }*
826831
The one to three-part name of the table to create. For an external table, only the table metadata along with basic statistics about the file or folder that is referenced in Azure Data Lake, Hadoop, or Azure blob storage. No actual data is moved or stored when external tables are created.
827832

833+
> [!IMPORTANT]
834+
> For best performance, if the external data source driver supports a three-part name, it is strongly recommended to provide the three-part name.
835+
828836
\<column_definition> [ ,...*n* ]
829837
CREATE EXTERNAL TABLE supports the ability to configure column name, data type, nullability and collation. You can't use the DEFAULT CONSTRAINT on external tables.
830838
@@ -1089,6 +1097,9 @@ column_name <data_type>
10891097
*{ database_name.schema_name.table_name | schema_name.table_name | table_name }*
10901098
The one to three-part name of the table to create. For an external table, Analytics Platform System stores only the table metadata along with basic statistics about the file or folder that is referenced in Hadoop or Azure blob storage. No actual data is moved or stored in Analytics Platform System.
10911099
1100+
> [!IMPORTANT]
1101+
> For best performance, if the external data source driver supports a three-part name, it is strongly recommended to provide the three-part name.
1102+
10921103
\<column_definition> [ ,...*n* ]
10931104
CREATE EXTERNAL TABLE supports the ability to configure column name, data type, nullability and collation. You can't use the DEFAULT CONSTRAINT on external tables.
10941105

0 commit comments

Comments
 (0)