Why renaming time varies???
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.


Why renaming time varies??? Expand / Collapse
Author
Message
Posted 6/13/2008 2:33:51 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Today @ 12:27:03 AM
Posts: 24, Visits: 100
i am doing
RENAME TABLE A TO TABLE B;
AT THE SAME TIME SOME JOB IS READING FROM A.
sometimes this query runs in few seconds some times it is taking too long.
Can anybody tell me da reason based on LOCKS applied in terdata.
As far as i know Rename has Exclusive locks and select stmnt has read lock .
In any case whether Select has Started first or Explain there shud nt be ant conflict or deadlock
Then why it is taking time.......?
Pls give some valid answers as this i need to implement in my new project.....
Post #11841
Posted 6/13/2008 12:20:36 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 8/24/2008 2:47:14 PM
Posts: 425, Visits: 398
I am guessing that you meant the RENAME is taking a long time.... Did you check for blocks in PMON/Teradata manager ? That's a nice place to look as to what is happening to the SQL while its under execution. It would also indicate which step in the explain plan of the SQL it is now. That might throw some insights as to what's going on ....
Post #11849
« 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:29pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 9 queries. Compression Disabled.