Queue Tables / SELECT AND CONSUME TOP N
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Queue Tables / SELECT AND CONSUME TOP N Expand / Collapse
Author
Message
Posted 6/20/2006 6:11:17 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 7/24/2008 8:31:03 AM
Posts: 109, Visits: 22
Hi all,
I remember that there is the concept of Queue tables in Teradata V2R6, using which we can run a SELECT AND CONSUME TOP 1 from tablename. But i dont seem to get the syntax correct, nor am i able to get how to create a queue table. Also, any performace implications related to queue tables would be highly appreciated.

Thanks.
Post #4398
Posted 6/20/2006 6:22:00 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 7/24/2008 8:31:03 AM
Posts: 109, Visits: 22
Just managed to get the create table syntax correct, and created the following queue table:

create table quetable2, queue
(create_timestamp timestamp(6) not null default current_timestamp(6), a int, b int)
;

However, can anyone please throw more light on the utility of queue tables, and also the limit on the data load that they can handle.

Thanks.
Post #4399
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 4:21pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.078. 10 queries. Compression Disabled.