Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We have the need to sync an Azure SQL Database (PaaS) with a SQL Server on-premises instance (on customer’s DataCenter), as both are being fed with data from different systems. Both databases share the same schema, and we need the sync process to be bidirectional, where every 5 minutes the data from the Azure SQL Database goes down and every hour the data from the SQL Server (Standard) instance goes up.
We thought of using SQL Data Sync (https://learn.microsoft.com/en-us/azure/sql-database/sql-database-get-started-sql-data-sync), as its the most straightforward solution to achieve what we want, were almost no configuration or custom code is needed. The main problem is that it’s still on Preview, and it has been like that for some years. So, my questions are:
1) Why is it still on preview?
2) What other alternatives would you consider for this requirement, without losing transparency and performance?
PS: There's a similar question form almost 3 years ago (Is SQL Azure Data Sync Production Ready?)
It will be GA this month.
SSIS could be another solution but it requires certain domain knowledge and effort to create an maintain the solution.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm hoping for some opinions on the best options for how to replicate, in real time, data from a production SQL Server database onto another SQL instance. This second instance would be for vendors who need to access some of the tables from the production database, but we would prefer that they not directly access our production instance.
I have some awareness of transactional replication and log shipping as possible solutions, but I would be interested in pros/cons of these approaches, or superior alternative solutions you may have tried.
I realize there are many topics already on Stack Overflow that discuss how to do this, but many that I found were older (technology's always changing), or focused on a very specific scenario.
For read-only access you can use AlwaysOn Availability Group feature introduced with SQL Server 2012
Documentation:
https://learn.microsoft.com/en-gb/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server?view=sql-server-ver15
https://learn.microsoft.com/en-gb/sql/database-engine/availability-groups/windows/configure-replication-for-always-on-availability-groups-sql-server?view=sql-server-ver15
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am currently working on a project in ASP.Net Core which will have a large number of user in the future. Also, the application is being made through Agile Process, so that I have to be prepared for many changes and up-gradations in the future.
First, I was planning to use a MS SQL Server Database but recently I have seen that how awesome features MongoDb is providing especially for a developer. But, I have a confusion that using I MongoDb database will slow down my application when it become widely used by the people.
So, I am here to get some suggestions on choosing the database for my application.
MongoDB is one of the most popular document stores available both as a fully managed cloud service and for deployment on the self-managed infrastructure but it is Document store DB and SQL Server is Relational DBMS.
Performance highly depends on your requirement and design.
System Properties Comparison Microsoft SQL Server vs. MongoDB
MongoDB vs SQL Server 2016 Performance
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Is there a database diagramming tool for SQL Server 2012 that does not affect the underlying database structure? I have a collection of tables that currently don't have any relationships defined. I would like to diagram the database tables to demonstrate where we should setup some relationships.
I was starting to use the diagramming tool in SSMS 2012, however from what I understand the underlying database will be changed as I add relationships and/or change table structures. I am just looking for a solution to diagram out possible changes rather than implement them.
Also, I am looking to avoid having to type in all the column names since the tables can contain a large number of columns.
You can right click on you DB the choose Generate Scripts
Then click Next until you have the option to choose Advanced
Click on Advanced, choose what you want to include in your scripts and Finish the process.
Then just run the script generated to create a new exact same DB where you will use the designer.
Visio (prior to Visio 2013) can be used to diagram database tables. Check out the Reverse Engineer option. The instructions here should help with creating the diagram. The changes you make can be saved locally without affecting the database.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
The organisation I work at usually uses Oracle or SQL Server for our databases. However we have a requirement to create only a small database, but the small amount of data it will hold is highly sensitive (IL3).
It has been specified that we need to encrypt the data 'at rest' and provide auditing of anyone looking at records in the database.
We know that SQL Server and Oracle can do that. But as this server will not be able to utilize existing licenses, an expensive edition of the database would be required to provide the functionality that is required. Thus we are considering alternatives with lower or no licensing costs.
We need to also be able to use a connector from Entity Framework Connector.
Are there any open source databases that can deliver that functionality?
Can Postgresql provide that functionality?
Thanks,
DavidC
The encryption is straightforward enough - just set up an encrypted partition and keep your data on there. That keeps the encryption out of reach of the RDBMS altogether.
For the auditing, it depends how strict you need to be. There's no way to keep someone with full superuser access from fiddling with logs etc.
However, you could log all queries and copy logs to a different machine (presumably keeping the logs on an encrypted partition too).
For routine access direct all access through custom functions that log access along with user details.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have a MSSQL2005 DB with about 140 tables. I want to create either an accessible diagram or a printable API type document with the table structure. Is there a program that offers this kind of db visualization?
I find the diagramming built into SQL Server to be very clunky and very inaccessible for my DB size.
Take a look at SQL Doc.
I always used Visio for this type of thing.
I like Toad Data Modeler for this. It reverse-engineers Microsoft SQL Server databases (and other brands of databases too), but more than that, you can start making your modeling changes inside the tool and it'll generate change scripts.
If you use somebody else's tool, make sure that you can round trip changes - meaning, if you put all the time and effort into getting your documentation right, and then you change the database inside SQL, can you re-import your changes from the database without overwriting your work in the documentation tool? Most of 'em don't do that, but Toad Data Modeler does.
(Disclaimer - I work for Quest. I used this program before Quest bought it, though, and always loved it.)
http://www.quest.com/toad-data-modeler/