[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 144
  • Last Modified:

postgres queries -- need opinions

Generally speaking, it is better to make lots of frequent queries on a db (that pull a small amount of data), or less frequent queries on the db (that pull a large amount of data).   I don't want to overload anything, or lock anyone out...  I am not an expert by any means with databases, so, for my benefit, please keep discussion at a high level.  Thanks!!
0
MarkLoveExEx
Asked:
MarkLoveExEx
1 Solution
 
Pawan KumarDatabase ExpertCommented:
If your queries fetching small amount of data then it is good but sometimes we have fetch large data also depending on the requirement.

The whole idea should be like the queries should take optimal time to return that data. and the health of the Db should be good.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now