Download Postgresql Extension For Azure Data Studio

0 views
Skip to first unread message

Trish Blaschke

unread,
Jan 9, 2024, 1:29:58 AM1/9/24
to umpaydesfe

The PostgreSQL extension in Azure Data Studio empowers users with their database development. The Azure Data Studio extension for PostgreSQL is backed up with a Tools API service that provides data management and high performant query execution capabilities. Azure Data Studio also offers a modern, keyboard-focused PostgreSQL coding experience that makes your everyday tasks easier with built-in features such as:

download postgresql extension for azure data studio


Download File https://t.co/tsdTLiO3UM



The extension marketplace for Azure Data Studio makes it easy for developers and partners to build and contribute back into the open source ecosystem. PostgreSQL for Azure Data Studio will be a Microsoft offered extension empowering PostgreSQL developers to not only use a modern tool for their database development but also enable them to contribute back into the ecosystem to build further experiences.

Bringing in the PowerShell extension aligns with many of the automation scenarios that database administrators and developers use. With the integrated terminal in Azure Data Studio, this makes it even easier to integrate PowerShell experiences with your data.

Perhaps recognizing a steep upward trend in popularity over the past five years, Microsoft yesterday announced a preview PostgreSQL extension for Azure Data Studio, which was formerly known as SQL Operations Studio and is described as " a cross-platform modern editor focused on data development." At the same time, a similar extension was provided for VS Code, which has technological underpinnings similar to Azure Data Studio.

VS Code, of course, is the wildly popular open source, cross-platform code editor that more closely resembles a full-blown IDE through the use of hundreds of extensions. Azure Data Studio is also cross platform -- working on Windows, macOS and Linux -- and is primarily used to manage data parked in SQL Server, Azure SQL DB and SQL DW.

"Azure Data Studio inherits a lot of VS Code functionality. It also supports most of VS Code's extensions like Python, R and Kubernetes support," she continued. "If your primary use case is data, choose Azure Data Studio. You can manage multiple database connections, explore database object hierarchy, set up dashboards, and more.

"On the other hand, if you're closer to application development than you are to database administration, then go for our PostgreSQL extension in VS Code. Actually, you don't have to choose -- use both, switching according to what works best for you at the time."

Agyemang said the new extension provides a GUI-based editor for working with PostgreSQL in addition to the database's existing and powerful command-line tool, psql. "It's pretty powerful," she said, "but some people much prefer a graphical editor. Even if you typically use command line, you may want to go visual sometimes."

As detailed fully in the release notes, Azure Data Studio also received other new features in the March update, including: SQL Notebooks functionality improvements; the addition of the VS Code PowerShell experience to the data studio; several extension updates (including SQL Server 2019 Preview); and several other tweaks and bug fixes.

For those of you that don't use SQL and have no idea what Azure Data Studio is, it is a SQL IDE that is built off of the VS Code framework that allows extensions and customization options similar to VS Code but for SQL code. I have been using it a lot lately in my transition to becoming a data scientist as opposed to software engineer. It has really helped me out.

I know what you are thinking. Why are you using two different versions of SQL why not just stick to one. Well the reason for that is I was practicing using SQL Server as it differs ever so slightly from other flavors of SQL such as PostgreSQL. I use Postgres more on personal projects but work also has me using SQL Server. What does this have to do with why I chose Azure Data Studio over pgAdmin and SSMS? Well for one I don't have to use two different tools to connect to my different databases. I can instead open up Azure Data Studio and connect to all of my SQL Server databases that I need as well as my PostgreSQL databases all from one tool. The other reason I chose it is, well in order to connect to my PostgreSQL instances I have to install the PostgreSQL extension that is published and maintained by Microsoft themselves. Once you have this extension installed it automatically adds postgresql as a form of connection when you open up the connections options to connect to a database.

As fully managed database services, both Azure Cosmos DB for PostgreSQL and Azure Database for PostgreSQL have all the features you need for worry-free operation in production. These include: automatic high availability, backups, scalable compute, multi-region replication, and encryption. Both database options are powered by the latest Postgres community edition engine and support popular Postgres extensions such as PostGIS for geospatial, HLL for HyperLogLog, pg_cron for running scheduled jobs, and more.

Data studio previews the data in a table form. To convert it into a visual,click Chart from the sidebar and select Chart Type as Bar. The data can besaved in CSV, XML, JSON, Excel formats or as an Image.

This new MySQL extension enables database developers, administrators, data scientists, and engineers to easily work with any MySQL server (including Azure Database for MySQL flexible servers) along with their other databases, using the powerful capabilities of Azure Data Studio.

Although I've limited our discussion to Microsoft's relational database products, you should know that Azure Data Studio, through its extension framework, does enable you to connect, query, and manage MySQL and PostgreSQL databases as well. This decision makes sense when you remember that Azure offers managed solutions for both platforms.

As you can see, when you compare SSMS and Azure Data Studio for routinedatabase administration tasks, the functionality appears to be limited on AzureData Studio. You can explore the administration specific extensions by firstexploring if any administration related extensions are available by justsearching using the 'Admin'keyword. In this article, the demo is using Azure Data Studio installed on a WindowsOS.

Microsoft has made it easier for us to use this extension as it is a collectionof popular database administration specific extensions. Instead of installing theseextensions one by one, our task is made easier as we only need to install this administrationpack once and it includes the extensions for below items as well.

Here, you can see the options that are available to use after installing theextensions. There is the 'Data-tier Application wizard', 'ImportWizard' and 'Launch Profiler' options. You will see the 'Data-tierApplication wizard' and 'Import Wizard' options in the individualdatabase nodes as well.

Once this extension is installed, you will be able to right click on a server ordatabase node to view the 'Properties' option. The 'Generate scripts'option will be visible on the database nodes as shown.

Install the extension and when you click on the 'Manage' optionsin the connection tab, you will be able to see sp_whoisactive under the monitoringsection. However, there will be no data collected yet.

This extension will help to easily perform schema comparisons between a dacpacfile and a database. Based on the comparison, any changes can easily be appliedbetween the source and target instead of reviewing the schemas manually in the database.

This extension is quite useful especially during database releases as schemacomparisons can be done quite quickly. Once you click on the 'Schema Compare'option, you will see this window. On the left-hand side is the source which is adacpac file and on the right-hand side is the on-premises database. Click on the'Compare'option which will perform the schema comparison between the source and target.

In this tip, you saw a number of extensions that could be used for the purposeof performing database administration related tasks using Azure Data Studio. Theextensions described in this tip will give you a start to perform your regular administrationtasks using Azure Data Studio. Over the last few years Azure Data Studio hasbeenevolving rapidly and could become as popular as the widely used SQL Server ManagementStudio (SSMS). But bear in mind, SSMS is quite a mature product compared to AzureData Studio and it may take some time for all the functions available in SSMS tobe fully available in Azure Data Studio. However, by making use of these extensions,we would get wider functions similar to that of SSMS. Another advantage is thatthese extensions are light weight and do not slow down your server. And these extensionsare free to use. As you probably know this tip covers only a subset of popular extensions,there may be many more available that could be of great use for your day-to-dayneeds. You can review the other extensions that are available in the Azure DataStudio Marketplace or review the extensions available with thislink.

35fe9a5643
Reply all
Reply to author
Forward
0 new messages