DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps...

10
DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager

Transcript of DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps...

Page 1: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

DB-10: Advice and Techniques for Oracle DataServer

A ‘Words from the Wise’ production

Simon EppsProduct Manager

Page 2: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation2DB-10 Advice and Techniques for Oracle DataServer

Agenda

DataServer Introductions Migration and Development Deployment and Management Words from the Wise Wrap up & Summary

Page 3: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation3DB-10 Advice and Techniques for Oracle DataServer

DataServer Introductions

Business Goal• Respond to standards

and market needs

Technical mission• OpenEdge® ABL functionality

and behavior against non-OpenEdge databases

Prerequisites • Know thy ABL• Know thy DataServer• Know thy RDBMS

OpenEdge Client

DataServer

OpenEdgeOpenEdge

Alsop2

J1

CHARINT

OracleOracle

Ellison4

L3

VARCHARINT

4GL

SQL

--

--

VARCHARINT

--

--

CHARINT

Page 4: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation4DB-10 Advice and Techniques for Oracle DataServer

Migration

Know thy ABL• Appreciate limitations and restrictions • Source scanning utilities

Know thy DataServer• Data-type mappings• Schema holder utilities

Know thy RDBMS• SQL overstuffing• Security

OracleOracle

OpenEdgeOpenEdgeSchema

PULL

Schema

PUSH

Page 5: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation5DB-10 Advice and Techniques for Oracle DataServer

Development

Know thy ABL• Code for limitations and restrictions• DataServer friendly code• Single source code• Locking

Know thy DataServer• Query-by-server• Sizing options• Debugging switches• Locking

Know thy RDBMS• Indexes• RDBMS optimizer• Locking

DECLARE @STARTDATE DATETIME

DECLARE @CustName CHAR, @CustCredit INT

DECLARE @C1 INT

SELECT @STARTDATE = GETDATE()

DECLARE C1 CURSOR FOR SELECT creditlimit FROM customer

OPEN C1

FETCH NEXT FROM C1

WHILE (@@fetch_status <> -1)

BEGIN

BEGIN TRAN

UPDATE customer

SET CreditLimit =

44333

WHERECURRENT OF C1

IF @@ERROR <> 0

ROLLBACK TRAN

ELSE

COMMIT TRAN

FETCH NEXT FROM C1

END

CLOSE C1

DEALLOCATE C1

SELECT DATEDIFF(MS, @STARTDATE, GETDATE()) as ETIME

GONa

DEF VAR tstart AS INT NO-UNDO.

DEF VAR MyRandom AS INT NO-UNDO.

MyRandom = RANDOM(10,2000).

tstart = ETIME.

FOR EACH customer EXCLUSIVE-LOCK:

creditlimit = MyRandom.

END.

DISPLAY ETIME - tstart.

Page 6: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation6DB-10 Advice and Techniques for Oracle DataServer

Deployment

Know thy RDBMS• Set up, configuration & tuning• Security

Know thy DataServer• Set up, configuration & tuning• Runtime parameters• Schema holder maintenance

Know thy ABL• Single source considerations

OracleOracle

Page 7: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation7DB-10 Advice and Techniques for Oracle DataServer

Management

Know thy RDBMS• Query tuning• Monitoring

Know thy DataServer• Monitoring• Debugging

Know thy ABL• Query tuning

OracleOracle

Page 8: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation8DB-10 Advice and Techniques for Oracle DataServer

Words from the Wise

More Top Tips:

Migration, Development and Deployment

• Arvind Agrawal • Tony Brooks • Robert Marshall• David Moloney

An Open-Panel Q&A session – Meet the Geeks

Page 9: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation9DB-10 Advice and Techniques for Oracle DataServer

Wrap up and Summary

Know thy ABL Know thy DataServer Know thy RDBMS Commit to Testing

[email protected]

Page 10: DB-10: Advice and Techniques for Oracle DataServer A ‘Words from the Wise’ production Simon Epps Product Manager.

© 2006 Progress Software Corporation10DB-10 Advice and Techniques for Oracle DataServer

“The OpenEdge DataServer Technology can give you the RDBMS independence

jackpot, but only if you know how to play the game.”

Simon Epps – Exchange 2006, Lost Wages

Thank you foryour time