February 22, 2011 at 3:59 am
Hi all!!!
I want to know if someone know a tool to mantein two databases equal.
The idea is:
I have a central database, we use that db for our system, but our system is used in another company. Once a month we send them a new version of our system, right now we are not using sql server as the main db, so the problem is that now we start using sql server.
Now we have an installer that makes all changes needed in the db (not sql server, dbf files). But when we start using sql server we have a problem, we have to do all changes manually
hope you understand my problem.
I want to kwow if there is a tool that compares two dbs and makes all changes I need.
I research some,
Thanks a lot!!!
February 22, 2011 at 4:05 am
RedGate compare is a good product for this;
If you are needing to make data changes as well then you can use RedGate Data compare as well,.
February 22, 2011 at 4:10 am
Thanks for reply.
I don't need data compare. I'll try this tool.
Do you know if I can integrate with an installer o something like this?
February 22, 2011 at 4:12 am
gheinze (2/22/2011)
Thanks for reply.I don't need data compare. I'll try this tool.
Do you know if I can integrate with an installer o something like this?
not sure, you can run it from the command line if that helps
February 22, 2011 at 4:16 am
steveb. (2/22/2011)
gheinze (2/22/2011)
Thanks for reply.I don't need data compare. I'll try this tool.
Do you know if I can integrate with an installer o something like this?
not sure, you can run it from the command line if that helps
Thansk for reply again
Yes It will help if I can do it unattended.
Ask in case someone knows a free tool to do this?
thanks!!
February 22, 2011 at 5:08 am
cant you logship or mirror the databases?
February 22, 2011 at 5:19 am
February 22, 2011 at 8:08 am
Thanks for reply
logship or mirror the databases
I have to read about it, because I dont understant how it works and don't know if it will help with my problem. Sorry about it.
Visual Studio for deploying databases/database changes.
This tool will make changes to the structure on a production database without loosing data or its only for developers.
Thanks!!!! 😀
February 22, 2011 at 8:26 am
mirroring
logshipping
and replication are technics to keep the data in sync of databases
all with their own cons and pros
mirroring is even more for the high availibility point of view and not working for you as the mirrored database cannot be accessed
logshipping is a possibility, every transaction will be backupped and copied to youre 2nd database location and will be restored there as frequent as you want. only disadvantage while the log is restoring the database is cannot be accessed.
Replication also a possibility and the subscriber (youre 2nd database) can always be accessed (disadvantage if objects changing you need to rebuild you replication)
as you do it now once every x months, i think snapshot replication every night will be already a huge improvement. easy to setup.
But all this requires that sql server a can reach sql server b.
February 22, 2011 at 8:39 am
There is an SDK for SQL Compare from Red Gate. The other tools might have one as well
http://www.red-gate.com/products/sql-development/sql-comparison-sdk/
Disclosure: I work for Red Gate.
In terms of LS/Repl/Mirror, the OP doesn't look to move data, so these don't apply.
February 22, 2011 at 8:49 am
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply