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. how to increase performance

how to increase performance

Scheduled Pinned Locked Moved ASP.NET
csharpdatabaselinqperformancehelp
4 Posts 4 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.
  • A Offline
    A Offline
    antony beula
    wrote on last edited by
    #1

    i have used a stored procedure which requires joining with 10 tables (can't reduce this). It takes 8 seconds to load the page with this procedure. Also i have 2 more procedures with simple select queries for validation. Can i increase the performance by using linq or anyother methods instead of using this procedures. please help me out .

    T A Richard DeemingR 3 Replies Last reply
    0
    • A antony beula

      i have used a stored procedure which requires joining with 10 tables (can't reduce this). It takes 8 seconds to load the page with this procedure. Also i have 2 more procedures with simple select queries for validation. Can i increase the performance by using linq or anyother methods instead of using this procedures. please help me out .

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      You didn't share details(like code) here. But here some way to optimize things. SQL Server DO's and DONT's[^] Top 10 steps to optimize data access in SQL Server: Part I (use indexing)[^] Top 10 steps to optimize data access in SQL Server: Part II (Re-factor TSQL and apply best practices)[^] Top 10 steps to optimize data access in SQL Server: Part III (Apply advanced indexing and denormalization)[^] Top 10 steps to optimize data access in SQL Server: Part IV (Diagnose database performance problems)[^] Top 10 steps to optimize data access in SQL Server: Part V (Optimize database files and apply partitioning)[^]

      thatraja

      FREE Code Conversion VB6 ASP VB.NET C# ASP.NET C++ JAVA PHP DELPHI ColdFusion
      HTML Marquee & its alternatives

      Nobody remains a virgin, Life screws everyone :sigh:

      1 Reply Last reply
      0
      • A antony beula

        i have used a stored procedure which requires joining with 10 tables (can't reduce this). It takes 8 seconds to load the page with this procedure. Also i have 2 more procedures with simple select queries for validation. Can i increase the performance by using linq or anyother methods instead of using this procedures. please help me out .

        A Offline
        A Offline
        ais07
        wrote on last edited by
        #3

        Is it SQL Server database ? If yes have checked Execution Plan of store procedure and other queris. Thanks and Regards, Arif.

        Life Is Beautiful

        1 Reply Last reply
        0
        • A antony beula

          i have used a stored procedure which requires joining with 10 tables (can't reduce this). It takes 8 seconds to load the page with this procedure. Also i have 2 more procedures with simple select queries for validation. Can i increase the performance by using linq or anyother methods instead of using this procedures. please help me out .

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          You need to start by measuring where the performance problem is.

          • Is the query slow to execute from SSMS?
          • Does it take a long time for ASP.NET to read the results of the query?
          • Is ASP.NET taking a long time to bind the data and build the control hierarchy?
          • If the generated output is large, is it taking a long time to download to the browser?
          • If the generated output is very large, is it taking a long time for the browser to render it?

          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          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