Am I using Data Warehousing wrong?

I work for a company that has several products, and several databases and tons of data.

To sorta merge all this data what we’ve been doing moving some of our data over to Amazon Redshift (a data warehouse). We store as much as we can here (everything very de-normalized). We consider redshift our ‘source’ data, as we’ve changed a lot of procedures to pretty much just bulk insert straight to the data warehouse before going to any other database first.

The part I’m having a hard time understanding is I thought a data warehouse was suppose to help with reporting.

With Amazon Redshift, they have disabled stored procedures, recursive ctes, user defined functions and a bunch of other things..which makes it sorta tough to report on data.

What we do in a lot of situations, is export the data from redshift into a different database, just so we can run some reports (not all the data, we just export the data that is relevant to the report).

Some other reports that are run we have set up programs that dynamically produce the sql and send in the ad-hoc query to get the data we need, these programs become a pretty good mess after too much modification (concatenating strings to make the sql, hard to test without just running the program ect)

This all seems sorta wrong, are we using the concept of data warehousing wrong?

Instead of thinking of data warehouse as a warehouse (store as much as we can, very denormalised), to get the benefit you need to think about what benefit you want to get out of it. Basically, in data warehouse, instead of having just data, you have Facts and Measures (Dimensions). After you build these Facts and Dimensions, you will get what’s called a snow flake schema, i.e. not very normalised.

If you have reports that rely on stored procedures, user defined functions, etc. you probably need to update them to take advantage of the data warehouse schema. Done correctly, reports should only need some joins and maybe special calculations which are stored in some libraries, not in database.

Another way to use data warehouse is using OLAP libraries, it’s like SQL for data warehouse. OLAP queries work on data warehouse Cube, which is collection of Facts and Dimension. OLAP libraries will translate them to SQL queries.

Also, it’s probably easier to understand how to build data warehouse using ETL tools before start storing data straight to data warehouse so you can understand what transformations would be needed. In the end, it should be easy to get reports and analytics out of your data warehouse using off the shelf applications.

If I understand your methods, you are treating Redshift as a data junk-pile and must pre-process the junk before you can run typical reports upon it. The pre-processing step is the exporting data that is relevant to a particular report.

If you were using Redshift as it was intended, it should act just like a database (because it is). However, this will likely take considerable effort to restructure the junk-pile. Contrariwise, the effort ought be rewarded many-fold as you’ll not have to spend time doing custom extractions.

Redshift has substantial tutorials on how to use the product; I’d start there.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật