René's URL Explorer Experiment


Title: Update Amazon RDS max_connections with Parameter Group · Issue #16 · jollygoodcode/jollygoodcode.github.io · GitHub

Open Graph Title: Update Amazon RDS max_connections with Parameter Group · Issue #16 · jollygoodcode/jollygoodcode.github.io

X Title: Update Amazon RDS max_connections with Parameter Group · Issue #16 · jollygoodcode/jollygoodcode.github.io

Description: Do you use Amazon RDS for PostgreSQL? First, what is max_connections? Determines the maximum number of concurrent connections to the database server. max_connections on PostgreSQL Documentation When running a standby server, you must set...

Open Graph Description: Do you use Amazon RDS for PostgreSQL? First, what is max_connections? Determines the maximum number of concurrent connections to the database server. max_connections on PostgreSQL Documentation Whe...

X Description: Do you use Amazon RDS for PostgreSQL? First, what is max_connections? Determines the maximum number of concurrent connections to the database server. max_connections on PostgreSQL Documentation Whe...

Opengraph URL: https://github.com/jollygoodcode/jollygoodcode.github.io/issues/16

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update Amazon RDS max_connections with Parameter Group","articleBody":"Do you use [Amazon RDS for PostgreSQL](https://aws.amazon.com/rds/postgresql/)?\n\nFirst, what is max_connections?\n\n\u003e Determines the maximum number of concurrent connections to the database server.\n\u003e [max_connections on PostgreSQL Documentation](http://www.postgresql.org/docs/current/static/runtime-config-connection.html#GUC-MAX-CONNECTIONS)\n\nWhen running a standby server, you must set this parameter to the same or higher value than on the master server. Otherwise, queries will not be allowed in the standby server.\n\nDo you know that, by default, each instance comes with a different number of `max_connections`?\nGrab a PSQL console to your Postgres database and check now with `show max_connections;`.\n\nAccording to this [answer on StackExchange](http://dba.stackexchange.com/questions/25840/when-should-i-think-about-upgrading-our-rds-mysql-instance-based-on-memory-usage/25870#25870) (for MySQL), this is how it scales:\n\n| MODEL | max_connections |\n| --- | --- |\n| t1.micro | 34 |\n| m1-small | 125 |\n| m1-large | 623 |\n| m1-xlarge | 1263 |\n| m2-xlarge | 1441 |\n| m2-2xlarge | 2900 |\n| m2-4xlarge | 5816 |\n\nThe numbers in the `max_connections` column looks slightly awkward because they are actually calculated from a formula `DBInstanceClassMemory/magic_number` where `magic_number` differs according to the class of your instance.\n\nTo know exactly what's the `magic_number` for an instance, head over to \"Parameter Groups\" in your Amazon console:\n\n![screen shot 2016-01-28 at 11 05 39 pm](https://cloud.githubusercontent.com/assets/2112/12649189/787fd79c-c618-11e5-8fda-92adc3e0a09c.png)\n\nClick on the default Parameter Group and search for `max_connections` and you'll see the formula.\nIn my case, it's `{DBInstanceClassMemory/31457280}`.\n\n![screen shot 2016-01-28 at 11 06 10 pm](https://cloud.githubusercontent.com/assets/2112/12649213/955a824a-c618-11e5-93d1-b7ccb1c6b2c9.png)\n\nFortunately, unlike Heroku Postgres where you can't change any of the Postgres configuration, \nyou actually can modify Amazon RDS's configuration options! \n\nThis means, you can, e.g., increase the `max_connections` for a `t1.micro` instance from 34 to 100!\n\nTo do that, you can create a new Parameter Group:\n\n![screen shot 2016-01-28 at 11 11 21 pm](https://cloud.githubusercontent.com/assets/2112/12649239/b11a565e-c618-11e5-80b2-e60662377588.png)\n\nAnd update the `max_connections` to 100:\n\n![screen shot 2016-01-28 at 11 11 43 pm](https://cloud.githubusercontent.com/assets/2112/12649259/c737bfb2-c618-11e5-8c7b-9bbccfa9ecc5.png)\n\nThen, modify your existing instance's DB Parameter Group to use your new Parameter Group:\n\n![screen shot 2016-01-28 at 11 13 12 pm](https://cloud.githubusercontent.com/assets/2112/12649270/d60a49c4-c618-11e5-8ad9-a036c66d9c43.png)\n\nSave and restart your instance, and it should now have 100 connections.\n\nFinally, remember to update your Rails app (database.yml) to make use of these 100 connections.\n\nResources:\n- [\"Tune your Postgres RDS instance via parameter groups\"](http://www.davidmkerr.com/2013/11/tune-your-postgres-rds-instance-via.html)\n- [\"Should I increase max_connections in AWS RDS t1-micro for MySQL?\"](http://dba.stackexchange.com/questions/41829/should-i-increase-max-connections-in-aws-rds-t1-micro-for-mysql)\n## \n\nThanks for reading! \n\n@winston :pencil2: [Jolly Good Code](http://www.jollygoodcode.com)\n### About Jolly Good Code\n\n[![Jolly Good Code](https://cloud.githubusercontent.com/assets/1000669/9362336/72f9c406-46d2-11e5-94de-5060e83fcf83.jpg)](http://www.jollygoodcode.com)\n\nWe specialise in Agile practices and Ruby, and we love contributing to open source. \n[Speak to us](http://www.jollygoodcode.com/#get-in-touch) about your next big idea, or [check out our projects](http://www.jollygoodcode.com/open-source).  \n","author":{"url":"https://github.com/winston","@type":"Person","name":"winston"},"datePublished":"2016-01-28T15:45:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/16/jollygoodcode.github.io/issues/16"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8e8d9042-404c-1609-6f76-a8b298d8b813
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC4AC:35E4E2:66135D:8A255B:6A5EDE29
html-safe-nonce9aa4c98ed2f2ead006b1674b38712861f7aacf4a0272a644fe9b7fce92941204
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEFDOjM1RTRFMjo2NjEzNUQ6OEEyNTVCOjZBNUVERTI5IiwidmlzaXRvcl9pZCI6IjY3NTgzNDA4MjExMjgyNDA2ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac346244fb4284a65dbb40ef6c6536773280f42ade9f34b56f00c4a8145d98fb88
hovercard-subject-tagissue:129488154
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jollygoodcode/jollygoodcode.github.io/16/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7491b784118a8125b6c31416c84f96624bfaf708fae63c01902f28a60abcb685/jollygoodcode/jollygoodcode.github.io/issues/16
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7491b784118a8125b6c31416c84f96624bfaf708fae63c01902f28a60abcb685/jollygoodcode/jollygoodcode.github.io/issues/16
og:image:altDo you use Amazon RDS for PostgreSQL? First, what is max_connections? Determines the maximum number of concurrent connections to the database server. max_connections on PostgreSQL Documentation Whe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewinston
hostnamegithub.com
expected-hostnamegithub.com
None82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b
turbo-cache-controlno-preview
go-importgithub.com/jollygoodcode/jollygoodcode.github.io git https://github.com/jollygoodcode/jollygoodcode.github.io.git
octolytics-dimension-user_id5326832
octolytics-dimension-user_loginjollygoodcode
octolytics-dimension-repository_id39484578
octolytics-dimension-repository_nwojollygoodcode/jollygoodcode.github.io
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id39484578
octolytics-dimension-repository_network_root_nwojollygoodcode/jollygoodcode.github.io
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released2d913dd727d2d7ac189fb4d05b10bc34ecd03ee
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/jollygoodcode/jollygoodcode.github.io/issues/16#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjollygoodcode%2Fjollygoodcode.github.io%2Fissues%2F16
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjollygoodcode%2Fjollygoodcode.github.io%2Fissues%2F16
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=jollygoodcode%2Fjollygoodcode.github.io
Reloadhttps://github.com/jollygoodcode/jollygoodcode.github.io/issues/16
Reloadhttps://github.com/jollygoodcode/jollygoodcode.github.io/issues/16
Reloadhttps://github.com/jollygoodcode/jollygoodcode.github.io/issues/16
Please reload this pagehttps://github.com/jollygoodcode/jollygoodcode.github.io/issues/16
jollygoodcode https://github.com/jollygoodcode
jollygoodcode.github.iohttps://github.com/jollygoodcode/jollygoodcode.github.io
Notifications https://github.com/login?return_to=%2Fjollygoodcode%2Fjollygoodcode.github.io
Fork 4 https://github.com/login?return_to=%2Fjollygoodcode%2Fjollygoodcode.github.io
Star 136 https://github.com/login?return_to=%2Fjollygoodcode%2Fjollygoodcode.github.io
Code https://github.com/jollygoodcode/jollygoodcode.github.io
Issues 21 https://github.com/jollygoodcode/jollygoodcode.github.io/issues
Pull requests 0 https://github.com/jollygoodcode/jollygoodcode.github.io/pulls
Actions https://github.com/jollygoodcode/jollygoodcode.github.io/actions
Projects https://github.com/jollygoodcode/jollygoodcode.github.io/projects
Wiki https://github.com/jollygoodcode/jollygoodcode.github.io/wiki
Security and quality 0 https://github.com/jollygoodcode/jollygoodcode.github.io/security
Insights https://github.com/jollygoodcode/jollygoodcode.github.io/pulse
Code https://github.com/jollygoodcode/jollygoodcode.github.io
Issues https://github.com/jollygoodcode/jollygoodcode.github.io/issues
Pull requests https://github.com/jollygoodcode/jollygoodcode.github.io/pulls
Actions https://github.com/jollygoodcode/jollygoodcode.github.io/actions
Projects https://github.com/jollygoodcode/jollygoodcode.github.io/projects
Wiki https://github.com/jollygoodcode/jollygoodcode.github.io/wiki
Security and quality https://github.com/jollygoodcode/jollygoodcode.github.io/security
Insights https://github.com/jollygoodcode/jollygoodcode.github.io/pulse
Update Amazon RDS max_connections with Parameter Grouphttps://github.com/jollygoodcode/jollygoodcode.github.io/issues/16#top
Bloghttps://github.com/jollygoodcode/jollygoodcode.github.io/issues?q=state%3Aopen%20label%3A%22Blog%22
https://github.com/winston
winstonhttps://github.com/winston
on Jan 28, 2016https://github.com/jollygoodcode/jollygoodcode.github.io/issues/16#issue-129488154
Amazon RDS for PostgreSQLhttps://aws.amazon.com/rds/postgresql/
max_connections on PostgreSQL Documentationhttp://www.postgresql.org/docs/current/static/runtime-config-connection.html#GUC-MAX-CONNECTIONS
answer on StackExchangehttp://dba.stackexchange.com/questions/25840/when-should-i-think-about-upgrading-our-rds-mysql-instance-based-on-memory-usage/25870#25870
https://cloud.githubusercontent.com/assets/2112/12649189/787fd79c-c618-11e5-8fda-92adc3e0a09c.png
https://cloud.githubusercontent.com/assets/2112/12649213/955a824a-c618-11e5-93d1-b7ccb1c6b2c9.png
https://cloud.githubusercontent.com/assets/2112/12649239/b11a565e-c618-11e5-80b2-e60662377588.png
https://cloud.githubusercontent.com/assets/2112/12649259/c737bfb2-c618-11e5-8c7b-9bbccfa9ecc5.png
https://cloud.githubusercontent.com/assets/2112/12649270/d60a49c4-c618-11e5-8ad9-a036c66d9c43.png
"Tune your Postgres RDS instance via parameter groups"http://www.davidmkerr.com/2013/11/tune-your-postgres-rds-instance-via.html
"Should I increase max_connections in AWS RDS t1-micro for MySQL?"http://dba.stackexchange.com/questions/41829/should-i-increase-max-connections-in-aws-rds-t1-micro-for-mysql
@winstonhttps://github.com/winston
Jolly Good Codehttp://www.jollygoodcode.com
http://www.jollygoodcode.com
Speak to ushttp://www.jollygoodcode.com/#get-in-touch
check out our projectshttp://www.jollygoodcode.com/open-source
Bloghttps://github.com/jollygoodcode/jollygoodcode.github.io/issues?q=state%3Aopen%20label%3A%22Blog%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.