Search Results asg_server_resources_pk




Overview

The ASG_SERVER_RESOURCES table is a core data object within the ASG (CRM Gateway for Mobile Devices) product family of Oracle E-Business Suite. Its primary function is to manage and track the association between mobile application users, known as resources, and the specific middle-tier application server instances they are connected to. This table is essential for the operational integrity of the CRM Gateway, which facilitates data synchronization between mobile devices and the central E-Business Suite database. By maintaining a real-time mapping of user sessions to servers, it enables efficient session management, load distribution, and synchronization routing within the mobile infrastructure.

Key Information Stored

The table's structure is designed to enforce and record the critical link between a user and a server. Its primary key is a composite of two columns, which are also its most significant data points. The RESOURCE_ID column stores the unique identifier for a mobile application user or resource, typically corresponding to an employee or partner using the mobile CRM application. The SERVER_ID column stores the unique identifier for the middle-tier synchronization server (ASG_SYNCH_SERVER) to which that user is currently connected. While the provided metadata focuses on these key columns, the table likely contains additional audit columns such as creation date or last update date to track session lifecycle.

Common Use Cases and Queries

The primary use case for this table is administrative monitoring and troubleshooting of the mobile user landscape. System administrators can query it to assess server load, identify active user sessions, and diagnose synchronization issues. Common reporting queries include identifying all users on a specific server, finding which server a particular user is connected to, or generating a count of active users per server for capacity planning. A typical SQL pattern would involve joining with the ASG_SYNCH_SERVER table to get server details.

  • To list all active resources on a specific server: SELECT resource_id FROM asg_server_resources WHERE server_id = :p_server_id;
  • To count active users per server: SELECT server_id, COUNT(resource_id) FROM asg_server_resources GROUP BY server_id;
  • To find a user's assigned server: SELECT server_id FROM asg_server_resources WHERE resource_id = :p_resource_id;

Related Objects

The ASG_SERVER_RESOURCES table has a direct and documented foreign key relationship, defining its primary dependency within the schema. It references the ASG_SYNCH_SERVER table via the SERVER_ID column. The ASG_SYNCH_SERVER table contains the configuration and definitional details of the middle-tier synchronization servers themselves. Therefore, any meaningful report or application logic concerning user-server mappings will invariably involve a join between ASG_SERVER_RESOURCES and ASG_SYNCH_SERVER to resolve server IDs into meaningful server names or addresses. The table's primary key constraint, ASG_SERVER_RESOURCES_PK, ensures the uniqueness of each resource-to-server association.