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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:07:12+00:00 2026-05-27T14:07:12+00:00

I am moving a complex process out of SQL to a .NET application. I’m

  • 0

I am moving a complex process out of SQL to a .NET application. I’m kind of taking a brute force approach by pulling down only the data that is needed from SQL, then storing in datatables. Using a pipeline pattern with stepping, I broke out the processes that can be done in parallel (not dependent upon the other processes, nor working on the same data bits).

Everything is going fine, but I want to know if there is an in-memory sql solution that would perform better than the DataSet/DataTable structures. We’re talking about 50k rows at a time with up to 1m supporting data rows (read 5b rows). Row size for 1 row (with all supporting data rows) is probably around 1K avg (due to large strings).

My question is specifically on the performance of DataSets, memory overhead and persistence. I will need to serialize the data at each stage to disk for recovery purposes.

Would it be better to just map the rows to a strongly typed model instead? I don’t need any relationships or other benefits of datasets; I replaced most of the search functionality with my own using parallel processing.

Data only uses primitive types, no blobs, streams, geography etc.

  • 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-27T14:07:13+00:00Added an answer on May 27, 2026 at 2:07 pm

    For local SQL operations, take a look at SQLite. I don’t recall offhand if it can run exclusively in memory, but with disk caching and transaction journalling turned off it would probably be pretty close.

    Steve Shaunessey developed a fast in-memory SQL engine at Borland many years ago. I don’t know if it was ever productized. Take a look around the Embarcadero.com web site to see if any remnants of his work have survived.

    I noticed aidaim.com advertises an in-memory SQL engine. No experience with it, just FYI.

    Also consider LINQ for in-memory query operations. If you pay attention to what you’re doing, LINQ’s query composition and deferred execution work well with large data, IMO. And, no SQL parser required.

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

Sidebar

Related Questions

I am moving an old ASP.net (C#) application from plain SQL queries to LINQ
When moving my .Net Compact Framework application to the SD-card of a Windows CE
I was just wondering, if by moving complex if else statements and the resulting
This is a complex question, because there are a lot of moving parts. My
I am working a much more complex version of this (with vehicle moving in
After moving to .NET 2.0+ is there ever a reason to still use the
What are the limitations, unexpected pitfalls and performance traits of moving from in process
I'm currently employed at a small ASP.NET/MS-SQL shop. My team has noticed that a
I've got some SQL which performs complex logic on combinations of GL account numbers
I have a web application that loads some 50 tables from SQL Server into

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.