Ad hoc query

Source: Internet
Author: User
Ad hoc queries allow you to flexibly SELECT query conditions based on your needs. The system can generate corresponding statistical reports based on your needs. Ad hoc queries are the most different from normal application queries. Ad hoc queries are customized and developed by users. Ad hoc queries have a concept in the data warehouse field called ad hoc queries ". Ad hoc queries refer to queries defined by users based on their current needs when using the system. Ad hoc queries are generated in many ways. The most common method is to use the ad hoc query tool. Common Data presentation tools provide ad hoc queries. The common method is to map dimension tables and fact tables in the data warehouse to the semantic layer. You can select tables at the semantic layer to establish associations between tables and generate SQL statements. Ad-hoc queries and general queries have no essential difference in SQL statements. The difference between them is that the common query is known in system design and implementation, and we can optimize these queries by building indexes, partitions, and other technologies during system implementation, these queries are highly efficient. Ad hoc queries are produced temporarily when users are using them, and the system cannot optimize these queries in advance. Ad hoc queries are also an important indicator for evaluating data warehouses. Ad hoc queries are usually located in a relational data warehouse, that is, EDW or ROLAP. Multi-dimensional databases have their own storage methods. Ad hoc queries are no different from normal queries. In a data warehouse system, the more ad hoc queries are used, the higher the requirements for data warehouses and the higher the requirements for data model symmetry. The symmetric Data Model is the same for all queries, which is also an advantage of dimensional modeling.

Ad hoc query

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.