Search for existing answers to your product and support questions.
Familiarize yourself with our support site and learn best practices in working with our team.
Manage Service Requests, View and update service requests submitted by you and others in your organization.
Submit a new issue to our technical support team.
Oracle B2C Service insights from our Technical Support team subject matter experts
Browse resources to assist you in launching your implementation and ensure a successful go-live.
Access your OCI account.
Find product documentation for supported versions of B2C and documentation libraries for related service solutions.
You will have the tools to improve your customers' experience when you learn about all the things our products can do.
Find links for API documentation, Custom Processes, Customer Portal, and Agent Browser UI Extensibility Framework.
Explore how accelerators are designed to demonstrate how an integration scenario could be built using the public integration and extension capabilities of the Oracle B2C Service.
Prepare for a successful transition by reviewing upcoming release changes and enhancements.
Explore webinars, events, and feature kits to learn about B2C Service features, functionality, and best practices from the technical experts.
Oracle MyLearn offers a portfolio of free and paid subscription-based learning resources to help you gain valuable skills, accelerate cloud adoption, increase productivity, and transform your business.
Empower your team with the skills to implement, configure, manage, and use your applications with Customer Experience Cloud Training.
Our goal is to facilitate a friendly, supportive environment where members can easily collaborate with each other on solutions and best practices.
Ask and answer questions specific to B2C.
This is an exciting resource intended to help with your Oracle Service Cloud Analytics.
Share product improvement ideas and enhancement requests with Oracle Development, while collaborating with other Oracle customers and partners.
Update your phone number, email notification preferences, and severity 1 and severity 2 contact preferences.
View the contact managers within your organization.
Find contact information of the Technical Account Manager (TAM) and Client Success Manager (CSM) for your organization.
Environment:
Oracle B2C Service
Issue:
The presence of database (db) connection errors (max_user_connections/drizzle state read:lost connection to server/unable to configure connection) logged to a site/interface error log is an indication that the configured limit of concurrent db connections used by an Oracle B2C Service site/instance has been reached. With no remaining connections from the available pool to fulfill requests, this condition can cause site-wide errors due to all aspects of the site being unable to connect to the database. Investigating for what is the root cause of all of the trouble can be a complex task, and understanding the common causes and resolution of such problems, as well as how to work with the CX Service Support team while investigating, can be very helpful.
Resolution:
Database connection errors will occur when product-level safeguards protecting against overuse of the db resource are insufficient to appropriately limit the number of concurrent db connections in use.
What safeguards are designed into the product to avoid performance degradation and db connection problems?
These safeguards include the following (including the max_user_connections configuration itself):
When are these safeguards insufficient?
The safeguards put in place are sometimes not enough to protect a site from hitting the max_user_connections configured limit. It can be helpful to consider that Oracle B2C Service instances/sites can process a massive amount of data and transactions in a given time. Further, it happens to be that often the cause of db connection problems are less a problem with overall site/instance capacity utilization but rather the result of a single aspect of the site configuration/customization that is able to hold all of the available connections alone under certain circumstances.
How should I go about investigating db connection errors?
The first thing to do when investigating db connection issues is to confirm the error using the error log of the site/interface, or otherwise identifying such an error in a server-side trace file (by Oracle resources with access). Be aware that if one interface is showing the error, then all interfaces receiving activity at that same time are likely also receiving the same type of error showing up across all uses of the product db (for the site/instance). For this reason it is helpful to be aware that most, if not all, of the errors logged (indicating db connection problems) will be specific to the symptom of the problem rather than the cause. For this reason it is helpful to understand that some product areas that more likely to be associated with such a problem.
To investigate max_user_connections errors we want to evaluate the following:
Answer ID 8264: Optimal efficiency when creating or updating objects using CWS API
Answer ID 8887: Optimal efficiency when destroying objects using CWS API
Answer ID 9725: Avoiding issues with cascading delete
Answer ID 7972: Better to do more work in each request rather than sending more requests
Answer ID 7970: Server-side timeouts associated with the Connect Web Services for SOAP (CWS) API
What other considerations should be made when investigating max_user_connections errors?
Appropriate optimization of the db will generally cause queries to perform better, thus reducing the time that processes hold onto a db connection for a specific action involving the running of said queries. For further details on db optimization see
Answer ID 8702: Working with Technical Support to analyze and implement database indexes
Answer ID 4494: When to index a custom field
Answer ID 10440: Data management is crucial to maximize Oracle B2C Service success
Finally, there are rare cases where the investigation of db connection errors are found to involve a potential product defect or enhancement. Investigations of this nature can lead to improvements to the performance and/or scalability of the product., and can include such things as enhanced caching to fulfill requests of a certain type etc.. This possibility is an additional reason to engage CX Service Support through a Service Request if database connection issues are causing problems for a site.