Which is faster.. TRuncate or DROP

  • I have a question. Will use of TRUNCATE TABLE and then DROP TABLE be faster and use less resources than just the DROP TABLE statement?

    I got this doubt because Truncate will not log delete of each individual row.

    What u people think ..??? which will be faster.??

    Thanks

    Thanks,
    Prashant

  • Neither the truncate nor the table drop will record individual row deletes.

    Regards,

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • I guess, internally TRUNCATE is more or less like DROP....CREATE statements, so obviously the second one should be faster....:cool:

    --Ramesh


Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply