O wymiarze RCD (Rapidly Changing Dimensions) możemy mówić jeżeli dla jednego lub więcej atrybutów zachodzi dużo, szybkich zmian w wielu wierszach. Przy takim scenariuszu, zapewnienie SCD typu 2 może być już niewystarczające.
Obsługa wymiarów RCD staję się bardzo często niemałym problemem przy tworzeniu hurtowni danych. Jest to głównie związane z zapewnieniem wydajnego mechanizmu po stronie procesu ETL oraz dobrze zaprojektowanych wymiarów, które będą przechowywały bardzo dużą ilość danych.
Na spotkaniu zaprezentujemy podstawowe typy mechanizmów odpowiedzialnych za wyłapanie zmian w danych po stronie systemu źródłowego oraz zaproponujemy strukturę wymiaru po stronie hurtowni/kostki, który pozwoli na wydajne wykorzystanie zarchwizowanych informacji.
Jako programista dobrze wiesz w jakich strukturach – listach, słownikach, posortowanych listach, … - chcesz umieścić dane w pamięci tak, aby Twój kod był efektywny. Przełożymy te dobrze znane nam struktury na świat relacyjnych baz danych i zgłębimy czemu naprawdę odpowiadają struktury bazodanowe – tabele, różne rodzaje indeksów, partycje, statystyki, itp. Co z tego wynika dla programisty i jak w związku z tym lepiej wykorzystać dostępne zasoby sprzętowe. Powiemy też jakich zadań administracyjnych te struktury wymagają, a których brak może po pewnym czasie bardzo zaszkodzić naszej aplikacji. Skupię się na Microsoft SQL Server, jednak bez problemu przetłumaczycie użyte terminy na dowolny silnik bazodanowy.
Jak nie narobić sobie problemów korzystając z EntityFrameworkHighWheelSoftware
Dzięki ORM teoretycznie nie musimy przejmować się tym, jak budować zapytania SQL. Niestety z niektórymi konstrukcjami te biblioteki radzą sobie słabo. Przedstawię przykłady zapytań w EF, które doprowadziły do nieoczekiwanego kodu SQL, oraz jak można je zapisać lepiej. Pokażę też kilka pułapek – specyfiki języka SQL, który zachowuje się inaczej niż intuicja (programisty .NET) podpowiada.
Jak 5 narzędzi złożyło się na sukces hurtowni
Maciek jest kierownikiem projektu hurtowni danych, Przemek liderem zespołu programistów. Razem zaprezentują jakie (darmowe) narzędzia developerskie usprawniły prace programistom oraz jakie pozytywne „efekty uboczne” przyniosły one zarówno w samym projekcie jak i w jego otoczeniu. Następnie przedstawią jak doprowadziło ich to – szybciej niż myśleli – do automatu, który na bieżąco buduje z najnowszych źródeł, wdraża i testuje hurtownię danych.
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
Jako programista dobrze wiesz w jakich strukturach – listach, słownikach, posortowanych listach, … - chcesz umieścić dane w pamięci tak, aby Twój kod był efektywny. Przełożymy te dobrze znane nam struktury na świat relacyjnych baz danych i zgłębimy czemu naprawdę odpowiadają struktury bazodanowe – tabele, różne rodzaje indeksów, partycje, statystyki, itp. Co z tego wynika dla programisty i jak w związku z tym lepiej wykorzystać dostępne zasoby sprzętowe. Powiemy też jakich zadań administracyjnych te struktury wymagają, a których brak może po pewnym czasie bardzo zaszkodzić naszej aplikacji. Skupię się na Microsoft SQL Server, jednak bez problemu przetłumaczycie użyte terminy na dowolny silnik bazodanowy.
Jak nie narobić sobie problemów korzystając z EntityFrameworkHighWheelSoftware
Dzięki ORM teoretycznie nie musimy przejmować się tym, jak budować zapytania SQL. Niestety z niektórymi konstrukcjami te biblioteki radzą sobie słabo. Przedstawię przykłady zapytań w EF, które doprowadziły do nieoczekiwanego kodu SQL, oraz jak można je zapisać lepiej. Pokażę też kilka pułapek – specyfiki języka SQL, który zachowuje się inaczej niż intuicja (programisty .NET) podpowiada.
Jak 5 narzędzi złożyło się na sukces hurtowni
Maciek jest kierownikiem projektu hurtowni danych, Przemek liderem zespołu programistów. Razem zaprezentują jakie (darmowe) narzędzia developerskie usprawniły prace programistom oraz jakie pozytywne „efekty uboczne” przyniosły one zarówno w samym projekcie jak i w jego otoczeniu. Następnie przedstawią jak doprowadziło ich to – szybciej niż myśleli – do automatu, który na bieżąco buduje z najnowszych źródeł, wdraża i testuje hurtownię danych.
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
During this webinar, Anand Bagmar demonstrates how AI tools such as ChatGPT can be applied to various stages of the software development life cycle (SDLC) using an eCommerce application case study. Find the on-demand recording and more info at https://applitools.info/b59
Key takeaways:
• Learn how to use ChatGPT to add AI power to your testing and test automation
• Understand the limitations of the technology and where human expertise is crucial
• Gain insight into different AI-based tools
• Adopt AI-based tools to stay relevant and optimize work for developers and testers
* ChatGPT and OpenAI belong to OpenAI, L.L.C.
More than Just Lines on a Map: Best Practices for U.S Bike Routes
This session highlights best practices and lessons learned for U.S. Bike Route System designation, as well as how and why these routes should be integrated into bicycle planning at the local and regional level.
Presenters:
Presenter: Kevin Luecke Toole Design Group
Co-Presenter: Virginia Sullivan Adventure Cycling Association
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
During this webinar, Anand Bagmar demonstrates how AI tools such as ChatGPT can be applied to various stages of the software development life cycle (SDLC) using an eCommerce application case study. Find the on-demand recording and more info at https://applitools.info/b59
Key takeaways:
• Learn how to use ChatGPT to add AI power to your testing and test automation
• Understand the limitations of the technology and where human expertise is crucial
• Gain insight into different AI-based tools
• Adopt AI-based tools to stay relevant and optimize work for developers and testers
* ChatGPT and OpenAI belong to OpenAI, L.L.C.
More than Just Lines on a Map: Best Practices for U.S Bike Routes
This session highlights best practices and lessons learned for U.S. Bike Route System designation, as well as how and why these routes should be integrated into bicycle planning at the local and regional level.
Presenters:
Presenter: Kevin Luecke Toole Design Group
Co-Presenter: Virginia Sullivan Adventure Cycling Association
9. Udział SCD w statystykach Gartnera?
Projekt 1
• Brak obsługi SCD
– błędne dane
Projekt 2
• Błędnie zaprojektowane
wymiary SCD po stronie
hurtowni - wydajność
Projekt 3
• Błędnie
zamodelowane
procesy ETL –
błędne dane
11. Kiedy możemy mówić, że projekt
zakończył się niepowodzeniem?
Spalanie 100
l / 100 km
Maksymalna
prędkość 25 km/h
Niedziałające
hamulce na
autostradzie
Koszty
Czas
Bezpieczeństwo
Zaufanie
12. Kiedy możemy mówić, że projekt
zakończył się niepowodzeniem?
Maksymalne
wykorzystanie
zasobów
• Spalanie 100 l /
100 km
Problem z wydajnością
• Maksymalna prędkość 25
km/h
Błędne dane
• Niedziałające
hamulce na
autostradzie
Koszty
Czas
Bezpieczeństwo
Zaufanie
14. SCD – Slowly Changing Dimension
Koncept wprowadzony przez Ralpha Kimballa,
nakładający na hurtownie danych
odpowiedzialność za obsługę zmieniających
się wartości atrybutów w modelowanych
wymiarach.
15. SCD – Slowly Changing Dimension
Przykład: fakt sprzedaży towaru, przez
sprzedawcę, przypisanego do danego
województwa.
Rok
Kraj Województwo Sprzedawca 2015 2016
Polska
Pomorskie Kowalski 1000 2000
Mazowieckie Nowak 500
Wielkopolskie Stolarski 1500
16. SCD – Slowly Changing Dimension
Przykład: fakt sprzedaży towaru, przez
sprzedawcę, przypisanego do danego
województwa. W 2017 roku, Kowalski zostaje
przeniesiony:
17. SCD – Slowly Changing Dimension
Przykład: fakt sprzedaży towaru, przez
sprzedawcę, przypisanego do danego
województwa. W 2017 roku, Kowalski zostaje
przeniesiony:
18. SCD – Slowly Changing Dimension
Przykład: fakt sprzedaży towaru, przez
sprzedawcę, przypisanego do danego
województwa. W 2017 roku, Kowalski zostaje
przeniesiony:
Rok
Kraj Województwo Sprzedawca 2015 2016
Polska
Śląskie Kowalski 1000 2000
Mazowieckie Nowak 500
Wielkopolskie Stolarski 1500
19. SCD – Slowly Changing Dimension
Rok
Kraj Województwo Sprzedawca 2015 2016 2017
Polska
Pomorskie Kowalski 1000 2000
Mazowieckie Nowak 500
Wielkopolskie Stolarski 1500
Śląskie Kowalski 2000
20. SCD – Slowly Changing Dimension
Rok
Kraj Województwo Sprzedawca 2015 2016 2017
Polska
Pomorskie Kowalski 1000 2000
Mazowieckie Nowak 500
Wielkopolskie Stolarski 1500
Śląskie Kowalski 2000
21. SCD – Slowly Changing Dimension
Typ 0 Typ 1
Typ 2Typ 3
22. SCD – Slowly Changing Dimension
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
23. SCD – Slowly Changing Dimension
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
24. SCD – Slowly Changing Dimension
•W tabeli wymiaru
przechowywane są tylko
najnowsze wartości
atrybutów.
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
25. SCD – Slowly Changing Dimension
•W tabeli wymiaru
przechowywane są tylko
najnowsze wartości
atrybutów.
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
26. SCD – Slowly Changing Dimension
•Nowe kolumny
przechowujące
poprzednią wartość
•W tabeli wymiaru
przechowywane są tylko
najnowsze wartości
atrybutów.
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
27. SCD – Slowly Changing Dimension
•Nowe kolumny
przechowujące
poprzednią wartość
•W tabeli wymiaru
przechowywane są tylko
najnowsze wartości
atrybutów.
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
28. SCD – Slowly Changing Dimension
•Nowy wiersz z nowym
kluczem głównym
•Stary wiersz zostaje
zachowany
•Nowe kolumny
przechowujące
poprzednią wartość
•W tabeli wymiaru
przechowywane są tylko
najnowsze wartości
atrybutów.
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
29. SCD – Slowly Changing Dimension
•Nowy wiersz z nowym
kluczem głównym
•Stary wiersz zostaje
zachowany
•Nowe kolumny
przechowujące
poprzednią wartość
•W tabeli wymiaru
przechowywane są tylko
najnowsze wartości
atrybutów.
•Brak modyfikacji
istniejących wierszy.
•Dopuszczalne
dodawanie nowych
wierszy.
Typ 0 Typ 1
Typ 2Typ 3
30. SCD – Slowly Changing Dimension
•Nowy wiersz z nowym
kluczem głównym
•Stary wiersz zostaje
zachowany
•W tabeli wymiaru
przechowywane są tylko
najnowsze wartości
atrybutów.
Typ 0 Typ 1
Typ 2Typ 3
31. Kiedy SCD typu 2 przestaje być
wystarczające?
• Wyobraźmy sobie, że mamy wymiar Pacjent,
który posiada 1000 wierszy (mały wymiar).
• Zakładamy, że jeden z atrybutów może się
zmienić 10 krotnie w ciągu roku:
– Na przykład Waga: pacjent jest ważony co miesiąc.
• Po roku okazuje się wymiar ma już 10 000
wierszy.
32. Kiedy SCD typu 2 przestaje być
wystarczające?
• Wyobraźmy sobie, że mamy wymiar Pacjent,
który posiada 1000 wierszy (mały wymiar).
• Zakładamy, że jeden z atrybutów może się
zmienić 10 krotnie w ciągu roku:
– Na przykład Waga: pacjent jest ważony co miesiąc.
• Po roku okazuje się wymiar ma już 10 000
wierszy.
33. Kiedy SCD typu 2 przestaje być
wystarczające?
• Wyobraźmy sobie, że mamy wymiar Pacjent,
który posiada 1000 wierszy (mały wymiar).
• Zakładamy, że jeden z atrybutów może się
zmienić 10 krotnie w ciągu roku:
– Na przykład Waga: pacjent jest ważony co miesiąc.
• Po roku okazuje się wymiar ma już 10 000
wierszy.
34. Kiedy SCD typu 2 przestaje być
wystarczające?
• A co jeśli wymiar z analogicznego scenariusza
ma 1 000 000 wierszy?
35. Kiedy SCD typu 2 przestaje być
wystarczające?
• A co jeśli wymiar z analogicznego scenariusza
ma 1 000 000 wierszy?
10 000 000 wierszy w wymiarze po pierwszym roku
działania hurtowni.
36. Kiedy SCD typu 2 przestaje być
wystarczające?
• A co jeśli wymiar z analogicznego scenariusza
ma 1 000 000 wierszy?
10 000 000 wierszy w wymiarze po pierwszym roku
działania hurtowni.
• A co jeśli analogiczny wymiar ma mieć SCD dla
wielu atrybutów?
.
37. RCD – Rapidly Changing Dimension
O wymiarze RCD możemy mówić jeżeli dla
jednego lub więcej atrybutów zachodzi dużo,
częstych zmian w wielu wierszach.
38. RCD – Rapidly Changing Dimension
O wymiarze RCD możemy mówić jeżeli dla
jednego lub więcej atrybutów zachodzi dużo,
częstych zmian w wielu wierszach.
RCD to nic innego, jak SCD typu 4, z
uwzględnieniem nacisku na proces ETL
zapewniający odpowiednie dane historyczne.
39. RCD czyli SCD typu 4
• O SCD typu 4 mówimy kiedy, grupa atrybutów
wchodzących w skład jednego wymiaru
zostaje rozbita, tworząc dodatkowy mini-
wymiar:
40. RCD, czyli SCD typu 4
• O SCD typu 4 mówimy kiedy, grupa atrybutów
wchodzących w skład jednego wymiaru
zostaje rozbita, tworząc dodatkowy mini-
wymiar:
https://www.kimballgroup.com/2013/02/design-tip-152-slowly-changing-dimension-types-0-4-5-6-7/
41. RCD, czyli SCD typu 4
• Rekomendacja Kimballa dla stosowania mini-
wymiaru, oprócz typowego RCD:
42. RCD, czyli SCD typu 4
• Rekomendacja Kimballa dla stosowania mini-
wymiaru, oprócz typowego RCD:
Wielomilionowe wymiary, które posiadają często
używane atrybuty (nawet jeżeli nie są SCD).
43. RCD, czyli SCD typu 4
• Najważniejszą kwestią jest poprawne
wskazanie często zmieniających się atrybutów,
które będą elementami mini wymiaru.
44. RCD, czyli SCD typu 4
• Najważniejszą kwestią jest poprawne
wskazanie często zmieniających się atrybutów,
które będą elementami mini wymiaru.
• Jedną z zalet mini-wymiaru jest możliwość
utrzymywania go jako SCD typu 0, co będzie
się wiązało z brakiem przeładowywania
danych oraz brakiem generowania kolejnych
kluczy surogatowych.
45. RCD, czyli SCD typu 4
• Mini-wymiar, jako SCD 0 – wymiary te mają
bardzo często skończoną liczbę elementów.
Dostarczenie i wygenerowanie wszystkich
możliwych kombinacji, elementów mini-
wymiaru, pozwali na jedno ładowanie
początkowe bez potrzeby bieżącego
odświeżania. Przykład:
46. • Nasz mini-wymiar wyłączony od pacjenta, będzie zawierał dwa atrybuty:
Waga
1
2
…
300
Status
Uczeń
Osoba pracująca
Bezrobotny
Emeryt
47. • Nasz mini-wymiar wyłączony od pacjenta, będzie zawierał dwa atrybuty:
• Widzimy, że nasz wymiar będzie miał: 300x4 = 1200 kombinacji możliwych
wartości.
Waga
1
2
…
300
Status
Uczeń
Osoba pracująca
Bezrobotny
Emeryt
48. • Nasz mini-wymiar wyłączony od pacjenta, będzie zawierał dwa atrybuty:
• Widzimy, że nasz wymiar będzie miał: 300x4 = 1200 kombinacji możliwych
wartości.
• Do generowania klucza surogatowego, można dodatkowo użyć formuły,
która czasami może być również wykorzystana przy przypisywaniu klucza
surogatowego w tabeli faktu, np.:
klucz surogatowy = liczba przypisana do statusu*1000 + waga
Waga
1
2
…
300
Status
Uczeń
Osoba pracująca
Bezrobotny
Emeryt
50. Z jakimi problemami trzeba się
zmierzyć jeżeli wdrożone SCD 2
będziemy musieli zmienić na SCD 4?
51. Tabele faktów po stronie
hurtowni bazodanowej
Wymiary po stronie kostki
analitycznej
Zmiana atrybutów w
raportach
•Ingerowanie w struturę dużych i zestagowanych
tabel faktów, z pełnymi danymi historycznymi
•Utworzenie nowej kolumny z kluczem
surogatowym do mini-wymiaru
•Przypisanie kluczu surogatowego (uwaga na
partycje i inne elementy optymalizujące).
•Co jeżeli tabelefaktów mają setki milionów
albo miliardywierszy?
•Edycja dotychczas używanego wymiaru
(usunięcie atrybutów przesuniętych do mini-
wymiaru).
•Utworzenie nowego mini-wymiaru
•Pełen proces kostki dla dostarczenia nowych
struktur.
•Co jeżeli pełen procesliczymyw dziesiątkach
godzin?
• Uwzględnienie nowo dostarczonych
atrybutów z nowo utworzonego wymiaru
do dotychczas stosowanych raportów.
• Co jeżeli są setki albo tysiące raportów?
52. Tabele faktów po stronie
hurtowni bazodanowej
Wymiary po stronie kostki
analitycznej
Zmiana atrybutów w
raportach
•Ingerowanie w struturę dużych i zestagowanych
tabel faktów, z pełnymi danymi historycznymi
•Utworzenie nowej kolumny z kluczem
surogatowym do mini-wymiaru
•Przypisanie kluczu surogatowego (uwaga na
partycje i inne elementy optymalizujące).
•Co jeżeli tabelefaktów mają setki milionów
albo miliardywierszy?
•Edycja dotychczas używanego wymiaru
(usunięcie atrybutów przesuniętych do mini-
wymiaru).
•Utworzenie nowego mini-wymiaru
•Pełen proces kostki dla dostarczenia nowych
struktur.
•Co jeżeli pełen procesliczymyw dziesiątkach
godzin?
• Uwzględnienie nowo dostarczonych
atrybutów z nowo utworzonego wymiaru
do dotychczas stosowanych raportów.
• Co jeżeli są setki albo tysiące raportów?
53. Tabele faktów po stronie
hurtowni bazodanowej
Wymiary po stronie kostki
analitycznej
Zmiana atrybutów w
raportach
•Ingerowanie w struturę dużych i zestagowanych
tabel faktów, z pełnymi danymi historycznymi
•Utworzenie nowej kolumny z kluczem
surogatowym do mini-wymiaru
•Przypisanie kluczu surogatowego (uwaga na
partycje i inne elementy optymalizujące).
•Co jeżeli tabelefaktów mają setki milionów
albo miliardywierszy?
•Edycja dotychczas używanego wymiaru
(usunięcie atrybutów przesuniętych do mini-
wymiaru).
•Utworzenie nowego mini-wymiaru
•Pełen proces kostki dla dostarczenia nowych
struktur.
•Co jeżeli pełen procesliczymyw dziesiątkach
godzin?
• Uwzględnienie nowo dostarczonych
atrybutów z nowo utworzonego wymiaru
do dotychczas stosowanych raportów.
• Co jeżeli są setki albo tysiące raportów?
56. Audyt danych – wbudowane mechanizmy SQL Server
SQL Server
Extended Events
SQL Server Audit
SQL Server
Transaction logs
SQL Server Profiler
and SQL Server
traces
Change Tracking
Change Data
Capture (CDC)
SQL Server Triggers
SQL Server
Temporal tables
57. Audyt danych – wbudowane mechanizmy SQL Server
SQL Server
Extended Events
SQL Server Audit
SQL Server
Transaction logs
SQL Server Profiler
and SQL Server
traces
Change Tracking
Change Data
Capture (CDC)
SQL Server Triggers
SQL Server
Temporal tables
• Monitorowanie kto i kiedy
dokonał zmian.
• Brak informacji jaka zmiana.
58. Audyt danych – wbudowane mechanizmy SQL Server
SQL Server
Extended Events
SQL Server Audit
SQL Server
Transaction logs
SQL Server Profiler
and SQL Server
traces
Change Tracking
Change Data
Capture (CDC)
SQL Server Triggers
SQL Server
Temporal tables
• Monitorowanie kto i kiedy
dokonał zmian.
• Brak informacji jaka zmiana.
• Bardzo dużo informacji
• Ciężkie do odczytu.
59. Zmiana w danych - wbudowane mechanizmy SQL
Server
Change Tracking
Change Data
Capture (CDC)
SQL Server
Triggers
SQL Server
Temporal tables
60. SQL Server Change Tracking
• Change Tracking jest mechanizmem docelowo
przeznaczonym dla deweloperów i ma zadanie
synchronizować dane pomiędzy bazami,
instancjami i urządzeniami.
• Change Tracking zapewnia dane dla zapytania:
„Potrzebuje ostatnią wartość danych dla
wierszy, które zmieniły się od ostatniego
pobrania danych.”
61. SQL Server Change Tracking
• CT jest dostępne od SQL Server 2008 dla
wszystkich wersji.
• CT działa synchronicznie z transakcjami
operującymi na wierszach.
• Nie operuje na plikach logów LDF.
• Nie są tworzone żadne nowe obiekty (Triggery,
Joby, dużo dedykowanych tabel).
62. SQL Server Change Tracking
• CT nie przechowuje pełnych danych historycznych. Możemy się dowiedzieć
wartości tylko dla ostatniej zmiany.
• CT wymaga klucza głównego po stronie tabeli, którą chcemy monitorować.
• CT trzeba włączyć osobno dla bazy:
• Oraz osobno dla wybranej tabeli:
63. SQL Server Change Tracking
• Zmiany dla wszystkich tabel przechowywane są w jednej tabeli.
• Dostęp do informacji o zmianach mamy przez funkcje CHANGETABLE:
SELECT * FROM CHANGETABLE (CHANGES Employee,1) as
CT ORDER BY SYS_CHANGE_VERSION
64. Change Data Capture CDC
• CDC jest odpowiedzialne za zapisywanie
wszelkich informacji związanych z operacjami:
INSERT, UPDATE i DELETE dla wybranych tabel.
• Informacje te przechowywane są w
dedykowanych tabelach, które odzwierciedlają
pełną historię zmian zachodzących we
wskazanej tabeli.
• Tabele maja spójna strukturę z tabelą źródłową.
Struktura ta jest rozszerzona o meta-kolumny.
• Tabele znajdują się w schemie ‘cdc’ i posiadają
końcówkę ‘_CT’.
65. Change Data Capture CDC
• CDC jest działa na asynchronicznym mechanizmie opartym na
odczytywaniu danych z logów transakcyjnych. Nie obciążą to transakcji, ale
wiąże się z rozrastaniem loga.
• Wymaga SQL Agenta.
• Potrzebuje dostępu do plików LDF.
• Do SQL Server 2016 dostępne tylko w wersjach
Enterprise/Developer/DataCenter.
66. Change Data Capture CDC
• Łatwiejszy i czytelniejszy dostęp do modyfikowanych wpisów:
67. SQL Server Triggers
• W SQL Server 2005 zostały po raz pierwszy wprowadzone 3
nowe rodzaje triggerów:
– After Insert,
– After Update,
– After Delete.
• Tak rozszerzony mechanizm triggerów, pozwalał na bardzo
dobre monitorowanie i przechwytywanie wszelkich zmian po
stronie wybranych tabel.
68. SQL Server Triggers
• Stosowane triggerów ma sporo zalet:
– Możliwość przechowywanie pełnej historii zmian w tabelach.
– Pełna kontrola oraz duże możliwości w zakresie struktur oraz formatu
danych.
– Możliwość uwzględnienie dedykowanego filtrowania oraz dodania
dodatkowej logiki biznesowej.
– Zmiany są wyłapywane synchronicznie, dzięki czemu mamy od razu
dostęp do aktualnych danych dotyczących zmian.
– Można je bardzo szybko i bezboleśnie wyłączyć np. przed dużymi
zmianami po stronie danych.
– Mamy większa kontrole ile i jakie dane są przechowywane.
69. SQL Server Triggers
• Niestety, ale odbywa się to dosyć dużym kosztem.
• Synchronizacja okazuje się też dużym niebezpieczeństwem i
może mieć duży wpływ na wydajność operacji INSERT,
UPDATE, DELETE.
• Triggery z reguły negatywnie wpływają na czasy trwania
transakcji oraz mogą mieć udział w lockach.
• Dodatkowo są bardzo ciężkie w utrzymaniu dla
administratorów.
70. SQL Server Temporal Tables
• Temporal Tables jest to mechanizm pozwalający na
wersjonowanie zawartości tabel w czasie.
• Odpytując dana tabele, mamy dostęp nie tylko do
aktualnych wartości. Temporal Tables zakładają
możliwość zwrócenia wartości na zadany moment w
czasie.
• Temporal Tables zostały wprowadzone w SQL Server
2016 i są dostępne dla wszystkich wersji.
• Pozwalają na przechowywanie pełnej historii.
71. SQL Server Temporal Tables
• Tabela, która ma być wersjonowana w czasie
powinna posiadać dwie kolumny typy DateTime2,
które będą wykorzystywane do przechowywania
informacji o zakresie ważności danego wpisu:
73. Na co uważać? Co może być przeszkodą dla zastosowania?
74. Na co uważać? Co może być przeszkodą dla zastosowania?
Mechanizmy synchroniczne
– wydłużenie czasu trwania
transakcji
Mechanizmy
asynchroniczne –
zwiększenie Loga
transakcyjnego
Synchroniczne i
asynchroniczne – oba maja
wpływa na wydajność.
Pytanie, jak duże
Możemy nie mieć
wystarczających uprawnień i
dostępów – Idea STAGINGU!
Niektóre mechanizmy
musza byćpredefiniowane
przez dostawce.
Administratorzy nie pozwola
na tak znaczące ingerowanie
w instancje i bazy źródłowe.
Baza jest … na innym silniku
niż SQL Server (np. Oracle).
Co wtedy?
75. Pamiętajmy, że zawsze możemy liczyć na odpowiednio
skonfigurowanego i zoptymalizowanego SQL Server Agent Joba.
76. Pamiętajmy, że zawsze możemy liczyć na odpowiednio
skonfigurowanego i zoptymalizowanego SQL Server Agent Joba.
Możemy obsłużyć nie tylko
bazy z SQL Server.
Nie obciąży transakcji.
Może potrzebować mniej
zasobów.
Nie będziemy zależni od
Administratora.
Nie będzie zależni od
dostawcy systemu
źródłowego.
Będziemy mogli zaciągnąć
wiele zmian jednocześnie.
Brak jednoznacznego triggera
– scheduler ustawiony na
15s, 30s, 1 min. w zależności
od scenariusza