A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
The current invention relates generally to viewing metadata in a database network system.
The subject matter discussed in the background section should not be assumed to be prior art merely as a result of its mention in the background section. Similarly, a problem mentioned in the background section or associated with the subject matter of the background section should not be assumed to have been previously recognized in the prior art. The subject matter in the background section merely represents different approaches, which in and of themselves may also be inventions.
In conventional database systems, users access their data resources in one logical database. A user of such a conventional system typically retrieves data from and stores data on the system using the user's own systems. A user system might remotely access one of a plurality of server systems that might in turn access the database system. Data retrieval from the system might include the issuance of a query from the user system to the database system. The database system might process the request for information received in the query and send to the user system, information relevant to the request. The rapid and efficient retrieval of accurate information and subsequent delivery of this information to the user system has been and continues to be a goal of administrators of database systems.
Unfortunately, conventional database development tools might be inefficient and/or confuse a database developer if, for example, the tool cannot display information about all entities defined in a data dictionary, the information including basic information, fields, dependencies, metadata, and standard and custom objects, or the tool cannot display dependency information in a visual format that makes it easier for developers to understand the dependencies.
Accordingly, it is desirable to provide techniques that simplify the understanding of dependencies between database entities represented in the data dictionary, and provide dependency information of entities in a data dictionary in a visual format that may improve the ease of understanding the database system.
In the following drawings like reference numbers are used to refer to like elements. Although the following figures depict various examples, the one or more implementations are not limited to the examples depicted in the figures.
a shows a screenshot of an embodiment of the unified data dictionary explorer tool with a graphical view;
b shows a screenshot of an embodiment of the unified data dictionary explorer tool with a graphical view;
Systems and methods are provided for exploring objects in a UDD in a multi-tenant database system.
Although various embodiments of the invention may have been motivated by various deficiencies with the prior art, which may be discussed or alluded to in one or more places in the specification, the embodiments of the invention do not necessarily address any of these deficiencies. In other words, different embodiments of the invention may address different deficiencies that may be discussed in the specification. Some embodiments may only partially address some deficiencies or just one deficiency that may be discussed in the specification, and some embodiments may not address any of these deficiencies.
As used herein, the term multi-tenant database system refers to a database system that has multiple tenants that each has a degree of access to at least a portion of the database system that may or may not be the same as the degree of access as other tenants. Each tenant may be an individual or an organization that may have representatives, members, employees, customers and/or other entities associated with the tenant, which in turn may also have different degrees of access to the database. The degree of access granted to those associated with the tenant and/or which entities (e.g., representatives, members, employees, customers and/or other entities) are associated with the tenant may be determined by the tenant. The database system may include multiple databases, and each database may be partitioned and/or otherwise shared amongst multiple tenants.
Next, mechanisms and methods for exploring objects in a UDD will be described with reference to example embodiments. In this specification metadata refers to the information about the data in the multi-tenant database system. Metadata describes the characteristics of the data objects such as the type, the name and the size of the data. Metadata may also contain information about the data table as such as the length of fields, the number of columns and other information. Metadata may include the relationship of the data objects. Metadata may help in understanding and interpreting the contents of a database system.
Server side system 100 may be part of a multi-tenant system. UDD 101 may be the unified data dictionary, e.g., UDD 101 may contain metadata, object and class definitions for creating and defining objects. Multi-tenant applications may be relational-database centric. To abstract away from the database schema in the application server tier, applications need metadata definitions of the physical database schema. In other words, by using the objects available in UDD 101 a developer could write code that performed at least some operations related to a database without having to interact with the database directly (e.g., without necessarily writing SQL statements). The objects in UDD 101 may include objects for retrieving data, generating reports, and/or formatting reports as well as many other operations related to databases. Applications need the ability to use CRUD (create, read, update, delete) operations to view and manipulate database rows. In this specification, the names of objects, pointers, and variables are chosen to describe the function and/or purpose of the object, pointer or variable. The specification is not limited to the specific objects, variables or pointers mentioned, but any combination of objects, variables, or pointers that will accomplish the same or a similar purpose may be substituted for the specific object, pointer or variable mentioned.
UDD 101 may include objects which may form an abstraction away for the database that interprets the physical database schema as well as the CRUD operations to view and manipulate individual database rows. Forms, reports, workflows, user access privileges, tenant-specific customization and business logic, and the underlying data tables and indexes may be defined in UDD 101. UDD 101 provides the properties to define business data, such as accounts and contacts, and metadata, such as packaging. A property may control business data or metadata. In an embodiment, in many case a property does not control both the business data and metadata.
In an embodiment, that multi-tenant database application applications use UDD 101 to automatically associate specific features with specific types of objects. For example, the user interface may rely of UDD 101 for specifying that specific features are present in the user interface, e.g., by calling classes, methods, functions, and/or using other features or properties stored in UDD 101. The look and feel of an individual data row (a row may also be called a record) may be established by UDD 101. UDD 101 may facilitate describing and accessing data in a manner that is useful for the application programming interface (API). UDD 101 may contain features that assist in UDD 101 converting a user request into raw query (e.g., into SQL) that may be run on the database, which may be used a query tool.
Creating a simple database table and corresponding XML definition helps in inspecting the metadata created and performing basic data operations on it. UDD 101 may be associated with UDD hooks that may enable writing custom logic to accommodate specific functionality that UDD 101 may not provide to all entities by default. In this specification hooks refer to codes that intercept function calls, messages, or events that are passed between software components.
UDD 101 may include active and/or passive portions. Metadata definitions and operations may be defined in the passive portion of the Data Dictionary, which may be stored in a file and if written in XML, UDD 101 may be stored in an xml file. The metadata of UDD 101 may include or stored in database tables, that define objects such as Account, Contact, and Case, and custom objects and fields. Each table may have columns, indexes, and constraints that are defined in UDD 101. The classes (e.g., JAVA classes or C classes) representing the metadata may be located in the common.UDD 101 java package or in another location. In an embodiment, the database tables of UDD 101 metadata may be instantiated during application server startup. Passive UDD 101 may be updated manually when there is an update to the metadata of UDD 101.
CRUD operations on individual database rows may be defined in the active UDD 101. CRUD operations may have the lifecycle of a single request to the application server. For example, creating a new account record or updating a user may be data operations. Modifications to the database can change the active UDD 101. The active UDD 101 may map object relations and be or may be included in an object-relationship mapping layer.
In an embodiment in a multi-tenant database system, application server 102 sends data and other messages (e.g., output from API routines called by the user system) to user systems, retrieves data and other information for users, receives messages (e.g., the results of interacting with data and/or functions calls to API functions from users (user system is described further in conjunction with
UDD explorer 106 may be a tool that allows the user to explore UDD 101. In other words, UDD explorer 106 may be a tool for retrieving, navigating, and viewing pages (e.g., webpages) that provide information about individual UDD entities and the relationships of the UDD entities with other entities (which may also be UDD entities. In an embodiment, UDD explorer 106 may be used by internal database developers to understand dependencies between multitenant application entities that are represented in UDD 101. UDD explorer 106 shows dependencies between metadata (for example: Custom Object & Tab) and data entities (for example, a database table for accounts & contacts), which may be generic to all organizations of the multitenant database, and may show organization-specific dependencies between metadata and data entities depending on the organizations permanent/preferred settings. The dependency information of entities enable database developers to efficiently explore objects in UDD 101 and better understand the dependencies of entities in the database. In an embodiment, the tool may be used by customers for showing organization specific information in a visual format. UDD explorer 106 may be used by developers, a quality assurance team, and project managers, and may be used in documentation related to a system having a UDD.
UDD explorer 106 may show information about entities defined in UDD 101 irrespective of an organization type such as basic information, fields, dependencies, entities that refer to an entity and entities that an entity may refer to.
UDD explorer 106 may use UDD 101.EntityCommon methods to get the information about the entities. UDD 101.EntityCommon may be a collection of application that defines the standard objects used by the multi-tenant database users. UDD explorer 106 may also show information about all entities defined for a specific organization such as standard and custom objects and metadata dependencies. Entities may be searched using KeyPrefix, Entity Label and Entity Name.
UDD explorer 106 uses information gathering method of UDD 101 and/or other methods for to getting information about entities. The information gathering methods UDD 101 may include data definitions for modified standard objects and custom objects specific to each organization. UDD explorer 106 may also show all the dependency information in a visual format that makes it easier for users to understand.
UDD explorer 106 supports UDD 101 information layer and UDD 101 common layers. UDD 101 common layer may provide information on organization-independent metadata and may not contain any information on custom fields, objects, or relationships. The common layers define standard entities that are used by all users of UDD 101 and in an embodiment are the core of UDD 101. The common layer may be available in non-production environments and provides information about entities defined in UDD 101 irrespective of the type of organization. The common layer may be accessed from a link from a tab having a set of tools used to monitor the custom objects and fields created by the tenants of the multi-tenant database system and to monitor the relationships between object (such as the relationships between objects and fields). UDD 101 information layer provides information on organization-specific metadata including custom fields, objects and relationships and may be available in all with access to the black tab. The information layer may be used to make modifications to permissions and fields on the common layer so customize the entities for specific users and organizations.
Other applications 108 may include applications required to perform database operations and one or more instructions that cause a processor to render a webpage. Rendering the webpage may involve performing computations, such as retrieving information, which may be in response to the user input.
Database 110 may be a multi-tenant relational database having different portions dedicated to different tenants. As a result of implementing application platform 104, application server 102 may access database 110 to store information received from the user system or may receive a messages that triggers a query for information stored in database 110. Database 110 may include a database server and a database. Application server 102, as a result of a message form a user triggering a query, may also retrieve information from database 110 requested by the tenant. Users, such as developers, may access database 110, via applications server 102 in order to test and/or add/modify features to database 110.
UDD 101, application server 102, UDD explorer 106, database 110 were discussed above in
In an embodiment, the user system may receive a unified data dictionary explorer tool along with the entity or entity relationship information in a graphical format having color-coded nodes. In an embodiment, each node or relationship entity may be loaded on the fly and asynchronously, where unloaded nodes are indicated with a special designation, which may be replaced with the number of child relationships once the nodes are loaded. While the present invention may be described with reference to an embodiment in which techniques for exploring objects in UDD 101 are implemented in a system having an application server providing a front end for an on-demand database service capable of supporting multiple tenants, the present invention is not limited to multi-tenant databases or deployment on application servers. Embodiments may be practiced using other database architectures, i.e., ORACLE®, DB2® by IBM and the like without departing from the scope of the embodiments claimed.
In an embodiment, each of the steps of method 300 may be a distinct step. In other embodiments, method 300 may not have all of the above steps and/or may have other steps in addition to or instead of those listed above. The steps of method 300 may be performed in another order. Subsets of the steps listed above as part of method 300 may be used to form their own method. In an embodiment, there could be multiple instances of method 300.
In step 402, the server system (discussed in conjunction with
In an embodiment, each of the steps of method 400 may be a distinct step. In other embodiments, method 400 may not have all of the above steps and/or may have other steps in addition to or instead of those listed above. The steps of method 400 may be performed in another order. Subsets of the steps listed above as part of method 400 may be used to form their own method. In an embodiment, there could be multiple instances of method 400.
a shows a screenshot of an embodiment of a portion of a page of user interface 500a of an embodiment of the unified data dictionary explorer tool showing an example of a requested entity with a graphical view. User interface 500a has header 502, layer 504, organization 506, entity 508, org-id 510, mode 512, switch 513, and entity search 515. In other embodiments, user interface 500a may not have all of the elements listed and/or may have other elements instead of or in addition to those listed.
User interface 500a may provide a tree view, which is a graphical view, showing the dependencies to or from the currently selected entity object. The tree view may provide the same information and/or similar information as is usually provided in an Entity Relationship Diagram. The tree view may be used to show all dependencies for a specific entity, such as the ApexPage. For example, for the ApexPage, the tree view displays all entities that may refer to Apex Page and all entities that an Apex Page may refer to (which may include a Created By object). In an embodiment, optionally, the tree view also shows all fields of the entities, which facilitates documentation personnel documenting information about the entity, so that the tree view may be used by documentation personnel as a basis for making ERDs. In an embodiment, different visibility modes may support many tree requests. The tree view may include other functions, such as a search tool for entities that match a certain criteria. For example, a filter may be provided, or a search tool may be provided that allows a user to enter a search for all entities that are workflow enabled. The views of
User interface 500a has header 502 which displays the name UDD explorer, layer type, name of the viewing organization, entity, organization identification number and the mode. Layer 504 displays the layer of the UDD, such as common layer or information layer, currently being viewed. In the screen shot of
b shows a screenshot of an embodiment of a portion of a page of user interface 500b of an embodiment of the unified data dictionary explorer tool showing an example of a requested entity with a graphical view. User interface 500b has graphical view 514, unloaded node 516 and loaded node 518. In other embodiments, user interface 500b may not have all of the elements listed and/or may have other elements instead of or in addition to those listed.
Graphical view 514 shows the graphical view of the UDD entity and relationship of the UDD entity selected to other UDD entities. Graphical view 514 may provide a customizable interactive graphical view of the relationships of an entity with color coded nodes, with each color indicating a different type of an object. As alluded to above, each node or relationship entity may be loaded on the fly, asynchronously. By loading the nodes on the fly, the information presented in UDD explorer 106 is as update as UDD 101. The graphical view has a pull down menu for selecting the direction of relationship between objects or other entities, type of field and filter. The direction of relationship may be whether nodes are, inheriting from, inherited by, depend on, are depended upon, or otherwise referred to or referred by the entity object represented by other nodes. The type of field to display in the graphical view refers to the standard fields, custom fields or all fields. By selecting standard, the only filed displayed are the standard relationships. By selecting custom, the only relationships that are displayed are the custom relationships. The custom relationships are those that are unique to a particular tenant, and the standard relationships are those that are provided to all tenants and/or do not involve any specific tenant. The filter field may be the additional filter of the types of information to display such as value, relationships or all.
Unloaded node 516 may be a node or relationship that is not loaded. Unloaded nodes may be denoted by a symbol and later replaced with the number of child relationships by selecting the node. In an embodiment, the symbol representing an unloaded node may be a question mark (“?”). Loaded node 518 may be a node indicating the number of child relationships. In the screenshot loaded node 518 is loaded with 8 nodes.
Header 600 is a different view of the header of
Filters 606 are generated for each Boolean property of an entity through Java reflection. The user interface may provide the ability to filter the information provided based on the values of up to 4 boolean properties that may be selected using the drop down pick lists in the filters panel. A value of none may be selected for any unused filters. Toggle 608 when selected may show or hide filters. Filter button 610 when selected may filter and update the auto-complete dictionary, so that auto complete shows matches on the filtered results. Entities 612 when selected bypass the auto-complete and list all entities in the auto dictionary, which may be useful for displaying results on filters.
Entity 700 depicts the entity fields tab having information about all fields of an entity including name, label, id, and permissions. Entity 700 has entity tab 702 selected displaying basic information about the entity and the properties associated with the entity. Fields 703a is the tab currently selected, which displays information about the fields of the entity, which may include a list of fields and the properties of the fields. Referencing 703b is a tab, which once selected, brings the user to a page displaying general information about all fields, and the entities that have that field and that refer to the current entity. Graphical view 703c when selected displays a customizable interactive graphical view of the relationships of an Entity with color coded nodes, a screenshot similar to, or such as screenshot 500. Name 704 lists the name of the fields of the current entity. Label 706 lists the label associated with the fields of the entity, which are displayed to the user, so the user knows what the field is for. Type 708 lists the type of the field of the entity object. Each type may have certain properties associated with that type, such as whether the field will accept any text or just numerical input and/or the number of characters in the field. Permission 710 shows the permission associated with an entity, such as whether the field is readable by the user and/or editable by the user. Custom 712 is a column that indicates whether each filed is a custom field provided on a tenant by tenant basis or whether the field is standard. Calculated 714 is a column that indicates weather the field contains a value that is calculated. If the field is not calculated, the filed may be an input field or another form of output. Id 716 is column that indicates the id of each field.
Environment 810 is an environment in which an on-demand database service exists. User system 812 may be any machine or system that is used by a user to access a database user system. For example, any of user systems 812 may be a handheld computing device, a mobile phone, a laptop computer, a work station, and/or a network of computing devices. As illustrated in
An on-demand database service, such as system 816, is a database system that is made available to outside users that do not need to necessarily be concerned with building and/or maintaining the database system, but instead may be available for their use when the users need the database system (e.g., on the demand of the users). Some on-demand database services may store information from one or more tenants stored into tables of a common database image to form a multi-tenant database system (MTS). Accordingly, “on-demand database service 816” and “system 816” will be used interchangeably herein. A database image may include one or more database objects. A relational database management system (RDMS) or the equivalent may execute storage and retrieval of information against the database object(s). Application platform 818 may be a framework that allows the applications of system 816 to run, such as the hardware and/or software, e.g., the operating system. In an embodiment, on-demand database service 816 may include an application platform 818 that enables creation, managing and executing one or more applications developed by the provider of the on-demand database service, users accessing the on-demand database service via user systems 812, or third party application developers accessing the on-demand database service via user systems 812.
The users of user systems 812 may differ in their respective capacities, and the capacity of a particular user system 812 might be entirely determined by permissions (permission levels) for the current user. For example, where a salesperson is using a particular user system 812 to interact with system 816, that user system has the capacities allotted to that salesperson. However, while an administrator is using that user system to interact with system 816, that user system has the capacities allotted to that administrator. In systems with a hierarchical role model, users at one permission level may have access to applications, data, and database information accessible by a lower permission level user, but may not have access to certain applications, database information, and data accessible by a user at a higher permission level. Thus, different users will have different capabilities with regard to accessing and modifying application and database information, depending on a user's security or permission level.
Network 814 is any network or combination of networks of devices that communicate with one another. For example, network 814 may be any one or any combination of a LAN (local area network), WAN (wide area network), telephone network, wireless network, point-to-point network, star network, token ring network, hub network, or other appropriate configuration. As the most common type of computer network in current use is a TCP/IP (Transfer Control Protocol and Internet Protocol) network, such as the global internetwork of networks often referred to as the “Internet” with a capital “I,” that network will be used in many of the examples herein. However, it should be understood that the networks that the one or more implementations might use are not so limited, although TCP/IP is a frequently implemented protocol.
User systems 812 might communicate with system 816 using TCP/IP and, at a higher network level, use other common Internet protocols to communicate, such as HTTP, FTP, AFS, WAP, etc. In an example where HTTP is used, user system 812 might include an HTTP client commonly referred to as a “browser” for sending and receiving HTTP messages to and from an HTTP server at system 816. Such an HTTP server might be implemented as the sole network interface between system 816 and network 814, but other techniques might be used as well or instead. In some implementations, the interface between system 816 and network 814 includes load sharing functionality, such as round-robin HTTP request distributors to balance loads and distribute incoming HTTP requests evenly over a plurality of servers. At least as for the users that are accessing that server, each of the plurality of servers has access to the MTS′ data; however, other alternative configurations may be used instead.
In one embodiment, system 816, shown in
One arrangement for elements of system 816 is shown in
Several elements in the system shown in
According to one embodiment, each user system 812 and all of its components are operator configurable using applications, such as a browser, including computer code run using a central processing unit such as an Intel Pentium® processor or the like. Similarly, system 816 (and additional instances of an MTS, where more than one is present) and all of their components might be operator configurable using application(s) including computer code to run using a central processing unit such as processor system 817, which may include an Intel Pentium® processor or the like, and/or multiple processor units. A computer program product embodiment includes a machine-readable storage medium (media) having instructions stored thereon/in which may be used to program a computer to perform any of the processes of the embodiments described herein. Computer code for operating and configuring system 816 to intercommunicate and to process webpages, applications and other data and media content as described herein are preferably downloaded and stored on a hard disk, but the entire program code, or portions thereof, may also be stored in any other volatile or non-volatile memory medium or device as is well known, such as a ROM or RAM, or provided on any media capable of storing program code, such as any type of rotating media including floppy disks, optical discs, digital versatile disk (DVD), compact disk (CD), microdrive, and magneto-optical disks, and magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data. Additionally, the entire program code, or portions thereof, may be transmitted and downloaded from a software source over a transmission medium, e.g., over the Internet, or from another server, as is well known, or transmitted over any other conventional network connection as is well known (e.g., extranet, VPN, LAN, etc.) using any communication medium and protocols (e.g., TCP/IP, HTTP, HTTPS, Ethernet, etc.) as are well known. It will also be appreciated that computer code for implementing embodiments may be implemented in any programming language that may be executed on a client system and/or server or server system such as, for example, C, C++, HTML, any other markup language, Java™, JavaScript, ActiveX, any other scripting language, such as VBScript, and many other programming languages as are well known may be used. (Java™ is a trademark of Sun Microsystems, Inc.).
According to one embodiment, each system 816 is configured to provide webpages, forms, applications, data and media content to user (client) systems 812 to support the access by user systems 812 as tenants of system 816. As such, system 816 provides security mechanisms to keep each tenant's data separate unless the data is shared. If more than one MTS is used, they may be located in close proximity to one another (e.g., in a server farm located in a single building or campus), or they may be distributed at locations remote from one another (e.g., one or more servers located in city A and one or more servers located in city B). As used herein, each MTS could include one or more logically and/or physically connected servers distributed locally or across one or more geographic locations. Additionally, the term “server” is meant to include a computer system, including processing hardware and process space(s), and an associated storage system and database application (e.g., OODBMS or RDBMS) as is well known in the art. It should also be understood that “server system” and “server” are often used interchangeably herein. Similarly, the database object described herein may be implemented as single databases, a distributed database, a collection of distributed databases, a database with redundant online or offline backups or other redundancies, etc., and might include a distributed database or storage network and associated processing intelligence.
User system 812, network 814, system 816, tenant data storage 822, and system data storage 824 were discussed above in
Application platform 818 includes an application setup mechanism 938 that supports application developers' creation and management of applications, which may be saved as metadata into tenant data storage 822 by save routines 936 for execution by subscribers as one or more tenant process spaces 804 managed by tenant management process 810 for example. Invocations to such applications may be coded using PL/SOQL 934 that provides a programming language style interface extension to API 932. A detailed description of some PL/SOQL language embodiments is discussed in commonly owned co-pending U.S. Provisional Patent Application 60/828,192 entitled, PROGRAMMING LANGUAGE METHOD AND SYSTEM FOR EXTENDING APIS TO EXECUTE IN CONJUNCTION WITH DATABASE APIS, by Craig Weissman, filed Oct. 4, 2006, which is incorporated in its entirety herein for all purposes. Invocations to applications may be detected by one or more system processes, which manage retrieving application metadata 816 for the subscriber making the invocation and executing the metadata as an application in a virtual machine.
Each application server 900 may be communicably coupled to database systems, e.g., having access to system data 925 and tenant data 923, via a different network connection. For example, one application server 9001 might be coupled via the network 814 (e.g., the Internet), another application server 900N-1 might be coupled via a direct network link, and another application server 900N might be coupled by yet a different network connection. Transfer Control Protocol and Internet Protocol (TCP/IP) are typical protocols for communicating between application servers 900 and the database system. However, it will be apparent to one skilled in the art that other transport protocols may be used to optimize the system depending on the network interconnect used.
In certain embodiments, each application server 900 is configured to handle requests for any user associated with any organization that is a tenant. Because it is desirable to be able to add and remove application servers from the server pool at any time for any reason, there is preferably no server affinity for a user and/or organization to a specific application server 900. In one embodiment, therefore, an interface system implementing a load balancing function (e.g., an F5 Big-IP load balancer) is communicably coupled between the application servers 900 and the user systems 812 to distribute requests to the application servers 900. In one embodiment, the load balancer uses a least connections algorithm to route user requests to the application servers 900. Other examples of load balancing algorithms, such as round robin and observed response time, also may be used. For example, in certain embodiments, three consecutive requests from the same user could hit three different application servers 900, and three requests from different users could hit the same application server 900. In this manner, system 816 is multi-tenant, wherein system 816 handles storage of, and access to, different objects, data and applications across disparate users and organizations.
As an example of storage, one tenant might be a company that employs a sales force where each salesperson uses system 816 to manage their sales process. Thus, a user might maintain contact data, leads data, customer follow-up data, performance data, goals and progress data, etc., all applicable to that user's personal sales process (e.g., in tenant data storage 822). In an example of a MTS arrangement, since all of the data and the applications to access, view, modify, report, transmit, calculate, etc., may be maintained and accessed by a user system having nothing more than network access, the user may manage his or her sales efforts and cycles from any of many different user systems. For example, if a salesperson is visiting a customer and the customer has Internet access in their lobby, the salesperson may obtain critical updates as to that customer while waiting for the customer to arrive in the lobby.
While each user's data might be separate from other users' data regardless of the employers of each user, some data might be organization-wide data shared or accessible by a plurality of users or all of the users for a given organization that is a tenant. Thus, there might be some data structures managed by system 816 that are allocated at the tenant level while other data structures might be managed at the user level. Because an MTS might support multiple tenants including possible competitors, the MTS should have security protocols that keep data, applications, and application use separate. Also, because many tenants may opt for access to an MTS rather than maintain their own system, redundancy, up-time, and backup are additional functions that may be implemented in the MTS. In addition to user-specific data and tenant specific data, system 816 might also maintain system level data usable by multiple tenants or other data. Such system level data might include industry reports, news, postings, and the like that are sharable among tenants.
In certain embodiments, user systems 812 (which may be client systems) communicate with application servers 900 to request and update system-level and tenant-level data from system 816 that may require sending one or more queries to tenant data storage 822 and/or system data storage 824. System 816 (e.g., an application server 900 in system 816) automatically generates one or more SQL statements (e.g., one or more SQL queries) that are designed to access the desired information. System data storage 824 may generate query plans to access the requested data from the database.
Each database may generally be viewed as a collection of objects, such as a set of logical tables, containing data fitted into predefined categories. A “table” is one representation of a data object, and may be used herein to simplify the conceptual description of objects and custom objects. It should be understood that “table” and “object” may be used interchangeably herein. Each table generally contains one or more data categories logically arranged as columns or fields in a viewable schema. Each row or record of a table contains an instance of data for each category defined by the fields. For example, a CRM database may include a table that describes a customer with fields for basic contact information such as name, address, phone number, fax number, etc. Another table might describe a purchase order, including fields for information such as customer, product, sale price, date, etc. In some multi-tenant database systems, standard entity tables might be provided for use by all tenants. For CRM database applications, such standard entities might include tables for Account, Contact, Lead, and Opportunity data, each containing pre-defined fields. It should be understood that the word “entity” may also be used interchangeably herein with “object” and “table”.
In some multi-tenant database systems, tenants may be allowed to create and store custom objects, or they may be allowed to customize standard entities or objects, for example by creating custom fields for standard objects, including custom index fields. U.S. patent application Ser. No. 10/8128,161, filed Apr. 2, 2004, entitled “Custom Entities and Fields in a Multi-Tenant Database System”, and which is hereby incorporated herein by reference, teaches systems and methods for creating custom objects as well as customizing standard objects in a multi-tenant database system. In certain embodiments, for example, all custom entity data rows are stored in a single multi-tenant physical table, which may contain multiple logical tables per organization. It is transparent to customers that their multiple “tables” are in fact stored in one large table or that their data may be stored in the same table as the data of other customers.
In step 1104, system 816 (
In step 1106, user system 812 is communicatively coupled to network 904. In step 1108, system 816 is communicatively coupled to network 904 allowing user system 812 and system 816 to communicate with one another (
While one or more implementations have been described by way of example and in terms of the specific embodiments, it is to be understood that one or more implementations are not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Each embodiment disclosed herein may be used or otherwise combined with any of the other embodiments disclosed. Any element of any embodiment may be used in any embodiment.
Although the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the true spirit and scope of the invention. In addition, modifications may be made without departing from the essential teachings of the invention.
This application claims the benefit of U.S. Provisional Patent Application 61/395,654 entitled, METHOD AND SYSTEM FOR EXPLORING OBJECTS IN A DATA DICTIONARY, by Reena Mathew et al., filed on May 13, 2010 (Attorney Docket No. 48-27/335PROV), the entire contents of which are incorporated herein by reference. The following commonly owned, co-pending United States patents and patent applications, including the present application, are related to each other. Each of the other patents/applications are incorporated by reference herein in its entirety: U.S. Provisional Patent Application 61/395,654 entitled, METHOD AND SYSTEM FOR EXPLORING OBJECTS IN A DATA DICTIONARY, by Reena Mathew et al., filed on May 13, 2010 (Attorney Docket No. 48-27/335PROV), and U.S. patent application Ser. No. ______ entitled, METHOD AND SYSTEM FOR EXPLORING OBJECTS IN A DATA DICTIONARY, by Reena Mathew et al., filed —, 2011 (Attorney Docket No. 48-38/335US).
Number | Date | Country | |
---|---|---|---|
61395654 | May 2010 | US |