10 Things All Bi Admins Should Know

download 10 Things All Bi Admins Should Know

of 15

Transcript of 10 Things All Bi Admins Should Know

  • 8/10/2019 10 Things All Bi Admins Should Know

    1/15

    Robert L Davis

  • 8/10/2019 10 Things All Bi Admins Should Know

    2/15

    Past:

    Website:Twitter:

    LinkedIN:See me at:

    P.M. SQL Server Master Certification Program at MicrosoftSr. Database Administrator at Microsoftwww.SQLSoldier.com @SQLSoldierwww.linkedin.com/in/robertldavis SQL Saturday 265, Portland, OR (11/16/2013)

    http://www.sqlsoldier.com/http://www.linkedin.com/in/robertldavishttp://www.linkedin.com/in/robertldavishttp://twitter.com/SQLSoldierhttp://feeds.feedburner.com/Sqlsoldierhttp://www.linkedin.com/in/robertldavishttp://www.sqlsoldier.com/
  • 8/10/2019 10 Things All Bi Admins Should Know

    3/15

    10 SQL components dont play well together Database Engine, Analysis Services, and SSISPackages are resource hogsEach one will try to use as many resources as it canThey dont care what the other needs Recommendation: separate components to differentservers

  • 8/10/2019 10 Things All Bi Admins Should Know

    4/15

    9 File placement still mattersSeparate files to different drives for bestperformance

    BackupDirDataDir

    LogDirTempDir

  • 8/10/2019 10 Things All Bi Admins Should Know

    5/15

    8 Backup the encryption keysSSRS stores data encrypted in ReportServerdatabase

    Data source accounts and passwordsReport subscription recipients

    Key can be recreated but encrypted data will be lostImport to other SSRS instances to create a farm

  • 8/10/2019 10 Things All Bi Admins Should Know

    6/15

    7 Warm the cache in SSASRun a pre-defined set of queriesUse the WITH CACHE statement to pre-load acommonly used slice of a cube

    WITH CACHE AS '([Sales Territory].[Sales TerritoryRegion].Members)'SELECT

    {[Sales Territory].[Sales Territory Region]. Members } ON COLUMNS,

    {[Measures].[Order Count]} ON ROWSFROM [Adventure Works];

  • 8/10/2019 10 Things All Bi Admins Should Know

    7/15

    6 Paging file matters in SSASMore RAM > large paging file > out of memoryerrorsSSAS uses RAM if it canIf available RAM is low, SSAS will use the paging fileIf out of RAM and paging file space, out of memoryerrors may occur

  • 8/10/2019 10 Things All Bi Admins Should Know

    8/15

    5 Tune parallelism for high CPU serversThreadPool\Query\Maxthreads

  • 8/10/2019 10 Things All Bi Admins Should Know

    9/15

    4 Use partitioned viewsOlder, static data in partitioned tableNewer, changing data in stand-alone tableCombine with a partitioned view

  • 8/10/2019 10 Things All Bi Admins Should Know

    10/15

    3 Load balancing SSAS > ClusteringHardware or Software load balancingAllows you to process cubes one at a timeprogrammatically without downtimeScalable to many servers

  • 8/10/2019 10 Things All Bi Admins Should Know

    11/15

    2 Dont give SSRS users database access Used stored credentials of a non-user domainservice account

  • 8/10/2019 10 Things All Bi Admins Should Know

    12/15

    1 Back up your databasesSSAS databases should be backed up tooUse SSMS to create backup script in XMLASchedule via a SQL job

    < Backup xmlns = "http://schemas.microsoft.com/analysisservices/2003/engine ">

    < Object >< DatabaseID > Adventure Works DW 2012

    < File > E:\MSSQL\OLAP\BAK\Adventure Works DW

    2008R2.abf < AllowOverwrite > true

  • 8/10/2019 10 Things All Bi Admins Should Know

    13/15

  • 8/10/2019 10 Things All Bi Admins Should Know

    14/15

  • 8/10/2019 10 Things All Bi Admins Should Know

    15/15

    1 Things All BI Administrators Should KnowRobert L Daviswww.sqlsoldier.com | @SQLSoldier

    http://www.sqlsoldier.com/http://twitter.com/SQLSoldierhttp://twitter.com/SQLSoldierhttp://twitter.com/SQLSoldierhttp://www.sqlsoldier.com/