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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:15:49+00:00 2026-05-28T00:15:49+00:00

I have a database table with a field containing RTF (Rich text Format). I

  • 0

I have a database table with a field containing RTF (Rich text Format). I need to convert RTF to HTML in order to proper display it later in a HTML Editor.

To achieve this I developed a console application that for each table entry reads the RTF field and convert it to HTML. This step would be done just once (is a unique migration process) and there are around 1500 records affected.

Since the number of records involved is not so hight, performance will not be deeeply affected, but ignoring for the moment the data volume I would like to know which would be the best pattern for this kind of scenarios:

1) Extract data from DB<br>
2) Execute modification on that data<br>
3) Update the relative row with modified values

Considering I am using LINQ to SQL, is still acceptable execute a submit() for each modified record or would it be better to store the modified records in a data stracture (like HashTable with ID, modifiedValue) and make a single submit() for all?

  • 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-28T00:15:49+00:00Added an answer on May 28, 2026 at 12:15 am

    Performance on DBMS is usually affected by hardware in this order:

    1. network bandwidth
    2. disk latency
    3. disk bandwidth
    4. memory speed
    5. CPU speed

    On the software side, the bottleneck usually is at least one of these, not necessarily in this order, and effects can range from the first to the last in the above list:

    • algorithm
    • indexes
    • query plan
    • transaction

    Your algorithm is simple, and – assuming you have a primary key and it is just one table – you cannot gain from indexes or query plan.

    You mention this is a one off thing, so I’d start putting everything into one transaction.

    If your DBMS is Microsoft SQL Server 2005 or up, you could run the whole thing on the server itself using CLR Integration and eliminate the hardware boundary number 1.

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

Sidebar

Related Questions

I have a database table with a field that I need to read from
In a SQL server database, I have a table which contains a TEXT field
I have a table in a Oracle database containing a date field EXPIRYDATE. I
I have got a task table in my database with a priority field containing
i have some fields in my database table,and a field with phone name ,
I have database with many tables. In the first table, I have a field
I have a SQL database that has a table with a field set to
I have a database with the following table: PATIENT (PATIENT_ID*, MEDICAL_EXAMINATIONS) where the field
I have a field (say, foo) in a table in a SQL Server database
I have a database table containing credit card records. One of the fields is

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.