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

  • Home
  • SEARCH
  • 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 6365141
In Process

The Archive Base Latest Questions

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

I am importing large excel files into a SQL through a web application, each

  • 0

I am importing large excel files into a SQL through a web application, each column in each row gets converted into a business object and each property for the object.

Since the fie is a csv I am performing a lot of validation in code such as checking property values against database values , if statements, case switches etc…and this is causing a large cpu load when the function is processing.

what would be a better way of processing this data?

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

    Consider uploading the data to staging tables like so and performing the validation using set logic rather than row logic. This avoids having to parse into objects at all and should both shift the CPU overhead to a different server (if your application server is underpowered) and reduce the CPU strain required.

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

Sidebar

Related Questions

So I am importing some images stored in SQL image columns, and I need
I've seen this question regading the importing of js-files related to the tag content
After installing the VSTS Database GDR and importing a SQL Server 2005 database that
I am reading a large amount of data from an excel spreadsheet in which
I need to bulk load a large amount of data (about 7.000.000 entries) into
I'm creating a PHP script that imports some data from text files into a
I'm importing some data from a CSV file, and numbers that are larger than
When importing numbers from a csv file, I need to convert them to floats
I am importing the CreateICeeFileGen() function from the unmanaged DLL mscorpe.dll in a C#
I'm having some trouble importing and accessing a private key with the ASPNET user.

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.