Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 126936

A database system optimised for reporting, particularly in aggregate. Often, but not always implemented using a star schema.

1 vote

One attributes to several statues with the date of each statue in my fact table data warehouse

Sounds to me like a case for a Periodic Snapshot Fact Table, eg Date, TicketsOpened, TicketsClosed, OpenTickets
David Browne - Microsoft's user avatar
2 votes

All Data Transformations via SSIS

I have seen this done. And while it's not something I would ever recommend, it does have some advantages from a process and skillset point-of-view. The main reason you would try this is to have a co …
David Browne - Microsoft's user avatar
1 vote
Accepted

Data Warehouse Modeling: Sales Order Charges

Can someone guide me as to which of these options is the most apt design? Funilly enough, that question does have an answer: No. No one can. Dimensional modeling is always about the questions …
David Browne - Microsoft's user avatar
5 votes

What's the best way to concatenate a multi-column foreign key?

It's quite common in Data Warehouse schema designs to assign a new, integer, single-column key to every table, and retain the source-system key (sometimes called the "business key") as well. Kimbal …
David Browne - Microsoft's user avatar
2 votes

Approaches for handling nvarchar sources to data warehouse

In SQL Server with Table and Index Compression (Row, Page or Columnstore) NVarchar columns don't use two bytes per character. They use Unicode Compression. Here's an example: use master go drop da …
David Browne - Microsoft's user avatar
0 votes
Accepted

Can you have a minimal transactions data warehouse?

What you describe is basic data warehouse architecture, where you have both normalized transaction data, and from that load tables that are modeled for easy consumption and fast query performance. In …
David Browne - Microsoft's user avatar
2 votes

Storing Live Timeseries Data in SQL Server Azure Database

With that design it is expected that the query requires a full scan of the columnstore. That should be very fast at that scale, but the IO stats show that you're reading from disk. If you look at th …
David Browne - Microsoft's user avatar
2 votes

Setting isolation level at database level

There are better ways to handle this than dirty reads. READ UNCOMMITTED queries will still block DDL, like TRUNCATE TABLE, DROP TABLE and ALTER TABLE … SWITCH, so it might not even help. First, of c …
David Browne - Microsoft's user avatar
1 vote
Accepted

Column store index for on premise Kimball Data Warehouses

As of SQL 2016 Clustered Columnstore Indexes should be your default choice for Fact tables in a Kimball-style dimensional model, possibly with the addition of a non-clustered primary key to prevent du …
David Browne - Microsoft's user avatar
1 vote
Accepted

How to compress data in SQL Server? The data warehouse raw data is times bigger than the MyS...

The sales_order table contains 7'100'000 rows with size 5.5GB. However, in the data warehouse, the same table sized 20GB SQL Server has several different table compression options. The one most com …
David Browne - Microsoft's user avatar
3 votes
Accepted

SQL All Procs have WITH RECOMPLILE so how to maintain a bloated plan cache

The plans generated for queries with forced recompile are not cached. See RECOMPILE Hints and Execution Plan Caching for details.
David Browne - Microsoft's user avatar
0 votes

Securing Functional/Service ID for MSSQL with Windows Authentication

You should use an AD account, rather than local Windows accounts which you have to manually keep synchronized among the servers. If the service account is used to run the SQL Server service, it should …
David Browne - Microsoft's user avatar
1 vote
Accepted

SQL Indexed View for Datamart Reporting with Transactional Replication

Yes. It is generally safe, and often useful to create indexed views on subscriber tables in transactional replication. You may need to drop and recreate the indexed views using custom scripts before …
David Browne - Microsoft's user avatar