azure-sql-database

I want to take backup and restore of SQLite Database file using xamarin Azure SDK for My Xamarin App

那年仲夏 提交于 2019-12-21 02:47:27
问题 I am using xamarin Azure SDK to download and manage the local database for my Xamarin . Forms App. We are facing downloading time issues because we have a lot of data, so I am thinking of taking backup once of the SQLite File from one device and use it to restore on different devices as restoring the same SQLite File. Planned to use Azure Blob storage to store backup of SQLite files and for different device planning to download that blob of SQLite file and thinking of restore it on different

Find out which query increasing DTU in SQL Azure

元气小坏坏 提交于 2019-12-21 02:46:17
问题 I am using SQL Azure SQL Server for my App. The DB tier, which my app was in was working perfectly till recently and the avg DTU usage was under control. But off late, during peak hours, the DTU spikes to touch 100% consistently. Upgrading to the Next tier is an option, but first i want to figure out which query is responsible for this. Is this possible to find in Azure, which query made the DTU jump to 100%? 回答1: Simply put DTU is a blend of CPU,IO,Memory you will get based on your service

Is it possible to attach a MDF file to an Azure SQL database?

坚强是说给别人听的谎言 提交于 2019-12-21 01:59:34
问题 I have just created an Azure Website and Linked SQL Database. I have a SQL Server 2008 SP2 database on my local machine. Is it possible to detach the local .mdf file, FTP it to Azure and then attach it as a SQL database in Azure? The only other way is to export the scheme and load this, followed by the data. In the absence of detaching and attaching DBs, I have come across "SQLAzureMW" which looks very useful in guiding me through this process. Thank you in advance. 回答1: You can deploy an

How to make DACPAC update only one schema?

半腔热情 提交于 2019-12-21 01:26:22
问题 I have a VS2013 solution with *.sqlproj project that contains objects specific to this solution. The issue is that this is database common also for other projects. My problem is to automatically deploy changes within my schema to database without affecting other objects. By default DACPAC updates whole database that is not desired in my case. I tried to write deployment contributor http://msdn.microsoft.com/en-us/library/dn268597(v=vs.103).aspx but it seems there is no way to have it within

ID Generation for Sharded Database (Azure Federated Database)

馋奶兔 提交于 2019-12-21 00:54:50
问题 I have been looking for some articles or guidence on best practice for id generation (for the federated/primary key) for Azure Federated databases and haven't found anything compelling. Federated tables don't support identity columns, so it seems to me that the only practical type of id is a GUID, as trying to centrally create and use a BigInt creates a single point of failure in the app. My chief concern is the performance implications of using GUIDs over BigInts (particularly for indexing

How do I stop and start a SQL Azure database?

好久不见. 提交于 2019-12-20 21:23:22
问题 I am running an Azure based site that for historic reasons uses two databases on two servers. I have copied the data from the static data-source so that both reside on the same server. I am fairly sure I have removed all references to the old server from the live code, and indeed the Azure dashboard shows no connections over the last month. But to be 100% sure before I delete the server I would like to stop it and test the live site. If anything goes wrong I would then like to start it again.

Is SQL Azure suitable for Desktop client applications

删除回忆录丶 提交于 2019-12-20 18:30:38
问题 I have a client that runs a small business. They need a custom database solution and I'm looking into various options. My experience is limited to .NET using local SQL Servers (no ASP.NET), however, this client is non-technical and would benefit from being able to outsource the DBA tasks. I'm a complete Azure noob, I just scanned the tutorials and they all appear targeted at developing MVC ASP solutions. The client doesn't need a browser based solution. A fat desktop client used from

Overcoming Windows Azure Sql Database 150 gb size limitation

天涯浪子 提交于 2019-12-20 18:09:50
问题 SQL Azure has a database size limit of 150 gb. I have read through their documentation several times and also searched online but I'm unclear about this: Does using federations allow a developer to grow beyond a 150 gb data base? For example can I have several 150GB federation members. If not, how can I handle a database larger than 150 gb on Windows Azure? basically, How do I scale out beyond 150 gb on Windows Azure If theres no other way is RDS a good alternative(share any other

Tables without a clustered index are not supported in this version of SQL Server

蹲街弑〆低调 提交于 2019-12-20 18:02:27
问题 I am working on vs 2010 and EF 4.1 with SQL server database . Below mentioned code works fine with local SQL server DB.(SQL 2008). But when I published the MVC application for windows AZURE cloud and SQL Azure it's giving below mentioned error . Why this error is only return SQL Azure (working with desktop SQL server 2008)? How to get rid of this ? My repository code sample as below.Below mentioned error comes when calling Catalog.SaveChanges() method. using (var catalog = new DataCatalog())

SSMS Object Explorer - Select Top N Rows missing when connected to Azure DB

ぃ、小莉子 提交于 2019-12-20 17:47:12
问题 I just upgraded my SSMS to 2008 R2. I'm missing the option to select the top 1000 rows from a table, like this: Mine looks like this: I know how to change the number of rows that are displayed, but the options aren't there at all. I saw that someone submitted a bug for this a few years ago, but there was no workaround, and I'm not sure what to do. Any ideas? EDIT - Azure Problem? I just used SSMS to open my local SQL Server, and I get the option to select the top 100 rows. But in my other