Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 332433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:51:59+00:00 2026-05-12T09:51:59+00:00

As I have seen, SQL 2008 no longer offers replication over internet in very

  • 0

As I have seen, SQL 2008 no longer offers replication over internet in very simple method. Not only that, I can see that the merge replication method installs too many triggers and views onto database and adds additional field named “rowguid”.

We have more disc space available today then the processor speed. So I decided to write my own generic Replication for SQL Server. It requires following steps.

This has an assumption that all my tables have one single primary key (either bigint or nvarchar(50))

Setup Table : SyncItems
SyncItemID  (Primary,AutoNumber)
SyncTable (nvarchar(50) name of table)
RowID (bigint)
RowIDStr (nvarchar(50))
RowOp (nvarchar(10), 'Inserted','Updated','Deleted')
RowTime (datetime, current_timestamp)

And I can setup three triggers on each of tables of database, which can insert one item in SyncItems for specifying DML.

Now all replicators, can only first scan through SyncItems and load the modified table row and update at the destination.

Question:

  1. I already have setup Database Recovery model to full. Is there any alternative method where I can read DMLs history and replicate rather then setting up triggers?

  2. How long the history of transaction logs are kept? In the trigger based custom replication, I can delete older records and we can truncate table accordingly.

  3. If I can read transaction logs and replicate manually, that will be great because we can even replicate DDL transactions. I tried using searching for various stored procedures and did enough Googling but didn’t find any hint.

  4. Is there any option to read replication publisher logs? So that instead of using SQL Server’s own replication, we can write our own replication agent which can replicate data over internet?

(I have tried web sync, and various options, but our data is huge, and its not practical to use web sync)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:51:59+00:00Added an answer on May 12, 2026 at 9:51 am

    I didn’t find any option to read SQL Logs. However, in full recovery mode SQL does store entire transaction logs into SQL logs, but there is no documented way to read that. We continued writing our own replication method by using triggers to fill in SyncItems table !!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 157k
  • Answers 157k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I don't know your target audience (users), but upon failure… May 12, 2026 at 11:03 am
  • Editorial Team
    Editorial Team added an answer for (p2 = words2.begin(); p2!=words2.end(); ++p2) cout << p->first <<… May 12, 2026 at 11:03 am
  • Editorial Team
    Editorial Team added an answer It's generally fairly simple: "You enable optimizations". If you tell… May 12, 2026 at 11:03 am

Related Questions

I'm using SQL Management Studio 2008 Express as a graphic interface to my local
I have a query that I'm executing from a .NET application to a SQL
I'm a little stumped on this one. Anyone have any ideas? I'll try to
I have an object I am using to store document meta data into a
I have the following query in ASP.NET/C# code which is failing to return any

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.