- 0
- 0
- 约8.3千字
- 约 23页
- 2026-01-14 发布于北京
- 举报
Objectives
Aftercompletingthisson,youshouldbeabletodothe
following:
•DescribetheOracleStreamsenvironment
•Listthethreebasictasks(capture,propaion,and
apply)forevents
•ObtainanoverviewofOracleStreamsimplementation
OracleStreams:BasicElements
•Astreamisaflowofinformationeitherwithina
databaseorfromonedatabasetoanother.
•OracleStreamsisasetofprocessesanddatabase
structuresthatenableyoutosharedataandmessages
inadatastream.
•Theunitofinformationthatisputintoastreamis
calledanevent:
–DDLorDMLchanges,formattedasanLCR
–User-createdevents
•Eventsarestagedinandpropaedweenqueues.
OracleStreams:BasicElements
•Threebasictasksofastream:
–Capture
–Staging
–Apply(consumption)
•Astreamcanperformmultipletasksacrossmultiple
databases.
CaptureStagingApply
Capture
YoucanceeventsinOracleStreams:
•Implicitly:Locallog-basedcaptureofDMLandDDL
changeseitherlocalorremote
•Explicitly:Directenqueueofusermessages
Capture
EventStaging
OracleStreamsusesastagingareathat:
•Isimplementedasaqueueinaqueuetable
•Supportstheself-describingdatatypeSYS.AnyData
•Stagescapturedeventsanduser-createdeventsinthe
samequeue
•Retainseventsuntiltheyareconsumedbyall
applicabletasks,processes,orapplications
Staging
Staging-AreaPropaion
Staging•Otherstagingareas
canreceiveevents:
–Fromaremote
原创力文档

文档评论(0)