Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. oltp vs olap

oltp vs olap

Scheduled Pinned Locked Moved Database
databasevisual-studiohelptutorialquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    a fatemeh
    wrote on last edited by
    #1

    hi every one i'm not sure if it's true to brought my question here but I want to make clear how much Datawarehouse is useful for a company.what i want is a query example in sql which is long and hard for operational database and is a piece of cake for analytical database. I've searched a lot but I can't fine one may be I searched wrongly but I would be so thanks full if any one could help me with this as soon as possible.

    M 1 Reply Last reply
    0
    • A a fatemeh

      hi every one i'm not sure if it's true to brought my question here but I want to make clear how much Datawarehouse is useful for a company.what i want is a query example in sql which is long and hard for operational database and is a piece of cake for analytical database. I've searched a lot but I can't fine one may be I searched wrongly but I would be so thanks full if any one could help me with this as soon as possible.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Instead of trying to find a "query" difference try researching the uses of the different types of database, a datawharehouse is a snapshot, usually delayed from real time, of the transaction (OLPT) database that is optimised for reporting (querying). It is not an either/or question, once you reporting queries begin impacting on your transaction processing you need an OLAP solution as well as the OLTP. This is a very simplistic view, there are entire libraries written on this subject!

      Never underestimate the power of human stupidity RAH

      A 1 Reply Last reply
      0
      • M Mycroft Holmes

        Instead of trying to find a "query" difference try researching the uses of the different types of database, a datawharehouse is a snapshot, usually delayed from real time, of the transaction (OLPT) database that is optimised for reporting (querying). It is not an either/or question, once you reporting queries begin impacting on your transaction processing you need an OLAP solution as well as the OLTP. This is a very simplistic view, there are entire libraries written on this subject!

        Never underestimate the power of human stupidity RAH

        A Offline
        A Offline
        a fatemeh
        wrote on last edited by
        #3

        thanks so much,i almost know what you are talking about. but I really want a query . this is a an extract from a book :"Although many decision-support queries can be written in SQL, others either cannot be expressed in SQL or cannot be expressed easily in SQL." I want an example of this kind of query which is written in both.

        M 1 Reply Last reply
        0
        • A a fatemeh

          thanks so much,i almost know what you are talking about. but I really want a query . this is a an extract from a book :"Although many decision-support queries can be written in SQL, others either cannot be expressed in SQL or cannot be expressed easily in SQL." I want an example of this kind of query which is written in both.

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          a.fatemeh wrote:

          I want an example of this kind of query which is written in both.

          Good luck with that, even if you could get the examples it would take a lot explaining to get the context of the requirement. You might want to look into the Microsoft example databases, they have various OLTP and OLAP dbs (AdventureWorks etc), there may be such comparative examples based on them but I doubt it.

          Never underestimate the power of human stupidity RAH

          A 1 Reply Last reply
          0
          • M Mycroft Holmes

            a.fatemeh wrote:

            I want an example of this kind of query which is written in both.

            Good luck with that, even if you could get the examples it would take a lot explaining to get the context of the requirement. You might want to look into the Microsoft example databases, they have various OLTP and OLAP dbs (AdventureWorks etc), there may be such comparative examples based on them but I doubt it.

            Never underestimate the power of human stupidity RAH

            A Offline
            A Offline
            a fatemeh
            wrote on last edited by
            #5

            thanks by the way. it seems I'd hardly find one.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups