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. Database & SysAdmin
  3. Database
  4. Multiple queries being requested on for same table

Multiple queries being requested on for same table

Scheduled Pinned Locked Moved Database
databasesalestutorialquestion
5 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.
  • V Offline
    V Offline
    Vishnu Nath
    wrote on last edited by
    #1

    Hii Everybody, I have one doubt or fundamental unclarity about database. I would like to know what happens or how does any RDMS database responds to multiple queries being requested from several clients on a table simultaneously ? Example : There is a table called customer which has all the required fields of a customer namely age, name. dob etc... Now there are several clients around the world trying to query this table with several requests. Some clients are trying to insert customer details, some are trying to delete customer details and others are trying to read those customer details simultaneously on customer table. The clients trying to insert, delete are admins while the clients trying to read are staffs. In this case how would the table handle those multiple queries at the same time.Would it crash, behave differently etc.. ?

    Aspiring Techie, Vishnu Nath

    D A 2 Replies Last reply
    0
    • V Vishnu Nath

      Hii Everybody, I have one doubt or fundamental unclarity about database. I would like to know what happens or how does any RDMS database responds to multiple queries being requested from several clients on a table simultaneously ? Example : There is a table called customer which has all the required fields of a customer namely age, name. dob etc... Now there are several clients around the world trying to query this table with several requests. Some clients are trying to insert customer details, some are trying to delete customer details and others are trying to read those customer details simultaneously on customer table. The clients trying to insert, delete are admins while the clients trying to read are staffs. In this case how would the table handle those multiple queries at the same time.Would it crash, behave differently etc.. ?

      Aspiring Techie, Vishnu Nath

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      This is way too complicated of an issue to address through a forum discussion. You have to have some faith in the database engine that it can handle multiple requests without crashing. :) Seriously, this is a very advanced topic that could take months to understand. Let me suggest a very interesting book, http://www.amazon.com/Inside-Microsoft-SQL-Server-2005/dp/0735621055/ref=sr_1_1?ie=UTF8&s=books&qid=1253200333&sr=8-1[^] This book can give you some insight into how the MS-SQL server works.

      1 Reply Last reply
      0
      • V Vishnu Nath

        Hii Everybody, I have one doubt or fundamental unclarity about database. I would like to know what happens or how does any RDMS database responds to multiple queries being requested from several clients on a table simultaneously ? Example : There is a table called customer which has all the required fields of a customer namely age, name. dob etc... Now there are several clients around the world trying to query this table with several requests. Some clients are trying to insert customer details, some are trying to delete customer details and others are trying to read those customer details simultaneously on customer table. The clients trying to insert, delete are admins while the clients trying to read are staffs. In this case how would the table handle those multiple queries at the same time.Would it crash, behave differently etc.. ?

        Aspiring Techie, Vishnu Nath

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

        This is, as the previous post said, its a complex subject, but you need to accept the fact that this is what databases do, and do very well, and they work - as long as you understand about isolation levels and transactions. At my current client there are upwards of a thousand users htting teh database with inserts, updates, delets and plain old reads all day long without any real problems, and this is commonplace.

        Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

        V 1 Reply Last reply
        0
        • A Ashfield

          This is, as the previous post said, its a complex subject, but you need to accept the fact that this is what databases do, and do very well, and they work - as long as you understand about isolation levels and transactions. At my current client there are upwards of a thousand users htting teh database with inserts, updates, delets and plain old reads all day long without any real problems, and this is commonplace.

          Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

          V Offline
          V Offline
          Vishnu Nath
          wrote on last edited by
          #4

          Thanks for giving out your suggestion. Well databases must be having robust engine to handle the queries. But its fuctioning and understanding is important while building a database driven web application. Also was thinking how facebook, orkut would be using their databases to manage their user queries around the world.

          Aspiring Techie, Vishnu Nath

          A 1 Reply Last reply
          0
          • V Vishnu Nath

            Thanks for giving out your suggestion. Well databases must be having robust engine to handle the queries. But its fuctioning and understanding is important while building a database driven web application. Also was thinking how facebook, orkut would be using their databases to manage their user queries around the world.

            Aspiring Techie, Vishnu Nath

            A Offline
            A Offline
            Ashfield
            wrote on last edited by
            #5

            Vishnu Nath wrote:

            But its fuctioning and understanding is important while building a database driven web application.

            So you need to do more research than you will get from asking in a forum. Buy a few books on your chosen database (SQL Server, Oracle etc) and investigate further.

            Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

            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