• yuvipoy (4/20/2014)


    Lynn Pettis (3/29/2014)


    For this particular issue, possibly no real benefit. The problem we are having is that we can't see what you see which means all we can give you are shots in the dark. You have posted nothing that will help us tell you what may help you improve your process. There is no DDL for the table, any indexes on the table, foreign keys (both to and from the table).

    Seeing the actual execution plan would also help, but by the time you had that the DELETE would be done as well, unless this is a recurring process that needs to be improved.

    Sorry for the late replay. i was assigned another work.so came back again here to this ..

    have attached tables and execution plan on delete statement.

    It is a simple straightforward delete no joins.

    So, your DELETE statement looks like this:

    DELETE FROM SE_CD_MEASUREMENT WHERE RUN_START_TIME <= 13121331223

    Problem is that your DDL doesn't match this query. Which table are you trying to delete from? What column is RUN_START_TIME? What type of value is RUN_START_TIME? Is it an BIGINT, INT, what? What does the value indicate, a specific date/time from a specified point in time such as milliseconds since midnight 1970-01-01?

    Still don't have enough to really help you. Only suggestion I have, is stop trying to obfuscate your problem so much that no one can even figure out what it is you are trying to accomplish.