×

Dynamically sizing buffers to optimal size in network layers when supporting data transfers related to database applications

  • US 7,827,141 B2
  • Filed: 04/27/2005
  • Issued: 11/02/2010
  • Est. Priority Date: 03/10/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method of transferring data from a first database system to a second database system using multiple computing layers, said computing layers containing an application layer, a network layer, and a set of intermediate layers between said network layer and said application layer, said method being performed in said first database system, said method comprising:

  • in a database application comprised in an application layer of said set of upper layers implemented in said first database system, formulating a first call and then a second call, both said first call and said second call for transferring respective data to an application layer in said second database system;

    receiving in said set of intermediate layers, said first call and then said second call;

    at said set of intermediate layers, estimating a first expected amount of data and a second expected amount of data to be transferred for said first call and said second call respectively, wherein said first expected amount of data is larger than said second expected amount of data;

    at said set of intermediate layers, determining a first TCP/IP buffer size based on said first expected amount of data and determining a second TCP/IP buffer size based on said second expected amount of data, wherein said first TCP/IP buffer size is larger than said second TCP/IP buffer size when said first expected amount of data is larger than said second expected amount of data;

    communicating from said set of intermediate layers to said network layer said first TCP/IP buffer size used for transferring data associated with said first call and said second TCP/IP buffer size used for transferring data associated with said second call;

    at said network layer, providing a first TCP/IP buffer of said first TCP/IP buffer size for transferring data of said first call and providing a second TCP/IP buffer of said second TCP/IP buffer size for transferring data of said second call, wherein said first TCP/IP buffer size is more than said second TCP/IP buffer size in response to said communicating;

    storing in said first TCP/IP buffer a first data provided in said first call, and storing in said second TCP/IP buffer a second data provided in said second call; and

    transferring said first data stored in said first TCP/IP buffer and said second data stored in said second TCP/IP buffer to said second database system via TCP/IP.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×