Showing posts with label documentation. Show all posts
Showing posts with label documentation. Show all posts

Wednesday, March 7, 2012

Creating Peer-to-Peer Merge Replication

We have a situation exactly like that shown in the documentation for creating a peer-to-peer merge replication. That is, we have three servers, one each in Chicago, New York, and Bermuda. Users in each office will read and write to their respective servers and the servers will then replicate with one another. The documentation, however, only shows how to set up peer-to-peer for a transactional replication. The problem is that the various Manger Studio options and the database stored procedures are NOT the same between transactional and merge replication and on the face of it, merged replication does not support a peer-to-peer topology. Can somebody walk me through the process of creating a peer-to-peer merge replication, or else convince me that I should go with transaction with updating subscriptions -- in contravention of what the documentation seems to reccommend? I'd really appreciate it!

Thanks.

Randy

before any recommendations, what are your business requirements in terms of latency? regarding a merge replication, is there something else you require that prohibits you from doing a standard publication with two subscriptions?|||

In terms of business requirements the only issue is that three distinct set of users, in three different parts of the world, are updaing their own local servers but that update information needs to be reflected on all servers. The way my boss and I read the documentation, the two options are merge or transaction with updatable subscriptions. Between the two options, the documentation seems to encourage peer-to-peer merge replication.

As for latency, we're probably talking less than 50 transactions per second. Indeed, I suspect we are more in the 10 to 20 range. Since we have big pipes and good servers, I don't expect latency to be much of a problem no matter what we do.

Thanks for your input.

Randy

Friday, February 24, 2012

Creating Maintenance Plans via the CommandLine.

Hello All,

I've searched high and low for documentation on this to no avail.

Basically my goal is to create a maintenance plan in SQLSERVER2005 via the command line. I need to create this plan in a way that it can be seen in the list of Maintenance Plans in the Management Studio Interface. I went into the SSIS designer and created my plan. I now have a DTSX file. I tried the dtutil.exe utility, however i never saw my maintenance plan in the list of plans.

I ran dtutil.exe and did /FILE to /SQL but i don't see the plan listed or in a way a user could modify it, which is of the utmost importance to my clients.

How do i get my file to turn into a real running Maintenance Plan that is seen in the list of Maintenance Plans via the Management Studio Interface and is editable by clients?

Other things to keep in mind, i'm attempting to create these via Installshield MSI installer. So i need to do it via command line, or file system-wise. No interface or user interaction.

Please Advise.

Can anyone please help out? Would be greatly appreciated.

Friday, February 17, 2012

creating documentation

Hi:

When I used SQL 2000 (long time ago) I remember that in the Tools menu, it has an option to create a Full Documentation of all the tables, views, etc used in the database. Know I'm doing a project in SQL 2005 and I want to print that information, but I don't know how. Anyone that can help me?

Thanks,

Johajones

There are several ways to do this, based on what you want to do. You can create a database diagram, you can script items out (one of the best ways) or you could run sp_help against the objects. There are other methods of documenting a database, such as in this set of articles:

http://www.informit.com/guides/content.asp?g=sqlserver&seqNum=108

Creating documentation

I was wandering if anybody can tell me if SQL Server has
the ability to create documentation based on the tables
created. For example, if I create database, from that
database I want to create document.
Not really out of the box. Have a look at
http://www.ag-software.com/sqlscribe/
HTH
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Barbara" <anonymous@.discussions.microsoft.com> wrote in message
news:361901c51f50$68f8fcc0$a601280a@.phx.gbl...
>I was wandering if anybody can tell me if SQL Server has
> the ability to create documentation based on the tables
> created. For example, if I create database, from that
> database I want to create document.

Tuesday, February 14, 2012

Creating Database Diagrams

Hi,
I have 5 tables each in two databases database1 and database2 in SQL Server.
Now, I want to create a database diagram for documentation purpose in
database1 wherein I want to include the tables in database2. Is this
possible. If yes, how can I do this.
Expecting an early reply
Regards
Sudhakara.T.P.
Nope. Diagrams are confined within one database.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Sudhakara.T.P." <SudhakaraTP@.discussions.microsoft.com> wrote in message
news:92E84245-728A-42ED-BA5C-DD86FCEBBEE6@.microsoft.com...
> Hi,
> I have 5 tables each in two databases database1 and database2 in SQL Server.
> Now, I want to create a database diagram for documentation purpose in
> database1 wherein I want to include the tables in database2. Is this
> possible. If yes, how can I do this.
> Expecting an early reply
> Regards
> Sudhakara.T.P.