Patents by Inventor Mir Hamid Pirahesh

Mir Hamid Pirahesh has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Patent number: 5864840
    Abstract: A relational data base management system includes a query processor that permits consideration of alternative query plans by the query optimizer so one table can be sent to a selected network location for subquery evaluation in consideration of maximum processing efficiency. Subqueries are converted from "predicate push-down" form to scalar subqueries, enabling upper tables to be sent to nodes of lower tables and vice versa, thereby permitting selection of the node direction depending on the least cost alternative. The optimizer of the query processor is presented with rewritten query code that permits more than one alternative for sending tables for evaluation. The optimizer evaluates the alternatives permitted by the rewritten code, determines the optimal plan for each alternative, and selects the least-cost plan from among the plans evaluated.
    Type: Grant
    Filed: June 30, 1997
    Date of Patent: January 26, 1999
    Assignee: International Business Machines Corporation
    Inventors: Ting Yu Leung, Alex Chak-tsang Lui, Mir Hamid Pirahesh, Tuong Chanh Truong
  • Patent number: 5850550
    Abstract: A system and method for translating source code, comprising high level source code with embedded SQL statements, to p-code or machine-language instructions by a one-pass parsing mechanism. The one-pass parsing mechanism generates executable code without the need to generate an intermediate file. Additionally, the p-code or machine-language instructions are annotated with references to the line numbers of the corresponding source code, thereby allowing a source level debugger to debug the source code with embedded SQL statements.
    Type: Grant
    Filed: August 31, 1995
    Date of Patent: December 15, 1998
    Assignee: International Business Machine Corporation
    Inventors: Chin Hsiang Li, I-Shin Andy Wang, Wei Young, Shu Huar Joseph Yeh, John Shek-Luen Ng, Kuo-Wei Hwang, Mir Hamid Pirahesh, Tak-Ming Lo
  • Patent number: 5822750
    Abstract: A relational database management system (RDBMS) efficiently evaluates correlated subqueries by decorrelating them and taking care of the so-called SQL count bug and yet avoid using the expensive outer join operation. When there is no tuple match from a correlated subquery, the RDBMS query processor returns a tuple of null(s) from a scalar derived table, and then uses COALESCE function to generate a proper count value of zero from the null. The correlation level remains one. The query processor also performs a pass-through optimization to eliminate a join operation for floating SELECT operation by removing a join operation involving the magic operation, so that the correlation bindings are received from the correlation source table rather than the magic operation.
    Type: Grant
    Filed: June 30, 1997
    Date of Patent: October 13, 1998
    Assignee: International Business Machines Corporation
    Inventors: Michelle M. Jou, Ting Yu Leung, Mir Hamid Pirahesh
  • Patent number: 5797000
    Abstract: A method of performing a parallel join operation on a pair of relations R1 and R2 in a system containing P processors organized into Q clusters of P/Q processors each. The system contains disk storage for each cluster, shared by the processors of that cluster, together with a shared intermediate memory (SIM) accessible by all processors. The relations R1 and R2 to be joined are first sorted on the join column. The underlying domain of the join column is then partitioned into P ranges of equal size. Each range is further divided into M subranges of progressively decreasing size to create MP tasks T.sub.m,p, the subranges of a given range being so sized relative to one another that the estimated completion time for task T.sub.m,p is a predetermined fraction that of task T.sub.m-1,p. Tasks T.sub.
    Type: Grant
    Filed: June 20, 1996
    Date of Patent: August 18, 1998
    Assignee: International Business Machines Corporation
    Inventors: Partha Pratim Bhattacharya, Jen-Yao Chung, Mir Hamid Pirahesh, Patricia G. Selinger, Marisa S. Viveros, Yun Wang, Lawrence Peter Zaino
  • Patent number: 5742810
    Abstract: A system and method for passing arrays and structures as host variables to a stored procedure. An application program packs an array or structure into a binary large object (BLOB) and sends the BLOB to a database management system. An adapter called by the database management system, and coupled to the stored procedure, passes a reference to the data area in the BLOB to the stored procedure. After completion of the stored procedure, the BLOB is returned to the application program. Finally, upon the return from the stored procedure call, the application program unpacks the BLOB back into the array or structure.
    Type: Grant
    Filed: August 31, 1995
    Date of Patent: April 21, 1998
    Assignee: International Business Machines Corporation
    Inventors: John Shek-Luen Ng, Frederick Thomas Sharp, Mir Hamid Pirahesh, I-Shin Andy Wang, Gerald Herman Roth, Tak Ming Lo
  • Patent number: 5706494
    Abstract: In a relational database management system (RDMS), a method and system for constraint checking of bulk data after storage in a base table. This invention generates a "dummy" INSERT inquiry to cause the compiler constraint rule engine to generate code for checking for constraint violations. After construction of a Query Graph Model by the compiler, a logic module replaces the INSERT inquiry with a SELECT inquiry to create code that when executed will select records from the bulk data table. Constraint violations are handled in several ways by this invention, including merely reporting that a constraint error exists or listing those records that violate constraint conditions. The logic also enforces referential integrity constraints by applying the SQL CASCADE command to the violating records to expand the violation list to include children records that would be orphaned when their parent records are later removed.
    Type: Grant
    Filed: February 10, 1995
    Date of Patent: January 6, 1998
    Assignee: International Business Machines Corporation
    Inventors: Roberta Jo Cochrane, Mir Hamid Pirahesh, Richard Sefton Sidle, Calisto Paul Zuzarte