Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Low process speed Large scale storage question...

Low process speed Large scale storage question...

Scheduled Pinned Locked Moved ASP.NET
databaseperformancequestioncsharphelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lior S
    wrote on last edited by
    #1

    Hi, I'm implementing mass information procedures that is stored in a SQL Database. What methods and actions i need to take in order for the process to be faster in a case like this (its more then 1000000 rows). I'm trying also to improve the memory usage since i use the DataTable in C# and I'm looking for a better way to process the retrieved data. is there a better class or method thats improving the speed and preventing any memory leaks ? please advise.... Thanks for any help, Lior S ;)

    L _ 2 Replies Last reply
    0
    • L Lior S

      Hi, I'm implementing mass information procedures that is stored in a SQL Database. What methods and actions i need to take in order for the process to be faster in a case like this (its more then 1000000 rows). I'm trying also to improve the memory usage since i use the DataTable in C# and I'm looking for a better way to process the retrieved data. is there a better class or method thats improving the speed and preventing any memory leaks ? please advise.... Thanks for any help, Lior S ;)

      L Offline
      L Offline
      luckykhalid
      wrote on last edited by
      #2

      There are a few recommendations: 1) Do not use ad hoc queries instead use Stored Procedures even to retrive data. 2) Do not use Typed Datasets. They are not efficient and take more memory. 3) Try to use Microsoft Enterprise Library Data Access Layer for better reliability and maturity to access DB. 4) If your target usersTry to use connection pooling. 5) Do not try to put dataset with 100000 rows on session or viewstate. Hope it helps.

      Regards Khalid

      1 Reply Last reply
      0
      • L Lior S

        Hi, I'm implementing mass information procedures that is stored in a SQL Database. What methods and actions i need to take in order for the process to be faster in a case like this (its more then 1000000 rows). I'm trying also to improve the memory usage since i use the DataTable in C# and I'm looking for a better way to process the retrieved data. is there a better class or method thats improving the speed and preventing any memory leaks ? please advise.... Thanks for any help, Lior S ;)

        _ Offline
        _ Offline
        _AK_
        wrote on last edited by
        #3

        Don't post the same question in multiple forums..

        Best Regards, Apurva Kaushal

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups