[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ulysse::rdb_vms_competition

Title:DEC Rdb against the World
Moderator:HERON::GODFRIND
Created:Fri Jun 12 1987
Last Modified:Thu Feb 23 1995
Last Successful Update:Fri Jun 06 1997
Number of topics:1348
Total number of notes:5438

411.0. "Curious about PL/SQL" by TOWNS::BUZZERD (Why NOT Rdb ??) Fri Aug 25 1989 00:39

    I've heard alot about PL/SQL and the performance enhancements it
    offers. Just what are the features in PL/SQL that improve performance,
    and other than the fact that customers' existing SQL applications may
    have to be rewritten to use it, are there competitive issues we
    can raise?
T.RTitleUserPersonal
Name
DateLines
411.1So far, vapourware...BRICHS::BIRCHPeter Birch, DTN 842-3297Fri Aug 25 1989 17:124
    As far as I know, it's not been released yet, so I doubt anyone
    knows what's in it (maybe not even Oracle :-))
    
    PDB
411.2Yes... but it might be goodMAIL::DUNCANGGerry Duncan @KCOFri Aug 25 1989 21:3037
    See note 302 where I have described PL/SQL.  It is in beta now.
    
    PL/SQL will offer functionality similar to BLR request handles.
    
    For example, if an Rdb program submits four different database
    activities (insert, 2-queries, update, for example), Rdb will
    "remember" the four database "requests" and assign an identifier
    (handle) to each one.  When your program loops and does the same
    activity a second time (insert, for example), Rdb remembers this
    request (because it knows the handle) and simply executes the request
    instead of creating it all over again.  One problem with Rdb is that,
    for the most part, the database requests go away when your program
    unbinds from the database. 
    
    From what I can tell based on discussions with a couple of Oracle dbas,
    the parsing of Oracle SQL statements is quite CPU intensive and
    contributes greatly to poor performance. It is not exactly like dynamic
    SQL but pretty close. One of the primary reasons for PL/SQL is to
    eliminate the SQL parsing performance. 
    
    The other reason for PL/SQL is to allow these routines to be stored
    in their compiled state in a database and to have the application
    simply call them by name.  This would eliminate the problem of having
    to code the same SQL routines over and over in SQL*forms or in your
    application program.  On the same hand, in a remote or distributed
    database situation, the local program could "call" a remote PL/SQL routine
    in the remote database thus avoiding the need to move data across
    the network to perform the query.
    
    So, as you can see, PL/SQL will contain pieces of Rdb request handles,
    SQL services, and SQL module language and, according to the two dba's I
    know, will be great ..... IF ... Oracle ever gets it done.
    
    -- gerry