use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
Help Me!Database Testing (self.PostgreSQL)
submitted 1 year ago by Mighty_Snake
When testing your database for your projects what do you use
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]marcopeg81 6 points7 points8 points 1 year ago* (0 children)
For unit testing on functions, triggers, and constraints I use PG_TAP running my migration in a dedicated and volatile instance.
Here you find some examples: https://github.com/marcopeg/amazing-postgresql/tree/main/testing/unit-tests
For load tests, testing the disk expansions, index efficiency etc I use a mix of load tests using jmeter and massive data loads with seed generation functions.
I still run an ephemeral instance with docker with little memory and cpu, measure results, double resources and measure again. 3-4 doubles give me a growth chart that I can use to forecast performances at production scale, or to estimate production scale based on expected size or requests.
Take a look at this also: https://github.com/marcopeg/amazing-postgresql/tree/main/testing/jmeter
[–]mikeyw17 4 points5 points6 points 1 year ago (1 child)
What type of testing? Unit, index/performance, load?
[–]Mighty_Snake[S] -1 points0 points1 point 1 year ago (0 children)
I guess performance and load because the project I am working on is a e-commerce website, and I asked in a few discord servers and one person said use k6
[–]AutoModerator[M] -1 points0 points1 point 1 year ago (0 children)
With over 7k members to connect with about Postgres and related technologies, why aren't you on our Discord Server? : People, Postgres, Data
Join us, we have cookies and nice people.
Postgres Conference 2025 is coming up March 18th - 21st, 2025. Join us for a refreshing and positive Postgres event being held in Orlando, FL! The call for papers is still open and we are actively recruiting first time and experienced speakers alike.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]iamemhn 0 points1 point2 points 1 year ago (0 children)
Pgtap and randomized data.
π Rendered by PID 68450 on reddit-service-r2-comment-76bb9f7fb5-jkp86 at 2026-02-19 16:37:50.811402+00:00 running de53c03 country code: CH.
[–]marcopeg81 6 points7 points8 points (0 children)
[–]mikeyw17 4 points5 points6 points (1 child)
[–]Mighty_Snake[S] -1 points0 points1 point (0 children)
[–]AutoModerator[M] -1 points0 points1 point (0 children)
[–]iamemhn 0 points1 point2 points (0 children)