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 6168315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:39:57+00:00 2026-05-23T22:39:57+00:00

I have SQL Server 2008 database with 2 tables: Table A has columns ID

  • 0

I have SQL Server 2008 database with 2 tables:

  • Table A has columns ID (int), XmlDocument (xml)
  • Table B has columns ID (int), PdfDocument (varbinary)

I have some .NET code that can take the XmlDocument and convert into PDF. I have 1.3 million rows in Table A, and to convert all the rows sequentially would take 1.3 millions rows @ 1 row/sec = 15 days.

I want to approach that let’s be do this in less than 2 hours. The problem seems to be a perfect case for parallelization. My question is what should I use to achieve this, and if any one has any good advice that has worked in the past. I have access to a virtual machine lab, and can potentially spin up several (5-6) virtual machines and this is a test database that I can copy wherever.

For example, should I do this in SQL (service broker or sql job for parallellism and calling a CLR proc for the conversion) or .NET (should I have a multiple processess on multiple machines or multiple threads in the same machine will get me pretty close)? What will be the bottle necks? Any suggestions about what strategies I should use to share work between threads?

  • 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-23T22:39:58+00:00Added an answer on May 23, 2026 at 10:39 pm

    There are a host of different solutions that could solve this problem but I will suggest something novel. Use the cloud.

    Assuming the true bottleneck is the computing power to convert the Xml to a PDF then getting access to an environment with virtually unlimited scale out may prove the quickest way.

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

Sidebar

Related Questions

I have a table in a SQL Server 2008 database. This table has a
I have a SQL Server 2008 database. This database has two related tables: Customer
In our inventory database (SQL Server 2008 std edition) we have a table (called
I have a very large table in SQL Server 2008. It has lots of
hey guys, i have 3 tables in my sql server database. 1. crossarticle_article has
I have a sql server 2008 database, the code (now corrected) has accidently overwrite
Our database server is a SQL 2008 server. My colleagues all have XP service
I have a couple of tables in a SQL 2008 server that I need
I am using SQL Server 2008 Enterprise. I have a table and one of
I have three tables in SQL Server 2008 R2: Country Address and Country_Address Country

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.