Forum Discussion
mpolonskiy5637
2 years agoFrequent Visitor
Lake Database vs SQL Database in Synapse
I am trying to understand synapse concepts: When talking about SQL Serverless Pools Managed Tables are not possible, so we have Unamanged or External Tables and Views. It seems now that I can cr...
Anonymous
2 years agoNot applicable
Hi mpolonskiy5637 ,
Thanks for using Fabric Community.
Managed vs. External Tables/Views in Serverless SQL Pools:
- Managed Tables:
These reside within a dedicated SQL pool, with data physically stored in the dedicated pool's storage. - External Tables/Views:
Serverless SQL pools work with your existing data in Azure Data Lake Gen2. You create external tables that point to the data location in the Data Lake. Views offer another layer of abstraction on top of the data, allowing for custom logic or filtering.
Lake vs. SQL Database in Serverless SQL Pools:
While both are logical constructs, there are key differences:
- Lake Database:
This is specifically designed for working with data in its native format within the Data Lake (Parquet, CSV, etc.). It provides a familiar T-SQL syntax for querying the data directly without movement. Use this when you prioritize flexibility and working with various data formats natively. - SQL Database:
This offers a more traditional relational database structure. While the data physically resides in the Data Lake, the SQL Database provides a schema definition and enforces data types. Use this when you need a structured environment with defined relationships between tables and data integrity checks.
Choosing Between Lake and SQL Database:
- Flexibility vs. Structure:
If you need maximum flexibility and want to query various data formats directly, choose a Lake Database. If you require a structured environment with schema and data type enforcement, opt for the SQL Database.
Hope this is helpful. Please let me know incase of further queries.
Anonymous
2 years agoNot applicable
Hi mpolonskiy5637 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .
- Anonymous2 years agoNot applicable
Hi mpolonskiy5637 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .