* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download No Slide Title
Oracle Database wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Commitment ordering wikipedia , lookup
Microsoft Access wikipedia , lookup
Relational algebra wikipedia , lookup
Tandem Computers wikipedia , lookup
Extensible Storage Engine wikipedia , lookup
Serializability wikipedia , lookup
Concurrency control wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Microsoft SQL Server wikipedia , lookup
Clusterpoint wikipedia , lookup
Database model wikipedia , lookup
NonStop SQL/MX Transactional Queuing and Publish/Subscriber Services Johannes Klein Robbert Van der Linden Better answers Back Office Automation E-commerce and globalization forces businesses to automate back office procedures to sustain rapid growth and react in real-time Business processes often consist of up to 100 IT transaction Current back-office infrastructures and messaging subsystem are not prepared for the dramatic increase in back-office transactions Better answers Presentation name 2 The Zero Latency Engine Appl Appl Appl Appl Adapters Distributed Object Manager Workflow Engine Transaction Processing Monitors Database Gateways Adapters Appl Appl Appl Appl Better answers Presentation name 3 Adapters Appl Appl Appl Appl Adapters Message Transport Service Appl Appl Appl Appl Delivering on ZLE The Zero Latency Enterprise removes knowledge and processing latencies. At the heart of the Zero Latency Enterprise is an active database with up-to-date data and up-to-date information on scheduling business processes. Better answers Presentation name 4 Active relational database High-performance relational queuing and publish/subscribe services High-performance trigger services (second release) Tightly integrated into NonStop SQL/MX database High availability through process pair technology Scalability via partitioning and load balancing Common transaction management Common audit trail and recovery management Better answers Presentation name 5 Publish/Subscribe Producers Channel publish Consumers subscribe insert into channel values(…); Better answers Presentation name select * from stream(channel); 6 Queuing Producers Queue Consumers enqueue dequeue select * from ( delete from stream(queue)) as queue; insert into queue values(…); Better answers Presentation name 7 Scalable Queuing Services Partitioned transactional queues data dependent routing load balancing online re-partitioning Set-oriented queue access mini-batch processing hot spot avoidance Integrated database and transaction support pre-fetch of operational data remove two-phase commit overhead Better answers Presentation name 8 Scalable Queuing Services Clients Queue Server Classes Operational Data Partition A Partition B Partition C Enqueues routed by range or hash partitioning function Better answers Presentation name Server class per partition dequeues and processes Dequeue, update of operational data, enqueue of reply is done in requests single local transaction 9 Core Concepts Stream access mode Skip conflict access mode stream access to subscribe and wait for qualifying tuples to appear in SQL table skip conflict to skip tuples locked by concurrent transactions in conflicting mode Embedded update and delete embedded delete and update to read and at the same time delete or update tuples Better answers Presentation name 10 SQL/MX Queuing Example ------- create table to capture orders create table orders (customerno int, itemno int, … ); -- dequeue orders and retrieve associated customer records select * from (delete from stream(orders)) as orders left join customer on orders.customerno = customer.customerno; Better answers Presentation name 11 SQL/MX View Example --- define view for dequeuing create view ready_tasks as select * from (update stream(tasks) set state = ‘closed’ where state = ‘open’) as tasks, workflow where workflow.wfid = task.wfid; --- dequeue entries select * from ready_tasks for skip conflict access; Better answers Presentation name 12 Application Interfaces SQL/MX queuing and publish/subcribe services are accessible via embedded SQL and ODBC Queuing and publish/subscribe services are accessible from NonStop DOM, NonStop Tuxedo, iTP WebServer and Pathway XML support and HTTP integration Better answers Presentation name 13 SQL/MX Queuing Features STREAMS EMBEDDED DELETES AND UPDATES SKIP CONFLICT PARTITIONED TABLES SET ON ROLLBACK ROWSETS HOLDABLE CURSORS VIEW SUPPORT ORDER BY / INDEXES Better answers Presentation name 14 Questions Mailto:[email protected] Better answers Presentation name 15