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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:47:32+00:00 2026-05-22T21:47:32+00:00

Well, I understand this is quite vague to ask how many db write connections

  • 0

Well, I understand this is quite vague to ask how many db write connections should I make.

Still, I’m putting this question here, but in a different way. Lets say I’ve 10 tables which are independent of each other.
I mean writing into one table does not mandate writing into other. The can be written into any of the tables with equal probabilitites.

What factors should be taken in mind to decide how many write connecttions should I make to a DB. I want to create these connections (connection objects) in memory and use it whenever required.

  • 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-22T21:47:33+00:00Added an answer on May 22, 2026 at 9:47 pm

    Typically it shouldn’t matter much as long as you keep your database operations batched together.

    Personally I have a DBRead function that creates a connection, executes the SQL statement(s), gets a DataTable (C#) and closes the connection. It is typically called 3-8 times per page render, which isn’t that much considering I make heavy use of AJAX and client-side computing of data (little to no server side paging).

    This may be different if the database server is on another computer or even outside your network, as the latency times add up, but typically you should be fine just throwing them away and recreating them.

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

Sidebar

Related Questions

The question and description has been edited to make the user understand well what
I understand the question might well be too vague, but just in case anyone
I don't understand very well this code: var img = $('<img/>', {class: photo, src:
I hope I can explain this well enough so that you can understand the
I don't understand MEF very well, so hopefully this is a simple fix of
I'm quite new with javascript and I don't understand this problem: $(function() { var
So if I understand well, Garbage collection automatically deallocates objects that are not used
I understand very well the need for websites' front ends to be coded and
I understand PCRE pretty well, but MySQL's regular expression flavor seems to get the
I understand the JS .sort() function well enough, and I have a loose grasp

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.