• shobanapraveen (10/3/2013)


    Can any one help to get quick results while running query in PostgreSQL?

    when i run my query its taking such a long time due to huge data's in db.

    Thanks,

    Shobana

    Have you tried posting in a PostgreSQL forum? Most folks reading this will have no experience of the product.

    Failing that, good query design practices for SQL Server are quite likely to apply to a PostgreSQL query. Post it up!

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden