IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
US-0463623
(2006-08-10)
|
등록번호 |
US-8359296
(2013-01-22)
|
발명자
/ 주소 |
|
출원인 / 주소 |
- International Business Machines Corporation
|
인용정보 |
피인용 횟수 :
2 인용 특허 :
23 |
초록
▼
Methods, articles of manufacture, and systems for reducing network traffic for database transactions between a requesting client and a database server are provided. For some embodiments, the client may access statistical information regarding the data, such as that commonly contained in indexes (e.g
Methods, articles of manufacture, and systems for reducing network traffic for database transactions between a requesting client and a database server are provided. For some embodiments, the client may access statistical information regarding the data, such as that commonly contained in indexes (e.g., encoded vector indexes), conventionally generated for use by a query optimizer. For some embodiments, based on the statistical information regarding the data, the client may request that the server send small byte-code representations of data from the database, rather than the actual data. The small byte-code representations may be significantly smaller than the actual represented data, thus reducing network traffic between the client and server. The client may then retrieve the actual represented data from a corresponding data representation record.
대표청구항
▼
1. A computer-implemented method for use by a client in accessing data from a data source wherein the data source contains a plurality of fields, the method comprising: obtaining information regarding a plurality of distinct data values stored in a field of the plurality of fields stored in a table
1. A computer-implemented method for use by a client in accessing data from a data source wherein the data source contains a plurality of fields, the method comprising: obtaining information regarding a plurality of distinct data values stored in a field of the plurality of fields stored in a table of the data source, the information including at least a byte size of the field and a number of distinct values stored in the field; andrequesting, based at least partially on the byte size of the field and on the number of distinct values stored in the field, that a server of the data source send representations of the distinct values rather than actual distinct values, in response to queries for data from the field; wherein the requesting causes the server to enable a respective status flag of the field defined in a column status table, the column status table including a flag for each field of the plurality of fields, each flag being independently selectable. 2. The method of claim 1, wherein the information is contained in an index created for the field. 3. A method for use by a server of a database, comprising: receiving, from a client, a request for data from one or more fields of a plurality of fields of the database; andin response to the request: accessing a respective status flag of each of the fields containing the requested data, wherein the status flags are defined in a column status table that includes a status flag for each field of the plurality of fields, each flag being independently selectable; andupon determining that the respective status flag for at least a first field containing the requested data is enabled, sending a representation of the requested data stored by the first field to the client, rather than the actual requested data, wherein the representation has a smaller byte size than the actual requested data and wherein the status flag for the first field is enabled, based at least partially, on a byte size of the field and on a number of distinct values stored in the field. 4. The method of claim 3, further comprising, after receiving the request: determining whether a representation has been generated for the requested data; andif not, generating the representation. 5. A computer readable storage medium containing a program which, when executed by a client, performs operations for accessing data from a data source wherein the data source contains a plurality of fields comprising: obtaining information regarding a plurality of distinct data values stored in a field of the plurality of fields stored in a table of the data source, the information including at least a byte size of the field and a number of distinct values stored in the field; andrequesting, based at least partially on the byte size of the field and on the number of distinct values stored in the field, that a server of the data source send representations of the distinct values rather than actual distinct values, in response to queries for data from the field; wherein the requesting causes the server to enable a respective status flag of the field defined in a column status table, the column status table including a flag for each field of the plurality of fields, each flag being independently selectable. 6. A computer readable storage medium containing a program which, when executed by a server, performs operations for sending data to a client comprising: receiving, from the client, a request for data from one or more fields of a plurality of fields of a database served by the server; andin response to the request: accessing a respective status flag of each of the fields containing the requested data, wherein the status flags are defined in a column status table that includes a status flag for each field of the plurality of fields, each flag being independently selectable; andupon determining that the respective status flag for at least a first field containing the requested data is enabled, sending a representation of the requested data stored by the first field to the client, rather than the actual requested data, wherein the representation has a smaller byte size than the actual requested data and wherein the status flag for the first field is enabled, based at least partially, on a byte size of the field and on a number of distinct values stored in the field. 7. The computer readable storage medium of claim 6, wherein the operations further comprise, after receiving the request: determining whether a representation has been generated for the requested data; andif not, generating the representation.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.