Quantcast
Browsing all 36 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Migrate Your Azure Data Studio Connection List

I wanted to migrate some connections without recreating them and wondered how to do that in Azure Data Studio. It turns out to be easy. I post about whatever I’m working on, and here’s a short one for...

View Article


Image may be NSFW.
Clik here to view.

Azure PostgreSQL Flexible Server and Entra Groups

Source: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/overview My company is moving from an Azure PostgreSQL single server to a flexible server. We want to set up managed...

View Article


Image may be NSFW.
Clik here to view.

Dumping and Restoring Azure PostgreSQL Databases

I wanted to test a migration of Azure PostgreSQL from simple to flexible. I wanted a simple db to restore onto my single server. I may not have needed to do this, but I was then curious how one would...

View Article

Image may be NSFW.
Clik here to view.

Migrate to Azure PostgreSQL Flexible Server

Photo by Nicole Geri on Unsplash I need to migrate from a single server to a flex server. Instead of doing a dump and restore, I’m going to try out the migration service that Azure provides. Table of...

View Article

Image may be NSFW.
Clik here to view.

T-SQL Tuesday #180: Good enough is perfect

Image by Tero from Pixabay How can you achieve good enough without compromising the process/product? In the world of database technology, striving for perfection is a double-edged sword. While high...

View Article


Image may be NSFW.
Clik here to view.

T-SQL Tuesday #180: Good enough is perfect Roundup

Image by Tero from Pixabay This month, I prompted bloggers to discuss whether good enough is perfect. Thank you to all who posted on this topic! Here are the highlights of the posts (in alphabetical...

View Article

Image may be NSFW.
Clik here to view.

How to find free space in Azure PosgreSQL

Photo by NASA on Unsplash I wanted to figure out how big (or approximately how big) my dump file would be. In QA, I have (relatively) large dbs (compared to prod). Enter the pgstattuple extension to...

View Article

Image may be NSFW.
Clik here to view.

How I Migrated to Azure PostgreSQL Flex from Single Server

Image by Michaela from Pixabay I did a couple of posts previously on dumping/restoring Azure PostgreSQL databases and also using the Azure migration tool. I had to ultimately do a combo of those...

View Article


Checking table size in Postgres

It’s easy to do with this query. That’s all I have to say on this topic for now. SELECT table_schema || '.' || table_name AS full_table_name, pg_size_pretty(pg_total_relation_size('"' || table_schema...

View Article


Image may be NSFW.
Clik here to view.

Drop roles in Postgres

Photo by ANIRUDH on Unsplash Table of ContentsIf it owns somethingRoles granted to a roleGrants at the DB and schema levelObject level grants You can’t just exec DROP ROLE your_role_name; if it’s...

View Article

Image may be NSFW.
Clik here to view.

Query editor for Azure SQL DB

I keep losing track of this wondering where it went. You have to access it at the database level. Adding this post to remind me for later. This came in very handy when my home internet went down and I...

View Article

Image may be NSFW.
Clik here to view.

PowerShell (and T-SQL) and Elastic Jobs

Photo by Kira Severinova on Unsplash I’ve covered how to create Elastic Jobs in the portal (this one is important to read if you aren’t familiar with elastic jobs already), with Terraform, and with...

View Article

Image may be NSFW.
Clik here to view.

Migrating from Azure PG Single Server to Flex with Azure VM and pg_dump/restore

Photo by Natalie Wagner on Unsplash This is more complicated than using the Azure Migration method, but because it’s maxed out on resources for the last week in the east regions (and possibly...

View Article


Image may be NSFW.
Clik here to view.

Quickly Comment Out Code Using Win + / or Cmd + /

Commenting out code is quick and easy with a keyboard shortcut: Win + / on Windows or Command + / on Mac. You can place your cursor anywhere on the line that you want to comment out, or you can select...

View Article

Image may be NSFW.
Clik here to view.

TSQL Tuesday #184: Mentoring and Sponsorship

Photo by Riccardo Annandale on Unsplash Thank you to Deborah Melkin for hosting TSQL Tuesday this month! I’ve always considered mentoring and sponsorship very structured. Now, I wonder if they’re also...

View Article


Image may be NSFW.
Clik here to view.

Save Azure PostgreSQL Backup to Storage

Photo by Andre Taissin on Unsplash This may or may not be helpful in the long term, but since I’m doing it to be super cautious, I figured I would blog about it. We migrated to Flex last week, and to...

View Article
Browsing all 36 articles
Browse latest View live