The present invention relates to client-server communications in general. More specifically, the present application relates to sending statements for execution by a database server.
The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section.
In the field of databases, clients send database commands, such as Structured Query Language (SQL) statements, to a database server for execution. Each of the SQL statements is sent to the database server in a separate call to the interface of the database server.
In the past, while executing client programs with processing logic statements, all the SQL statements were sent one-by-one to the server and executed. When each SQL statement is sent to the server, transmission information is also sent from the client to the server. Such transmission information may include, for example:
Prior SQL engines do not concurrently process more than one database statement per session at a time. Although parallel processing may be performed for instructions associated with the same database statement (e.g., an insert statement may be executed by causing several slave processes to insert in parallel), parallel processing is not performed across database statements. Similarly, query slaves or database statement slaves may perform various tasks in parallel that correspond to a single query or database statement, but do not perform in parallel tasks associated with different database statements. Consequently, although instructions associated with the same database statement may be processed in parallel, instructions associated with different database statements are processed sequentially.
Although it may be possible to effect parallel execution of different database statements by writing code to essentially start concurrent client sessions and invoking the database server from each of them, concurrent execution in this fashion is cumbersome.
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
A method and apparatus for providing support for executing groups of database statements, such as Structured Query Language (SQL) statements, is described. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention.
Several features are described hereafter that can each be used independently of one another or with any combination of the other features. However, any individual feature may not address any of the problems discussed above or may only address one of the problems discussed above. Some of the problems discussed above may not be fully addressed by any of the features described herein. Although headings are provided, information related to a particular heading, but not found in the section having that heading, may also be found elsewhere in the specification.
There are classes of database applications, such as complex report generation and data warehousing applications, that present opportunities for improving performance using a batch based client-server communication protocol. For such database applications, multiple database statements can be sent together to a server in a batch. In an embodiment, the batching of the database statements (i.e., the placing of database statements in a batch) is performed in manner that improves the turnaround time of all of the database statements batched together. The batched communications may result in a reduction in the round-trip overhead of executing the database statements, because a batch of database statements is sent to the server all at once. When the database statements are bundled together and sent to the server, the transmission data may be sent only once. Consequently, by using batched database statements, the turnaround time for returning results of the execution of the database statements to the client is reduced. Additionally, the amount of data sent to the server is also reduced.
In order to more fully understand the reduction of data sent, consider the communication between a client and a server when database statements are sent. By batching a sequence of database statements and sending the database statements to the server, there is a reduction in the communication overhead, the number of context switches between the client (such as OCI) and the database server, and the number of request and reply sequences between the client and the server. The reduction in the number of context switches, the number of request and reply sequences, and in the number of times the transmission data is sent to the server helps improve performance.
In an embodiment, batch transmission of database commands is facilitated by an application interface (which in an embodiment includes a Call Interface (CI) communication protocol, such as the Oracle Call Interface (OCI)) for batch statement execution, and a program interface communication protocol for batch statement execution (which in an embodiment includes a Program Interface (PI), such as the Oracle Program Interface (OPI)). The structure for representing a batch of database statements and the mechanism for communicating (e.g., sending and/or receiving at both the client and server) a batch of database statements over the network is also described. In an embodiment, a batch of database statements may contain one or more bundles of database statements. In one embodiment, the statements within a bundle must be executed sequentially with respect to one another. However, there are no requirements regarding the sequence of the execution of statements in each of the bundles with respect to statements in other bundles. The statements in different bundles may be executed concurrently (e.g., in parallel), for example.
In the techniques described herein for communicating database statements in batches, the bundles may be used regardless of whether the database server is capable of concurrently executing multiple relational database instructions (such as SQL statements). For servers that support concurrent execution, the use of batches leads to a reduction in execution time, because the server is aware that the database statements in different bundles may be processed in parallel.
Additionally, in an embodiment, the batches and bundles therein do not add a significant amount of processing time or otherwise significantly degrade the performance of servers that do not support concurrent execution of database statements. Although two statements may be executed in any order with respect to one another, the server takes care of associating the results with the appropriate statements, and the programmer or client-side program does not have to do any special processing. In an embodiment, although various database statements are processed in parallel, the results of the processing are returned in the order presented to the server or in another embodiment the execution results are returned in the order that the corresponding database statements are listed in the human readable code written by the programmer. Keeping the order of the response the same as in the request helps ensure that the existing communication overhead for sending the results between the client and server does not increase as a result of the parallel processing and/or batching of the statements. If the order of the response is the same as in the request, the client communication layer essentially only needs to read the results in the order that the statements of the batch are sent, reducing the communication overhead when compared to were the results sent in another order. In an embodiment, the client may not know whether the server processed the database statements sequentially or in parallel. The use of batches is useful for database applications, such as complex report generation and data warehousing, that contain large numbers of database statements.
Client Server Communication
In an embodiment, the client-side 102 allows a user to enter database statements and sends database statements to the server-side for execution. Client-side 102 also receives results of the execution of the database statements, and presents the results to the user.
Client-side interface layer 104 is within the same logical layer as the database application that issues the database statements, and is the interface between the database application and other components on the client-side 102. The database application issues the database statements by calling client-side interface layer 104, and receives results of the execution of the database statement through client-side interface layer 104.
According to an embodiment of the invention, client-side communication layer 106 sends database statements from client-side 102 to server-side 110, and receives results of executing the database statements from server-side 110 to client-side 102. Client-side communication layer 106 supports the use of batches of database statements in which some or all the statements within a given batch may be grouped into bundles. Batches and their bundles will be discussed in greater detail in conjunction with
Client-side network layer 108 sends network level communications (e.g., TCP/IP communications) from client-side 102 to server-side 110, and receives network level communications from server-side 110 to client-side 102.
Batch of statements 109 generally represent a plurality of database statements, being sent from the clients-side 102 for execution on the server-side 110. Batch of statements 109 include a plurality of database statements, and may be organized into bundles.
The server-side 110 receives database queries and other database statements from client-side 102, and is the location to which client-side 102 sends the database statements for execution. Server-side 110 executes the database statements, and returns the results of the execution to client-side 102. The components of client-side 102 and the components of server-side 110 may run on the same machine, or may run on different machines connected by a network connection.
Server-side interface layer 112 is the interface between the database server and other programs. The program interface of the server resides at the server-side interface layer 112. Additionally, an administrator may interface with server-side 110 via server-side interface layer 112. A database statement coming from server-side communication layer 114 is provided to server-side 110 via server-side interface layer 112. Server-side interface layer 112 passes results of the execution to server-side communication layer 114.
Server-side communication layer 114 passes a batch of statements 109 received from client-side communication layer 106 to server-side interface layer 112, and sends results of executing batch of statements 109 received from server-side interface layer 112 to client-side communication layer 106. Similar to client-side communication layer 106, server-side communication layer 114 supports the use of batches and bundles of database statements.
Server-side network layer 116 receives network level communications from client-side 102, and sends network level communications to client-side 102.
Database 118 is the database upon which the database statements operate. A response to batch 120 is a batch of results from executing a batch of statements 109, which are sent from server-side communications layer 114 to client-side communication layer 106.
The overall flow of data through client-side interface layer 104 and server-side interface layer 112, client-side communication layer 106 and server-side communication layer 114, and client-side network layer 108 and server-side network layer 116 is for use in the sending batches of database statements (such as SQL statements) from client-side 102 to the server-side 110 and getting a response back from server-side 110 to client-side 102. Client-side communication layer 106 and server-side communication layer 114 differ from prior art communication layers in that they support a batch transmission of database commands to the server-side 110, and batch transmission results to the client-side 102.
The request for the processing of the batches originates in client-side 102 at client-side interface layer 104 and travels “down” to client-side communication layer 106. Client-side communication layer 106 passes on the statements as a “batch” of statements to server-side communication layer 114 of server-side 110.
In an embodiment, on server-side 110, upon detecting or receiving information that a batch of statements 109 is about to come, the communication driver of server-side communication layer 114 collects the statements until it receives all the statements in the batch 109. In an embodiment, at client-side 110, the communication driver of client-side communication layer 106 waits until messages for all the bundles and/or other statements within the batch are received, and only then is the batch passed to the server-side interface 112.
Database application 152 issues database statements to the server-side 110 as a batch of statements 109. Database application 152 may also receive a response to batch 120. Call interface 153 is used for sending batch of statements 109 from application 152 to server-side 110. Call interface 153 may also be used for receiving a response to batch 120. In addition, call interface 153 supports inserting indications regarding which statements belong to a particular batch and/or bundle. Call interface 153 supports sending one set of transmission data for an entire batch.
Program interface 154 receives batch of statements 109, and passes the batch of statements 109 to the execution engine 156 for execution. Specifically program interface 154 places batch of statements 109 into buffers, which will be referred to as pre-execution buffers, and groups the statements according to the bundles in which they belong. Program interface 154 is part of server-side interface layer 112. Execution engine 156 executes batch of statements 109 after they have been prepared for execution. Execution engine 156 performs the operations specified by the database statements of batch of statements 109 on data within database 118, and returns the results of the execution to program interface 154.
Batches and their Bundles
Bundles 204 and 208 may each contain any number of distinct database statements. In an embodiment, one or more statements 206 may be placed between bundles 204 and 208. Alternatively, although not illustrated, there may not be any statements that are outside of all bundles. In an embodiment, there may also be one or more statements before bundle 204.
Similarly, one or more statements 210 may be placed after bundle 208. As indicated by the three dots, there may be any number of bundles within batch 202, and between any two bundles there may be other statements. Statements 208, 210, or any other statement not within any bundle may be run in any order with respect to other statements and bundles.
In an embodiment, bundles 204 and 208 may contain an indication of the start of the bundles 204 and 208, and an indication of the end of the bundles 204 and 208. Server-side communication layer 114 and/or program interface 154 may use the indication of the start and end of bundles 204 and 208 to know the beginning and end of bundles 204 and 208.
Batch 252 shows the contents of an embodiment of batch of statements 109. Statements 254, 256, 258, 260, and 262 are database statements, which are sent for execution at server-side 110. The values in bundle indications 274, 276, 278, 280, and 282 indicate the bundle to which each of statements 254, 256, 258, 260, and 262 belongs. For example, statement 254 belongs in bundle “1” as indicated in bundle indication 274. Similarly, bundle indication 278 and bundle indication 282 indicate that statements 258 and 262, respectively, belong to bundle 2. Bundle indication 276 is blank, thereby indicating that statement 256 does not have a bundle. In other embodiments, other values may be used to indicate that a statement does not belong to any bundle. Using bundle indications 274, 276, 278, 280, and 282, server-side 100 may determine the sequence restrictions relevant to executing statements 254, 256, 258, 260, and 262 without relying on the order in which statements 254, 256, 258, 260, and 262 arrive at server-side 110 or are sent from client-side 102. Also, in batch 252 there is no need to send an indication regarding the start or end of a particular bundle. Although only five statements are illustrated in
Execution of Statements in Bundles
All of the statements within a single bundle, such as bundles 204 and 208 of batch 202 or bundles 1 and 2 of batch 252, are executed sequentially relative to each other. When all of the operations specified by the statements can be performed at the same node, all of the statements may be assigned to be executed by the same slave. The slave executing the bundle acts as the query coordinator or statement coordinator for the statements of the bundle. The slave may also be referred to as a query controller or statement controller. The slave executes the statements of the bundle one at a time according to the sequence indicated by the bundle. If one of the statements of the bundle has a scope for parallelism for the instructions associated with that statement, the slave exploits that parallelism in a manner similar to the usage of parallelism for an ordinary database statement execution, executing tasks associated with the same database statement in parallel. In other words, if the instructions associated with a distinct statement may be executed concurrently with respect to one another, those tasks are executed concurrently.
Batch Function Code
In an embodiment, in order to send batch 202 (
The Communication Layer
The client-side communication layer 106 sends and server-side communication layer 114 (
When execution engine 156 of server-side 110 finishes the execution of the bundles of database statements, server-side 110 makes use of two communication flags related to the batch. In an embodiment, all of the communications from server-side 110 to client-side 102 are performed with the help of the two flags related to batches. The two flags are:
In an embodiment, the server-side 110 sends the results of the database statements in a batch in the same order as the order in which the database statements were sent to server-side 110 from client-side 102. Because the statements in different bundles may have been executed in any order, the order of the results does not necessarily reflect the order of the execution of the statements. To keep the order of the response the same as the request, temporary buffers, which will be referred to as post execution buffers, are created for the messages that server-side 110 intends to send back to the client-side 102 for each statement bundle. A list of these post execution buffers is maintained in which the statements associated with the post execution buffers are in the same order in which the statements and bundles were located inside the batch. The contents of the post execution buffers are dispatched to the client in the order listed, from the beginning of the list to the end of the list, for example.
In order to create and manage the pre-execution buffers, server-side 110 creates multiple slaves, which act as query controllers or statement controllers, for the statements and/or bundles to be executed. Messages from the slaves related to each of these statements are redirected into the pre-execution buffer created for that statement. The slaves wait until the first post execution buffer is marked as full, and then send the first post execution buffer's messages to client-side 102. The first post execution buffer is marked as full once the execution of the first statement and/or bundle is complete. Next, the slaves wait for the second post execution buffer in the list to fill before sending the second post execution buffer's messages to client-side 102. The process of waiting for each post execution buffer to fill and sending the buffer to client-side 102 is performed for each batch. In an embodiment, the entire batch is sent to the client-side 102 at one time. In an embodiment, the proportion of execution time to the time spent in reading the results sequentially is insignificant. In an embodiment, code that was not written for parallel processing may be converted for parallel processing by inserting flags into the code indicating the batch and bundle to which each statement belongs.
Batch Structure Definition
The batch function code receives input from a batch structure definition, which defines the structure and/or properties of batch 202 or 252. The fields of the batch definition describe the properties of batch 202 or 252. The batch definition contains fields such as, but not limited to fields for (1) the total number of bundles in the entire batch 202 or 252, (2) the number of database statements in the entire batch 202 or 252, (3) a list of the number of database statements in each bundle, and (4) a list of the lengths of each database statement in each bundle, for example.
The batch definition also contains fields similar to other protocols, but that differ in that they support batches. For example, in place of a field that referred to a parameter of a single database statement the protocol may support a list of parameters. The batch definition also has fields that contain information about the lists of defines, the binds, the number of binds, and the number of defines in each database statement in a bundle of the batch, or in the entire batch.
For example, in an embodiment the client-side communication layer 106 (
Some parameters that may be sent for creating a buffer for a set of database statements are, for example, as follows:
12) a list of the number of defines for each database statement, which is required while reading defines at the server; and
Struct BatchDefinition
In alternative embodiments, the batch structure statement may not include all of the items listed above or may have other items in addition to or instead of those listed above. Any of the UB4 or UB2 data types may be substituted with int data types.
Pre-Execution Buffering of Incoming Statements
The buffers associated with batch buffer structure 300 may be the pre-execution buffers, and may be among the buffers referenced by the pointer *prefetch_buffer. Batch buffer structure 300 is used for storing statements received at server-side 110 prior to execution. Batch buffer structure 300 may be used to facilitate delaying the execution of statements belonging to the same bundle until the entire bundle is received. Each of bundle buffer structures 302A-302N are buffers that contain information related to a bundle of a batch. Bundle buffer structures 302A-302N are placed in a linked list. Each pointer to list of bundled statements 304A-304N is a pointer that points to the buffers that contain information related to the individual statements. Each pointer to list of bundled statements 304A-304N points to the statement buffer structure corresponding to the first statement in the bundle. Each statement buffer 308A-308N contains the text of all of the statements in the bundle associated with the buffer and/or other information related to the statement. Each pointer to next bundle 310A-310N points to the next one of bundle buffer structures 302A-302N.
Each of statement buffer structures 311a-311n is a buffer that contains information related to individual statements of the bundle corresponding to bundle buffer structure 302A. Statement buffer structures 311a-311n are also placed in a linked list. For simplicity, the statement buffer structures of the bundles corresponding to bundle buffer structures 302B-302N are not shown in
In an embodiment, buffer structure 300 is created at server-side 110 (
Buffers for Sequencing the Execution Results
Results buffers 402, 404, etc. are an embodiment of results buffers 320 (the post execution buffers), and may be among the buffers referenced by the pointer *prefetch_buffer. After execution, results buffers 402, 404, etc. store results of executing batches. Results 402a-402n, 404a-404n, etc. are the results of executing the statements from batches associated with results buffers 402, 404, etc., respectively. Each of results 402a-402n, 404a-404n, etc. may be sent to client-side 102 (
Sequential Bundles Containing Statements for Concurrent Execution
Although in the example embodiments that are described, the bundles may be executed in parallel, and the statements within the bundles must be executed sequentially, in alternative embodiments, the bundles may be executed sequentially relative to other bundles, and statements within the bundles may be executed in parallel relative to other statements within the same bundle. Alternatively, in an embodiment, constructs are included in the protocol that allow the user to choose whether the bundles are executable in parallel or need to be executable sequentially. In an embodiment, some bundles may include an indication that their statements need to be executed sequential and other bundles may include an indication that statements within that bundle do not have a sequence that those statements are restricted to. In an embodiment, the user may be capable of designating that, in parts of the code, the bundles may executed concurrently with respect to each other, while in other parts the bundles must be executed sequentially with respect to one another. The programmer may also be capable of designating that in parts of the code the statements within the bundles are executed concurrently while in other parts of the code the statements within the bundles are executed sequentially with respect to one another.
For example, referring to
A Method of Running a Group of Statements
In step 504, the program is sent, organized into a batch containing bundles, to client-side communication layer 106 (
In alternative embodiments, method 500 may not nave all of the steps listed above or may have other steps in addition to or instead of those listed above. Additionally many of the steps listed above are not order dependent. For example, the post execution buffer structure 400 may be created anytime after receiving the buffer definition structure, but before receiving the results of the execution. Also, the buffers may be completed or otherwise modified while receiving data.
Creating Batches Based Client Applications
Regarding the insertion of batch indications and bundle indications into pre-existing human readable code, indications that apply to a statement include an indication of the bundle (a bundle indication) to which the statements belongs. The same bundle indications are used for all statements that have to be executed in a particular sequence relative to each other. Accordingly, a group of statements are identified that need to be executed in a particular sequence. The group of statements identified is then assigned a bundle indication. The process of identifying a group of statements that need to be executed in a particular sequence and assigning a bundle indication is repeated until no more groups of statements requiring a particular execution sequence can be found. Although each group of statements requiring a particular sequence of execution is first identified and then an indication that those statements belong to the same bundle is added, the identification of one group of statements having execution sequence requirements and the inclusion of bundle indication for another group may be performed in any order. For example, in an embodiment, first all groups of statements that need to be executed sequentially are identified, and then each group identified is assigned a bundle indication. Alternatively, groups of statements that do not need to be executed in any particular sequence are identified, and from the groups of statements that have no execution sequence requirements groups of statements that have executions sequence are deduced, and indications are added to each group of statements that must be executed according to a particular sequence that those statements are part of the same bundle.
Additionally, transmission information is added to the batch, and one or more indications are added indicating that the statements of the program belong to the same batch. The transmission information and/or the batch indications may be added prior to, concurrently, and/or after the bundle indications are added. Similarly, the transmission information may be added prior to, concurrently, and/or after the batch indications.
Prior to step 502 of method 500 (
Sending Execution Results in Other Sequences
In an alternative embodiment, the results of executing the statements may be sent in a sequence that is different from the sequence in which the statements were located in the batch. To accomplish sending the results in another sequence, a plurality of buffers are used for storing results of execution. Each buffer can be tagged with a unique ID corresponding to the statement or bundle whose results that buffer stores. The ID can be sent back with each message. However, the tagging of the buffer, sending the ID and reading the ID may increase the communication overhead between the client and server. Also, the client may need to do extra processing to maintain and fill a set of buffers for all statements at its end too.
Other Variations
In an embodiment, one or more batches may be nested within a batch. Nesting a batch within a batch allows for a subset of the batch to have transmission information that is not common to the batch within which it is nested. In an embodiment, one or more batches may be nested within a bundle. Nesting a batch within a bundle facilitates designating that a subset of the statements within a bundle must be executed in a particular sequence with respect to other statements of the bundle, but do not have a particular sequence in which they must be executed with respect to one another. In an embodiment, within a batch there may be one or more other batches and one or more bundles, wherein within any one of or any combination of the bundles there may be one or more batches. In an embodiment there is no limit to the number of levels of nesting batches within batches, batches within bundles, and bundles within batches. For example, one may have batches containing one or more batches and one or more bundles, and within any combination of the bundles are one or more batches, which in turn contains one or more batches and one or more bundles.
In an alternative embodiment, rather than using TTISBR and TTIEBR flags, the results of execution may be stored in a queue that is polled periodically to see if it is ready to sent to client-side 102. In an alternative embodiment, batch buffer structure 300 and its associated buffers may be located on client-side 102 instead on server-side 110.
Hardware Overview
Computer system 600 may be coupled via bus 602 to a display 612, such as a cathode ray tube (CRT), for displaying information to a computer user. An input device 614, including alphanumeric and other keys, is coupled to bus 602 for communicating information and command selections to processor 604. Another type of user input device is cursor control 616, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 604 and for controlling cursor movement on display 612. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
The invention is related to the use of computer system 600 for implementing the techniques described herein. In an embodiment, client-side 102 and/or server-side 110 may reside on a machine such as computer system 600. In an embodiment, database 118 may be a machine such as computer system 600. According to one embodiment of the invention, the techniques described herein are performed by computer system 600 in response to processor 604 executing one or more sequences of one or more instructions contained in main memory 606. Such instructions may be read into main memory 606 from another computer-readable medium, such as storage device 610. Execution of the sequences of instructions contained in main memory 606 causes processor 604 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.
The term “computer-readable medium” as used herein refers to any medium that participates in providing instructions to processor 604 for execution. The computer-readable medium is just one example of a machine-readable medium, which may carry instructions for implementing any of the methods and/or techniques (e.g., method 500) described herein. Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 610. Volatile media includes dynamic memory, such as main memory 606. Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 602. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
Common forms of computer-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD-ROM, any other optical medium, punchcards, papertape, any other physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave as described hereinafter, or any other medium from which a computer can read.
Various forms of computer readable media may be involved in carrying one or more sequences of one or more instructions to processor 604 for execution. For example, the instructions may initially be carried on a magnetic disk of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 600 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 602. Bus 602 carries the data to main memory 606, from which processor 604 retrieves and executes the instructions. The instructions received by main memory 606 may optionally be stored on storage device 610 either before or after execution by processor 604.
Computer system 600 also includes a communication interface 618 coupled to bus 602. Communication interface 618 provides a two-way data communication coupling to a network link 620 that is connected to a local network 622. For example, communication interface 618 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 618 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 618 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
Network link 620 typically provides data communication through one or more networks to other data devices. For example, network link 620 may provide a connection through local network 622 to a host computer 624 or to data equipment operated by an Internet Service Provider (ISP) 626. ISP 626 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 628. Local network 622 and Internet 628 both use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on network link 620 and through communication interface 618, which carry the digital data to and from computer system 600, are exemplary forms of carrier waves transporting the information.
Computer system 600 can send messages and receive data, including program code, through the network(s), network link 620 and communication interface 618. In the Internet example, a server 630 might transmit a requested code for an application program through Internet 628, ISP 626, local network 622 and communication interface 618.
The received code may be executed by processor 604 as it is received, and/or stored in storage device 610, or other non-volatile storage for later execution. In this manner, computer system 600 may obtain application code in the form of a carrier wave.
In the foregoing specification, embodiments of the invention have been described with reference to numerous specific details that may vary from implementation to implementation. Thus, the sole and exclusive indicator of what is the invention, and is intended by the applicants to be the invention, is the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction. Any definitions expressly set forth herein for terms contained in such claims shall govern the meaning of such terms as used in the claims. Hence, no limitation, element, property, feature, advantage or attribute that is not expressly recited in a claim should limit the scope of such claim in any way. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
This application claims benefit of prior U.S. Provisional Application Ser. No. 60/538,485, entitled “Executing a Group of Database Statements” filed by Ajay Sethi, et al., on Jan. 21, 2004 and is related to Ser. No. 10/______, entitled “Support for Executing a Group of Database Statements”, filed by Ajay Sethi, et al. on Apr. 30, 2004, the contents of which are herein incorporated by reference as if originally set forth herein.
Number | Date | Country | |
---|---|---|---|
60538485 | Jan 2004 | US |