Microsoft Fabric SQL Database my first experience

Microsoft Fabric SQL Database my first experience

Data Factory

by Erwin | Nov 26, 2024

Microsoft Announces Public Preview of SQL Database in Microsoft Fabric

Microsoft has announced the Public Preview of the SQL database in Microsoft Fabric, a significant step towards simplifying and accelerating AI app development. This new service is designed to be simple, autonomous, secure, and optimized for AI, making it easier for developers to build AI applications. Today i had a quick look and was very impressed.

Key Highlights:

  • Simplicity: The SQL database in Fabric is designed to be user-friendly, reducing the complexity typically associated with database management.
  • Autonomy: It offers autonomous features that handle routine tasks, allowing developers to focus more on innovation.
  • Security: Enhanced security measures ensure that data is protected, meeting the highest standards.
  • AI Optimization: The service is optimized for AI, providing the necessary tools and infrastructure to support AI-driven applications.

Benefits:

  • Faster Development: Developers can build AI apps up to 71% faster and more effectively.
  • Unified Platform: Fabric evolves from an analytics platform to a comprehensive data platform, integrating operational databases seamlessly.

Hands-On Experience:

Today, I took the opportunity to get some hands-on experience with this new database in my environment. Setting up the database was incredibly easy and took less than a minute. Here’s a quick guide to get you started:

SQL_Fabric_Item

  1. Click on "New Item".
  2. Select "SQL Database" and define a name (I always start with SQL_).
  3. After 60 seconds, your database is ready to use.

To connect to the database, if you are using tools like SSMS, make sure to add the database name to the connection pane to avoid errors related to the master database.

SQL_FABRIC_SSMS

Once connected, you can perform your day-to-day SQL server tasks with ease. Additionally, you can use the database as a source or sink in Data Flows and Pipelines with copy activity and stored procedures activities in Microsoft Fabric or start building an API on top of your data.

I deployed my database project file from Azure Data Studio to the newly created database and that took only like 5 seconds. Next is to copy the data over. I tried to restore a dacpac or bacpac file, but did not succeed yet so far. After that, I connected my database to Git and you know what, all my objects from the database are in there. Awesome!"

For more details, including demo videos and customer testimonials, check out the full blog post here.

Conclusion:

The Public Preview of the SQL database in Microsoft Fabric is a game-changer for developers looking to build AI applications. Its simplicity, autonomy, security, and AI optimization make it an invaluable tool for accelerating development and enhancing productivity. As Microsoft continues to innovate and expand its offerings, the SQL database in Fabric stands out as a testament to the company's commitment to providing cutting-edge solutions for the modern developer. I'm definitely going to use this new database for my Meta Data driven Framework, no Azure SQL Deployment, network setup, Private endpoint setup anymore, just start and connect.

SQL database in Fabric will be free until January 1, 2025, after which compute and data storage charges will begin, with backup billing starting on February 1, 2025.

Next

Microsoft Learn: Implement operational databases in Microsoft Fabric

Azure SQL - YouTube

Get Started

This is a live learning session where you can ask questions and learn all of the basics of SQL database and Microsoft Fabric in one course, register here.

Learn Together: SQL database in Fabric

 

 

Feel free to leave a comment

New Features in Fabric Data Factory Import/Export

New Features in Fabric Data Factory Import/Export

New Features in Microsoft Fabric Data Factory: Import, Export, and Use Templates in Data Pipelines

The latest enhancements in Fabric Data Factory that will significantly streamline your data integration processes. The new features—Import, Export, and Use Templates—are now available, making it easier than ever to manage and automate your data pipelines.

Fabric Import/Export labels

Import Data Pipelines

The Import feature allows you to bring in existing data pipelines from other workspaces or projects. This is particularly useful for teams that need to replicate successful data workflows across different departments or for those migrating from other data integration tools. With a few clicks, you can import your pipelines, ensuring consistency and saving valuable time.

How to Import a Data Pipeline:

  1. Navigate to the Data Pipelines section in Data Factory.
  2. Click on the “Import” button.
  3. Select the file or source from which you want to import the pipeline.
  4. Follow the prompts to complete the import process.

Export Data Pipelines

Exporting your data pipelines is now a breeze. This feature enables you to back up your pipelines, share them with colleagues, or move them to different workspaces. Exporting ensures that your data integration processes are portable and can be easily restored or replicated.

How to Export a Data Pipeline:

  1. Go to the Data Pipelines section.
  2. Select the pipeline you wish to export.
  3. Click on the “Export” button.fabric-export
  4. Complete the export process by following the on-screen instructions.
  5. Sensitivity labels will be removed
  6. Your Pipeline will be saved as .zip file in your default download folder.

Fabric Import/Export pipeline

 

Use Templates

Templates are a powerful addition to Data Factory, allowing you to standardize and accelerate the creation of data pipelines. Whether you are setting up a new ETL/ELT process or automating data transfers, templates provide a starting point that can be customized to meet your specific needs.

How to Use Templates:

  1. In the Data Pipelines section, click on the “Templates” button.
  2. Browse through the available templates or search for a specific one.
  3. Select a template and click “Use Template.”
  4. Configure the required inputs
  5. Click on Use this Template, the required activities will now be deployed to your pipeline.

More on templates can be found here.

NOTE:

Import Data Pipelines from Azure Data Factory or Synapse Workspace is not supported. Migration steps will follow later.

The main difference between Microsoft Fabric and ADF or Synapse is, that we use in Fabric connections and ADF/Synapse datasets and Linked services

fabric-import-adf-synapse

Conclusion

The new Import, Export, and Use Templates features in Data Factory are designed to enhance your productivity and ensure seamless data integration. By leveraging these tools, you can simplify your workflows, maintain consistency across projects, and accelerate the configuration of data pipelines.

 

Feel free to leave a comment

High Concurrency for Notebooks in Pipelines with Microsoft Fabric

High Concurrency for Notebooks in Pipelines with Microsoft Fabric

Data Factory

by Erwin | Oct 13, 2024

How to Use and Enable High Concurrency for Notebooks in Pipelines with Microsoft Fabric

High Concurrency Mode for Notebooks in Pipelines is a game-changer for data engineers and data scientists using Microsoft Fabric. This feature allows multiple notebooks to share a single Spark session, significantly improving performance and reducing costs. One of the other advanced is as well that Microsoft Fabric is not running to all the capacity limits due to the fact that every Notebook was starting a new session. In one of my other blogpost I explained how you could solve this with notebookutils.notebook.runMultiple.

Here’s how you can enable and use this feature effectively.

Why Use High Concurrency Mode?

High Concurrency Mode offers several benefits:

  • Faster Session Start: Notebooks can attach to pre-warmed Spark sessions, reducing startup time to around 5 seconds.
  • Cost Savings: By sharing a single Spark session across multiple notebooks, you only pay for one session, which can lead to significant cost reductions.
  • Improved Efficiency: This mode optimizes pipeline execution, making it faster and more efficient.

Enabling High Concurrency Mode

To enable High Concurrency Mode in your Fabric workspace, follow these steps:

  1. Access Workspace Settings:
    • Go to your Fabric workspace and select the Workspace Settings option.
  2. Navigate to High Concurrency Settings:
    • In the settings menu, go to the Data Engineering and Science section.
    • Select Spark Compute and then High Concurrency.
  3. Enable High Concurrency:
    • In the High Concurrency section, enable the option For pipeline running multiple notebooks.
    • Save your changes.

Enable High Concurrency in Workspace Enable High Concurrency in WorkspaceOnce enabled, all notebook sessions triggered by pipelines will be packed into high concurrency sessions automatically.

Using High Concurrency Mode

After enabling High Concurrency Mode, you can start using it in your pipelines:

  1. Create a Pipeline:
    • Open your Fabric workspace and create a new pipeline item from the Create menu.
  2. Add Notebook Activities:
    • Navigate to the Activities tab and add a Notebook activity to your pipeline.
    • Create Pipeline with Notebook Activity Create Pipeline with Notebook Activity
    • Configure Session Tags:
      • In the advanced settings of the notebook activity, specify a session tag. This tag helps group notebooks into shared sessions based on matching criteria.
    • Enable session tag on Notebook Enable session tag on Notebook

Session Tags

When you define a Session Tag, the Notebook will use shared sessions. These sessions tags can be used across pipelines but not across workspaces, a new session will be created even if you use the same session tag. Just see a sort of grouping. You define  a session on your own or create add dynamic content. But be aware Session tag can only contain letters, numbers, and underscores.

Monitoring

In the monitoring you will now see all the executed Notebooks one by one, while this was not the case notebookutils.notebook.runMultiple(DAG), you only saw the Main Notebook. This is a great step forwards while building monitoring solutions.

Below an overview in the Monitor before the session started:

Notebook Execution before session started Notebook Execution before session startedBelow an overview in the Monitor when the session started

Notebook Execution when session started Notebook Execution when session startedOverview of all the executed Notebooks

Notebook Execution when session was finished Notebook Execution when session was finishedThe Notebook name is extended with the Livy id.

Remark: It looks like that currently the Snapshots from the Notebooks are incorrect because every Notebook execution is showing the Snapshots(from the first Notebook), so debugging from the Monitor is not yet possible. I've already created a note to the PM team.

RunMultiple

With the notebookutils.notebook.runMultiple(DAG) you have some more options.

  • Define any dependency or order among them.
  • Define timeouts per Cell
  • Run multiple notebooks in a DAG, where each notebook can depend on the output of one or more previous notebooks.

Conclusion

High Concurrency Mode for Notebooks in Pipelines with Microsoft Fabric is a powerful feature that enhances performance, reduces costs, and improves efficiency. By following the steps outlined above, you can easily enable and start using this feature to optimize your data engineering and data science workflows. Personally I'm very happy with these new functionality, you can define easier outputs for every notebook for logging purposes.

More detailed can be found on the official Fabric Blogpost

 

Feel free to leave a comment

My Reflections on the first European Microsoft Fabric Community Conference

My Reflections on the first European Microsoft Fabric Community Conference

Data Factory

by Erwin | Sep 29, 2024

#FabConEurope: A New Era for Microsoft Fabric in Stockholm

The inaugural #FabConEurope held in Stockholm from September 24-27, 2024, marked a significant milestone for the Microsoft Fabric community. This event brought together enthusiasts, experts, and innovators to explore the latest advancements in data, analytics, and AI. With over 130 sessions, 4 keynotes, and 10 workshops, attendees were immersed in a wealth of knowledge and networking opportunities.

Key Announcements and Highlights

One of the most surprising and exciting announcements at FabConEruope was the introduction of mirroring an Azure Databricks Unity Catalog within Microsoft Fabric. This feature allows users to seamlessly integrate Databricks’ popular governance solution for data and AI, reducing friction around data governance processes and enhancing security. This integration is a game-changer for organizations looking to streamline their data operations and governance.

The conference also saw the launch of the new Terraform Provider for Microsoft Fabric in public preview. This provider empowers users to automate and streamline their deployment and management processes in a declarative manner, enhancing governance and compliance.

Service principal support for Fabric APIs was also introduced, allowing for more secure and automated access to Fabric applications. This feature is a significant step forward in enhancing security and streamlining processes

In addition, the general availability of Fast Copy in Dataflows Gen2 was announced. This feature enables rapid and efficient ingestion of large data volumes, significantly reducing data processing times and improving cost efficiency.

Microsoft Purview also made headlines with its focus on responsible data activation in the era of AI. The new features aim to provide a business-friendly experience with AI-powered efficiencies, ensuring robust data governance and security. Great to receive an awesome shout out by the Purview team for all the work we did. Governance is so important in the world of AI.

The public preview of the Copy Job in Microsoft Fabric was announced, simplifying the data ingestion process from any source to any destination.This feature makes copying data easier and more efficient.

Exciting enhancements were also revealed for Fabric Data Factory Pipelines, including new activities like Invoke Remote Pipeline and support for Fabric User Data Functions.These enhancements aim to make data workflows more robust and flexible. This new functionality makes it even easier to build Meta Data Driven Frameworks.

Lastly, the introduction of high concurrency mode for notebooks in pipelines for Fabric Spark was a notable highlight.This feature allows for session sharing, improving performance and cost efficiency without compromising security.

Another notable announcement was the private preview of the Microsoft Fabric Capacity Calculator. This innovative tool is designed to provide precise capacity estimations tailored to individual business needs, helping organizations optimize their data operations.

The Native Execution Engine for Fabric Spark was another highlight, offering a groundbreaking enhancement for Apache Spark job executions.This vectorized engine optimizes performance and efficiency by running Spark queries directly on lakehouse infrastructure. On the last day of the conference I shared the stage with Estera and her team to show the attendees the testing results we have been gathering during the private preview. FabConEurope Nataive Execution

Personal Highlights

In the afternoon, I hosted my own session Microsoft Fabric: Building a Data Ingestion and Processing framework to Drive Efficiency in a packed room. Thank you all for attending, engaging, and asking questions. As promised, you can find the session code on my GitHub.

 

All released Blog post during the conference

I've made a collection of all the blogpost which have been released during the Conference, just to summarize:

Data Factory

Transform, Validate and Enrich Data with Python User Data Functions in Your Data Pipelines | Microsoft Fabric Blog | Microsoft Fabric

Announcing the General Availability of Fabric Data Pipeline Support in the On-Premises Data Gateway | Microsoft Fabric Blog | Microsoft Fabric

Introducing High Concurrency Mode for Notebooks in Pipelines for Fabric Spark | Microsoft Fabric Blog | Microsoft Fabric

Announcing Public Preview: Incremental Refresh in Dataflow Gen2 | Microsoft Fabric Blog | Microsoft Fabric

Integrate your SAP data into Microsoft Fabric | Microsoft Fabric Blog | Microsoft Fabric

Announcing the General Availability of Copilot for Data Factory in Microsoft Fabric | Microsoft Fabric Blog | Microsoft Fabric

Real Time Intelligence

Set alerts on KQL Querysets with Data Activator triggers | Microsoft Fabric Blog | Microsoft Fabric

Unlock faster insights with the new support for Copilot conversations in Real-Time Intelligence (Public Preview) | Microsoft Fabric Blog | Microsoft Fabric

Warehouse

Announcing improved JSON support in Fabric DW | Microsoft Fabric Blog | Microsoft Fabric

Working with large data types in Fabric Warehouse | Microsoft Fabric Blog | Microsoft Fabric

Copilot for Data Warehouse: Public Preview Update | Microsoft Fabric Blog | Microsoft Fabric

New editor improvements for Fabric Data Warehouse and SQL Analytics Endpoint | Microsoft Fabric Blog | Microsoft Fabric

Announcing Public Preview of T-SQL Notebook in Fabric | Microsoft Fabric Blog | Microsoft Fabric

Data Science

Using Microsoft Fabric for Generative AI: A Guide to Building and Improving RAG Systems | Microsoft Fabric Blog | Microsoft Fabric

Harness Microsoft Fabric AI Skill to Unlock Context-Rich Insights from Your Data | Microsoft Fabric Blog | Microsoft Fabric

Data Activator

Announcing Updates to Data Activator in Public Preview | Microsoft Fabric Blog | Microsoft Fabric

Data Engineering

Organizing your tables with lakehouse schemas and more (Public Preview) | Microsoft Fabric Blog | Microsoft Fabric

Announcing the Fabric Apache Spark Diagnostic Emitter: Collect Logs and Metrics | Microsoft Fabric Blog | Microsoft Fabric

OneLake

Google Cloud Storage shortcuts and S3 Compatible shortcuts generally available | Microsoft Fabric Blog | Microsoft Fabric

Announcing the General Availability of Mirroring for Snowflake in Microsoft Fabric | Microsoft Fabric Blog | Microsoft Fabric

Tag your data to enrich item curation and discovery | Microsoft Fabric Blog | Microsoft Fabric

Set alerts on KQL Querysets with Data Activator triggers | Microsoft Fabric Blog | Microsoft Fabric

Announcing the Private Preview of the Microsoft Fabric SKU Calculator at the European Fabric Community Conference | Microsoft Fabric Blog | Microsoft Fabric

 

I'm sure I've missed some but then we have still the monthly update: Fabric September 2024 Monthly Update | Microsoft Fabric Blog | Microsoft Fabric

Reflections on #FabConEurope

The energy and enthusiasm at #FabConEurope were palpable. The event not only showcased the latest technological advancements but also fostered a sense of community and collaboration. In conclusion, #FabConEurope was a resounding success, setting the stage for future advancements in the Microsoft Fabric ecosystem. The announcements and discussions at the conference have paved the way for a more integrated, efficient, and responsible approach to data management and analytics.

 

 

Feel free to leave a comment