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

  • Home
  • SEARCH
  • 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 6624343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:38:27+00:00 2026-05-25T21:38:27+00:00

Typically, when platforms want to provide database resource to user (developer) for applications development,

  • 0

Typically, when platforms want to provide database resource to user (developer) for applications development, they use limit database access APIs to restrict behaviors of the application, in order to enforce some constraints on resources occupied, an example is social API.

Is there a same way that we can implement and use in database layer, nor application layer. If then, we just need to assign database quota for specific user and let database handle the resource usage. Furthermore, it’s better to have some programming APIs from database server to support this.

I found some similar questions, as follow:

  • Oracle [might has]: Is there a way to throttle or limit resources used by a user in Oracle?
  • MySQL [no]: https://serverfault.com/questions/124158/throttle-or-limit-resources-used-by-a-user-in-a-database
  • SQL Server [not sure]: Databases with utilization constraints

Since i am focus on open source solutions, how about PostgreSQL or NoSQL? As open source database, I think PostgreSQL compares better favourably with Oracle.

  • 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-25T21:38:28+00:00Added an answer on May 25, 2026 at 9:38 pm

    With MySQL (which is currently released under the open source GPL license), you can impose the following resource limits inside the database:

    The number of queries that an account can issue per hour

    The number of updates that an account can issue per hour

    The number of times an account can connect to the server per hour

    The number of simultaneous connections to the server by an account

    For postgres, their wiki states:

    PostgreSQL has no facilities to limit what resources a particular user, query, or database consumes, or correspondingly to set priorities such that one user/query/database gets more resources than others. It’s necessary to use operating system facilities to achieve what limited prioritization is possible.

    But the question to me really is — no matter which database is used — what is the expectation when a user exceeds their limits? If the database enforces limits, should queries beyond those limits simply return an error and cause the application to fail? I’d suspect that this might have unexpected negative impacts on the applications. It’s hard to say what will happen when suddenly the database starts returning errors.

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

Sidebar

Related Questions

Developer tools and software typically do not provide solution suggestions in error messages .
Businessmen typically want a web application developed. They are aware of .net or J2EE
Typically I use E_ALL to see anything that PHP might say about my code
Typically, when I use lambdas, I just use a, b, c, d... as variable
Typically languages have keywords that you are unable to use directly with the exact
Typically the main use of the question mark is for the conditional, x ?
Typically, we define a hash as h={:a=>val1, :b=>val2} However, i want to add a
I want to port some existing j2se libraries (e.g. Apache Compression libs) to use
I want to perform some empirical trade-off's to assess the performance of applications written
On windows applications are typically packaged as MSI, on Redhat Linux as RPM, what

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.