Download presentation
Presentation is loading. Please wait.
Published byAaliyah Bartlett Modified over 11 years ago
1
Better answers NonStop SQL/MX Transactional Queuing and Publish/Subscriber Services Johannes Klein Robbert Van der Linden
2
Better answers 2Presentation name E-commerce and globalization forces businesses to automate back office procedures to sustain rapid growth and react in real-time 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 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 Current back-office infrastructures and messaging subsystem are not prepared for the dramatic increase in back-office transactions Back Office Automation
3
Better answers 3Presentation name The Zero Latency Engine Appl Adapters Appl Transaction Processing Monitors Distributed Object Manager Database Gateways Message Transport Service Adapters Appl Workflow Engine
4
Better answers 4Presentation name 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.
5
Better answers 5Presentation name Active relational database High-performance relational queuing and publish/subscribe services High-performance relational queuing and publish/subscribe services High-performance trigger services (second release) High-performance trigger services (second release) Tightly integrated into NonStop SQL/MX database Tightly integrated into NonStop SQL/MX database High availability through process pair technology High availability through process pair technology Scalability via partitioning and load balancing Scalability via partitioning and load balancing Common transaction management Common transaction management Common audit trail and recovery management Common audit trail and recovery management
6
Better answers 6Presentation name Publish/Subscribe Producers Consumers Channel publish subscribe select * from stream(channel);insert into channel values(…);
7
Better answers 7Presentation name Queuing ProducersConsumersQueue dequeue enqueue select * from ( delete from stream(queue)) as queue; insert into queue values(…);
8
Better answers 8Presentation name Scalable Queuing Services Partitioned transactional queues Partitioned transactional queues data dependent routing data dependent routing load balancing load balancing online re-partitioning online re-partitioning Set-oriented queue access Set-oriented queue access mini-batch processing mini-batch processing hot spot avoidance hot spot avoidance Integrated database and transaction support Integrated database and transaction support pre-fetch of operational data pre-fetch of operational data remove two-phase commit overhead remove two-phase commit overhead
9
Better answers 9Presentation name Scalable Queuing Services Clients QueueServer Classes Partition A Partition C Partition B Operational Data Enqueues routed by range or hash partitioning function Server class per partition dequeues and processes requests Dequeue, update of operational data, enqueue of reply is done in single local transaction
10
Better answers 10Presentation name Core Concepts Stream access mode Stream access mode stream access to subscribe and wait for qualifying tuples to appear in SQL table stream access to subscribe and wait for qualifying tuples to appear in SQL table Skip conflict access mode Skip conflict access mode skip conflict to skip tuples locked by concurrent transactions in conflicting mode skip conflict to skip tuples locked by concurrent transactions in conflicting mode Embedded update and delete Embedded update and delete embedded delete and update to read and at the same time delete or update tuples embedded delete and update to read and at the same time delete or update tuples
11
Better answers 11Presentation name 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;
12
Better answers 12Presentation name 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 ;
13
Better answers 13Presentation name Application Interfaces SQL/MX queuing and publish/subcribe services are accessible via embedded SQL and ODBC 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 Queuing and publish/subscribe services are accessible from NonStop DOM, NonStop Tuxedo, iTP WebServer and Pathway XML support and HTTP integration XML support and HTTP integration
14
Better answers 14Presentation name SQL/MX Queuing Features STREAMS STREAMS EMBEDDED DELETES AND UPDATES EMBEDDED DELETES AND UPDATES SKIP CONFLICT SKIP CONFLICT PARTITIONED TABLES PARTITIONED TABLES SET ON ROLLBACK SET ON ROLLBACK ROWSETS ROWSETS HOLDABLE CURSORS HOLDABLE CURSORS VIEW SUPPORT VIEW SUPPORT ORDER BY / INDEXES ORDER BY / INDEXES
15
Better answers 15Presentation name Questions Mailto:johannes.klein@compaq.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.