materialized view

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Esteban Kemp

    materialized view

    PostgreSql support materialized views ???

    if not, there is something similar??


    Thanks
    Esteban kemp
  • Daniel Schuchardt

    #2
    Re: materialized view

    Esteban Kemp schrieb:
    [color=blue]
    > PostgreSql support materialized views ???
    >
    > if not, there is something similar??[/color]


    This feature is not yet implemented.

    take a look at



    Daniel.

    Comment

    • Josué Maldonado

      #3
      Re: materialized view

      Esteban,

      El 01/09/2004 3:09 PM, Esteban Kemp en su mensaje escribio:
      [color=blue]
      > PostgreSql support materialized views ???[/color]

      There is a good doc about this at:




      --
      Sinceramente,
      Josué Maldonado.
      "Al contacto del amor todo el mundo se vuelve poeta" - Platon

      ---------------------------(end of broadcast)---------------------------
      TIP 5: Have you checked our extensive FAQ?



      Comment

      • MaRCeLO PeReiRA

        #4
        Readline

        Hi guys,

        I installed PostgreSQL without readline
        (--without-readline), but how can add the readline
        support right now??

        Am I supposed to reconfigure/make/make install to do
        that????

        Regards,

        Marcelo Pereira
        Brazil





        _______________ _______________ _______________ __________
        Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!


        ---------------------------(end of broadcast)---------------------------
        TIP 4: Don't 'kill -9' the postmaster

        Comment

        • Scott Marlowe

          #5
          Re: materialized view

          On Wed, 2004-09-01 at 15:09, Esteban Kemp wrote:[color=blue]
          > PostgreSql support materialized views ???
          >
          > if not, there is something similar??[/color]

          PostgreSQL supports triggers which let you implement it yourself.
          Luckily for you and I, someone else has already done most of the work
          and made a documentation set for it.




          ---------------------------(end of broadcast)---------------------------
          TIP 5: Have you checked our extensive FAQ?



          Comment

          • Jeremy Semeiks

            #6
            Re: materialized view

            On Wed, Sep 01, 2004 at 05:09:06PM -0400, Esteban Kemp wrote:[color=blue]
            > PostgreSql support materialized views ???
            >
            > if not, there is something similar??[/color]

            Hi Esteban,

            Postgres doesn't support materialized views, although I think there was
            some talk of implementing them a few months ago. Try searching
            pgsql.ru about this.

            There are several possible present alternatives, depending on your
            situation. First off, if your query on a view is running too slowly,
            look into optimizing the query itself to make it as fast as possible.
            If it's still too slow, and if either your data are relatively static
            or you don't need up-to-the-minute accuracy, the simplest solution is
            probably to just turn the view into a static table via "create table t as
            select * from v", then update that table periodically. This usually
            works well enough for my needs.

            If you need up-to-the-minute accuracy, you could turn the view itself
            into a table, then create triggers or rules on the tables used by the
            view to keep everything synched.

            So the answer really depends on how the view is defined, what you
            plan to use it for, and how often your database is updated.

            - Jeremy

            ---------------------------(end of broadcast)---------------------------
            TIP 4: Don't 'kill -9' the postmaster

            Comment

            • Peter Eisentraut

              #7
              Re: Readline

              MaRCeLO PeReiRA wrote:[color=blue]
              > I installed PostgreSQL without readline
              > (--without-readline), but how can add the readline
              > support right now??
              >
              > Am I supposed to reconfigure/make/make install to do
              > that????[/color]

              Yes.

              --
              Peter Eisentraut



              ---------------------------(end of broadcast)---------------------------
              TIP 7: don't forget to increase your free space map settings

              Comment

              • Alvaro Herrera

                #8
                Re: Readline

                On Wed, Sep 01, 2004 at 06:30:05PM -0300, MaRCeLO PeReiRA wrote:
                [color=blue]
                > I installed PostgreSQL without readline (--without-readline), but how
                > can add the readline support right now??
                >
                > Am I supposed to reconfigure/make/make install to do that????[/color]

                Yes. Maybe you can recompile only psql to save some time ...

                --
                Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
                "Amanece. (Ignacio Reyes)
                El Cerro San Cristóbal me mira, cínicamente, con ojos de virgen"


                ---------------------------(end of broadcast)---------------------------
                TIP 4: Don't 'kill -9' the postmaster

                Comment

                Working...