Skip to main content

Questions tagged [azure-sql-managed-instance]

SQL Server Managed instance, a deployment option of Azure SQL Database providing compatibility with the latest SQL Server on-premises Database Engine with PaaS features and capabilities.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

I'm deploying database schema-only (no data) changes to our Azure Sql Managed Instance via Azure DevOps task SqlAzureDacpacDeployment@1, and for some tables it is always dropping and re-creating ...
Greg's user avatar
  • 582
1 vote
1 answer
100 views

I am trying to setup SQL agent job that will only execute if it is primary replica of Azure SQL MI of failover groups. I am trying to get primary replica using sys.dm_hadr_database_replica_states ...
SqlDBA's user avatar
  • 171
0 votes
0 answers
84 views

I have on-prem SSIS package with execute SQL task. Execute SQL task has been runnning without any issue with following parameter mapping when executing against on-prem SQL 2019 database. On-prem ...
SqlDBA's user avatar
  • 171
0 votes
0 answers
59 views

I need some advice to convert the XEL file to XML. I am executing a PowerShell script in Azure Automation runbook in Azure portal to store the XEL file from BLOB storage to my local machine, ...
user3276487's user avatar
0 votes
1 answer
256 views

I have the following code on a SQL Server Azure Managed Instance and the performance is pretty terrible. INSERT INTO #CU WITH (TABLOCKX) (LA_ID, CU_ID) SELECT la.LA_ID, c2.CU_ID FROM #la la ...
Kenneth Fisher's user avatar
0 votes
0 answers
827 views

Our problem: We have multiple clients, each with their own database. We are logging changes from certain tables to a central database called Central. The logging process requires SELECT, INSERT, ...
Kenneth Fisher's user avatar
0 votes
0 answers
161 views

I'm encountering an issue with our database where the NotifyLogPoolMgr is shrinking the log pool under memory pressure. The specific message in the logs is as follows: NotifyLogPoolMgr in DB: 5 ...
Lifipe's user avatar
  • 1
0 votes
1 answer
40 views

I've come in to managing a microsoft sql azure (12.0) server and need a little help with a table. I've worked as a data analyst for several years so understand some basic ideas with server management,...
MyNameHere's user avatar
2 votes
2 answers
640 views

I'm looking at Query Performance Insight for my read-replica database. But the information it shows are the performance stats from the primary database. How can I get the performance stats for the ...
Yossi Geretz's user avatar
1 vote
1 answer
138 views

I have a primary database in the Premium service level. I am trying to create a second geo replica to a different region. The primary is in the East Coast, The first replica is in South Central, and ...
Yossi Geretz's user avatar
0 votes
2 answers
836 views

I have a few basic questions about Azure failover. I am new to failover. I've been reading the literature and I'm ready to give this a shot. Before I take the plunge, I'd like to have a better ...
Yossi Geretz's user avatar
2 votes
1 answer
728 views

I want to find total used and remaining space for each database in Azure SQL MI. For that, from an example, when I right click on a database and select properties I see following example output, where ...
alper's user avatar
  • 147
5 votes
2 answers
628 views

Simplifying a few details, I have a recurring process on SQL Server 2019 which runs every 10 minutes and does the following: Reads data from extended event file targets using sys....
Joe Obbish's user avatar
  • 33.2k
0 votes
2 answers
477 views

I'm the DBA of one Azure SQL Managed Instance and one of our clients asked us if is possible automate a backup and restore in order to have a copy of one of the database before one of our ETL procces ...
SakZepelin's user avatar
0 votes
0 answers
32 views

I have a table which consist of more than 2 million records in a azure managed instance database. When I'm trying to add columns to the table using alter command, storage space is increasing ...
SLN Perera's user avatar
3 votes
2 answers
608 views

We recently setup a new managed instance through the program that allows you to try it for free. When trying to run the following code from Microsoft's documentation: EXECUTE ...
Joe Obbish's user avatar
  • 33.2k
0 votes
1 answer
177 views

I have two SQL Managed Instances 1 - Primary Production 2 - Reporting / Analytic workloads Besides traditional SQL replication (transactional) what is the best way to get data in near real-time from ...
Cody's user avatar
  • 11
3 votes
1 answer
812 views

Discovered that In Azure SQL Managed Instance, there's no Alerts feature under SQL Server Agent. According to documentation, Alerts feature for SQL Agent is not yet ready for MI. Hopefully it will be ...
Aleksey Vitsko's user avatar
0 votes
2 answers
465 views

Azure SQL Managed Instance. Here is the scenario. I have a stored procedure that produces a count of rows that match some criteria. But, depending on the Customer that is chosen, the statistics can be ...
CB_Ron's user avatar
  • 291
1 vote
1 answer
178 views

I have an Azure SQL Server Database - Managed Instance I'd like to monitor. Here is the widget that Azure shows me on the database summary page. I'd like to put this widget, or at least the ...
Yossi Geretz's user avatar
0 votes
1 answer
207 views

How long will it take to restore 40GB full backup in Azure SQL database, Azure SQL Managed Instance?
SOUser's user avatar
  • 31
0 votes
1 answer
152 views

Table: Address ( AddressID bigint, Street VARCHAR(150), City VARCHAR(200), State CHAR(2), State VARCHAR(5) ) Table size: 5GB, 60 million rows. AdressID is sequential. Remark: 95-98% of ...
nam's user avatar
  • 525
3 votes
2 answers
535 views

Following query correctly outputs number of seeks, scans, etc. I have question on understanding some rows in the output. In some output rows of the query, the index name is shown as NULL and the ...
nam's user avatar
  • 525
1 vote
1 answer
885 views

I have been looking at the managed instance link feature. Specifically, using the DAG feature to replicate a database on SQL Server 2019 Enterprise Edition, to SQL Managed Instance. I have hit a wall. ...
ILikeToast's user avatar
0 votes
1 answer
110 views

Version: Microsoft SQL Azure (RTM) - 12.0.2000.8 (Azure Managed Instance) I'm working with a table (ActivityAttributes) that has ~190Mn rows. I've created an Index as below. CREATE NONCLUSTERED ...
Amila's user avatar
  • 1