From efa54273da4083c2d9bd7924eaec6c53e42d5657 Mon Sep 17 00:00:00 2001 From: Jos de Bruijn Date: Thu, 29 Jun 2017 14:47:18 -0700 Subject: [PATCH] Wwi update (#257) * wwi revision from Robert Cain * added .sln files * adding publish.xml files for ssdt projects * correct DB names in publish.xml * renaming project names to align with DB names * removing redundant config procs from OLAP DB; adding version table * moving full-text indexing to post-deployment script * updated SampleVersion, and added version to post-deployment script * aligning start date with v1 start date * reduce rowcount to accomodate low-end systems * fixing T-SQL syntax error * fixing T-SQL syntax issue * aligning naming of SSIS package with v1 * update RLS sample to work with v2 of wwi City IDs are no longer hard-coded * updating DB names for SSIS * aligning publish name with DB name * updating DB settings * aligning DB name * improved perf for coldroomtemperature Improved process, such that all data for a given day is generated as a single native proc execution, which accumulates the data in a non-durable table. this data is then bulk-moved to the archive table, before adding the most recent data to the current table. * aligning names of memory_optimized_data filegroups * updated filegroups in project files * commenting ApplyPolyBased from post-deployment deployment of the SSDT project should not fail if connection with the Azure storage account cannot be established. Therefore, applying the PolyBase piece to the sample DB is something the user needs to do after deploying the DB. * removing ApplyPolybase from post-deployment * aligning DB set options * cleaning up FTS artifacts * aligning data source name * facilitating publication to azure - removing explicit filegroup references from index definitions - adding snapshot hints to references for memory-optimized tables, to facilicate publication in DBs without the MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT hint * initial updated docs for OLTP DB * initial documentation for WideWorldsImportersDW * docs for SSIS package * initial documentation for SSASMD project * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * adding Azure SQL DB sections to docs * Update README.md * Update README.md * cleaning up local solution files - cleaning up bad references in local solution files - calling out SSAS and SSIS dependencies more explicitly in the READMEs * replacing inner join to BuyingGroups with LEFT JOIN Fixing logical error in the integration proc. Not all customers are in buying groups. * removing redundant reference to release * correction around Azure deployment * corrections around Azure deployment * Update README.md * Update README.md * Update README.md * clarified how 2012 data is generates * Update README.md * minor updates * implementing PR comments * Update README.md * Update README.md * clarifying VS2017 caveats * adding caveat for VS2017 * caveat for VS2017 * removing stale file reference * removing stale folder * adding DB option to post-deployment scripts for Azure SQL DB purposes * fixes for migration Azure SQL Premium->Standard * fixes for enabling/disabling In-Memory OLTP * renaming to avoid confusion * aligning project structure with best practice - aligning SSAS DB name with others --- .../wwi-dw-ssdt/WideWorldImportersDW.sqlproj | 4 +++- .../wwi-dw-ssdt/{ => dbo/Tables}/SampleVersion.sql | 0 samples/databases/wide-world-importers/wwi-sample.sln | 2 +- .../wide-world-importers/wwi-ssasmd/wwi-ssasmd.sln | 8 ++++---- .../wwi-ssasmd/wwi-ssasmd/WWI-SSASMD.database | 10 +++++----- ...j => WideWorldImportersMultidimensionalCube.dwproj} | 0 .../wwi-ssdt/wwi-ssdt/WideWorldImporters.sqlproj | 6 ++++-- .../wwi-ssdt/{ => dbo/Tables}/SampleVersion.sql | 0 8 files changed, 17 insertions(+), 13 deletions(-) rename samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/{ => dbo/Tables}/SampleVersion.sql (100%) rename samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/{WWI-SSASMD.dwproj => WideWorldImportersMultidimensionalCube.dwproj} (100%) rename samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/{ => dbo/Tables}/SampleVersion.sql (100%) diff --git a/samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/WideWorldImportersDW.sqlproj b/samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/WideWorldImportersDW.sqlproj index ff21774d..4ced5354 100644 --- a/samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/WideWorldImportersDW.sqlproj +++ b/samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/WideWorldImportersDW.sqlproj @@ -80,6 +80,8 @@ + + @@ -153,7 +155,7 @@ - + diff --git a/samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/SampleVersion.sql b/samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/dbo/Tables/SampleVersion.sql similarity index 100% rename from samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/SampleVersion.sql rename to samples/databases/wide-world-importers/wwi-dw-ssdt/wwi-dw-ssdt/dbo/Tables/SampleVersion.sql diff --git a/samples/databases/wide-world-importers/wwi-sample.sln b/samples/databases/wide-world-importers/wwi-sample.sln index d287e621..38289175 100644 --- a/samples/databases/wide-world-importers/wwi-sample.sln +++ b/samples/databases/wide-world-importers/wwi-sample.sln @@ -5,7 +5,7 @@ VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "WideWorldImportersDW", "wwi-dw-ssdt\wwi-dw-ssdt\WideWorldImportersDW.sqlproj", "{79C14C29-3A96-4B59-BC92-0290AF92F05B}" EndProject -Project("{D2ABAB84-BF74-430A-B69E-9DC6D40DDA17}") = "WWI-SSASMD", "wwi-ssasmd\WWI-SSASMD\WWI-SSASMD.dwproj", "{AE481845-1E4D-4C1C-80DB-184CE847150F}" +Project("{D2ABAB84-BF74-430A-B69E-9DC6D40DDA17}") = "WideWorldImportersMultidimensionalCube", "wwi-ssasmd\WWI-SSASMD\WideWorldImportersMultidimensionalCube.dwproj", "{AE481845-1E4D-4C1C-80DB-184CE847150F}" EndProject Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "WideWorldImporters", "wwi-ssdt\wwi-ssdt\WideWorldImporters.sqlproj", "{9E972C93-0716-4442-97FC-72C52C2C5AAA}" EndProject diff --git a/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd.sln b/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd.sln index cfa2ca80..0367100f 100644 --- a/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd.sln +++ b/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd.sln @@ -3,16 +3,16 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{D2ABAB84-BF74-430A-B69E-9DC6D40DDA17}") = "WWI-SSASMD", "WWI-SSASMD\WWI-SSASMD.dwproj", "{DED1F3FA-6D6A-4958-A0AC-97F8DA3B73B4}" +Project("{D2ABAB84-BF74-430A-B69E-9DC6D40DDA17}") = "WideWorldImportersMultidimensionalCube", "wwi-ssasmd\WideWorldImportersMultidimensionalCube.dwproj", "{9A7C1971-1B25-4F3A-B4E3-844B34A1238A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Development|Default = Development|Default EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DED1F3FA-6D6A-4958-A0AC-97F8DA3B73B4}.Development|Default.ActiveCfg = Development - {DED1F3FA-6D6A-4958-A0AC-97F8DA3B73B4}.Development|Default.Build.0 = Development - {DED1F3FA-6D6A-4958-A0AC-97F8DA3B73B4}.Development|Default.Deploy.0 = Development + {9A7C1971-1B25-4F3A-B4E3-844B34A1238A}.Development|Default.ActiveCfg = Development + {9A7C1971-1B25-4F3A-B4E3-844B34A1238A}.Development|Default.Build.0 = Development + {9A7C1971-1B25-4F3A-B4E3-844B34A1238A}.Development|Default.Deploy.0 = Development EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WWI-SSASMD.database b/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WWI-SSASMD.database index df743c28..7ebf0240 100644 --- a/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WWI-SSASMD.database +++ b/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WWI-SSASMD.database @@ -1,11 +1,11 @@  WWI-SSASMD - wwi-ssasmd - 0001-01-01T06:00:00Z - 0001-01-01T06:00:00Z - 0001-01-01T06:00:00Z + WideWorldImportersMultidimensionalCube + 0001-01-01T08:00:00Z + 0001-01-01T08:00:00Z + 0001-01-01T08:00:00Z Unprocessed - 0001-01-01T06:00:00Z + 0001-01-01T08:00:00Z Default Unchanged diff --git a/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WWI-SSASMD.dwproj b/samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WideWorldImportersMultidimensionalCube.dwproj similarity index 100% rename from samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WWI-SSASMD.dwproj rename to samples/databases/wide-world-importers/wwi-ssasmd/wwi-ssasmd/WideWorldImportersMultidimensionalCube.dwproj diff --git a/samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/WideWorldImporters.sqlproj b/samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/WideWorldImporters.sqlproj index e3e23273..1b0bfc28 100644 --- a/samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/WideWorldImporters.sqlproj +++ b/samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/WideWorldImporters.sqlproj @@ -146,6 +146,8 @@ + + @@ -688,10 +690,10 @@ - - + + diff --git a/samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/SampleVersion.sql b/samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/dbo/Tables/SampleVersion.sql similarity index 100% rename from samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/SampleVersion.sql rename to samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/dbo/Tables/SampleVersion.sql