query tuning in teradata

Database

query tuning in teradata

Hi all

Can you please suggest me any tuning parameteres for sql in teradata.

Then in this case i'am getting time out exception while running from java since query is taking so much of time.please suggest any such parameters to improve the query.
Thanks in advance