当前位置: 首页 > 编程日记 > 正文

[转]BI 问答

http://blog.bridata.ca/?cat=16

前几天Post 了一些BI 的面试问题,感兴趣的人很多,有很多人问我答案以此来评估一下自己的知识水平。坦白地说我没有写在纸上的具体答案,事实上每个问题也没有具体和精确的答案,所谓面试就不是笔试,很多问和答全在交谈中的感觉了。也可能国内的面试和国外的不同吧,或者说找工市场不同?总之从 CSDN 上的反馈来看,大家还是挺有兴趣的。以下选择了些 Sr. 级别的问题,简单写了些答案,立此存照。

Questions I asked candidates who  are applying Sr.Developer/Tech lead position:

Basic about SQL Server

  • How to use the Ranking function ?

A:  Ranking 函数不只是指Rank 一个函数,有4个Ranking 函数,按最常用排应该是:Row_Number, Rank, Dense_Rank 和 NTile,  语法是 Ranking function OVER (Partition by … Order By….).  有一次我们稍微修改了一点儿面试题目:使用T-sql, 返回一个数字列值中的第三大的值,可以用 Row_Number 实现。不过有一个家伙很聪明,他虽然没写上 Row_Number 这种方法,但是用了另一个很聪明的方法,也照样Pass 了。

  • What’s policy and strategy to desion the table partition?

A:  Table partitioning (分区?) 无疑会提高性能(大部分),但是设计Partition 应该注意一些原则,否则也会影响系统性能:只对大记录量的表分区,比如1M 记录一个分区;分区参考列的选择标准应该使一个 SELECT/UPDATE/DELETE 语句只操作一个分区的数据;另外一个值得注意的是索引和视图也应该随之而分区。

  • What’s the key point to setup the SQL Sever remote connection?

A: 这种问题通常不会问,如果问也是看候选人的知识面了。建立远程连接有两个关键点:打开相应的IP 端口和设置用户安全。

  • How to detect and release the deadlock?

A:  很多方法,常用的有 SQL profiler 和 DMV,随便能说清楚一个就行。

  • What’s the difference between physical ER and logical ER design?

A: Physical ER 是给技术人员看的,可以直接生成DDL 的;Logical ER 是给业务分析看的,但是在很复杂的数据环境下,Logical ER 的作用是非常明显的:它能使技术人员很清楚地明白数据表之间的业务逻辑。

  • Conditions to use index view.

A: Index view 的性能是很好的,但是想用它还有很多限制,它的限制有20-30个,也就是说几乎只有简单SELECT 和JOIN 语句才能用在建立Index View 中,以下的SQL操作符不能包含在Index View中: UNION,Sub Query,OUTER JOIN,Distinct, Exists, min, max 等。

Reporting Services

  • How to implement the reports security model?

A: 只要能回答出3层安全就可以:Reports Catalog 安全(设置访问Reports 系统数据库的权限)、Reporting Services 访问安全(访问Reporting Services的权限)、Reports DB 访问安全(访问Reports中用到的数据库的权限);

  • When connecting to SSAS cubes, how to use the default Cube aggregation? What’s the benefit to use it?

A: Aggregation() 函数,这个问题能很快知道该候选人是否真正使用了以SSAS为数据源的报表。好处就是一个字:快!

  • You found that it is very slow when you browse from web browser, how can you improve the performance?

A: 这个问题太大了,…

  • How to implement reports Scale-Out deployment?

Integration Services

  1. How to monitor and improve the SSIS packages performance?
  2. How to implement the team development for the big SSIS project?
  3. How to design and implement the Data profiling?
  4. How to implement the trasanction in SSIS package?

Analysis Service

  1. What’s linked Cube?
  2. How to improve the Cube process performance and Cube access proformance?
  3. How to implement Cube security model?
  4. What’s the confirmed dimension? when/why/how to use it?
  5. How to implement Data warehouse in SSAS by using Kimball and Inmon methodolegy?

Basic about SQL Server

  1. How long have you been using SQL Server 2005 or SQL Server 2008 (or Oracle/DB2 if mentioned in resume)?
  2. How can you do the SQL script (T-SQL, SP…) performance tuning?
  3. What’s CTE (Common Table Expression)? What’s the benifit for develpers to use it?
  4. What’s difference between the SQL Server datatype  nVarchar and Varchar?
  5. What’s difference between the SQL Server datatype Varchar and Char?
  6. What’s difference between Union and Union All, which one is faster if same records retrieved?

Reporting Services

  1. How long time have you been using SQL Server Reporting Services 2005/2008?
  2. What’s difference between SSRS 2005 and SSRS 2008 (if the candidate answered yes when asking if used SSRS 2005)?
  3. What’s difference between List control, Table control and Matrix control?
  4. How to implement the cascading parameters in Report Designer?
  5. How to deploy reports to reports server?
  6. How to deploy reports to Sharepoint server? (if use Sharepoint server to host reports)

Integration Services

  1. How long time have you been using DTS/SSIS 2005/2008?
  2. What’s difference between Data Flow task and other control flow tasks?
  3. What’s user varible? How to define it?
  4. How to pass varibles to the Execute SQL task?
  5. How can you handle the package level errors and Task level errors?
  6. How can you design the data flaw to support the transaction?
  7. How can you deploy the SSIS packages?

Analysis Services

  1. How long time have you been using DTS/SSIS 2005/2008?
  2. What’s Perspective in the Cube design?
  3. What’s difference between Dimension tables and Cube dimension?
  4. How do you create time dimension table?
  5. When you process the cube, what’s differnce between Full Process, Default Process and Process Data?
  6. In the relation of Fact tables and Dimension tables, what’s the Fact relationship, reference relationship mean?

Questions I asked candidates who  are applying Sr.Developer/Tech lead position:

Basic about SQL Server

  1. How long have you been using SQL Server 2005 or SQL Server 2008 (or Oracle/DB2 if mentioned in resume)?
  2. How to use the Ranking function ?
  3. What’s policy and strategy to desion the table partition?
  4. What’s the key point to setup the SQL Sever remote connection?
  5. How to detect and release the deadlock?
  6. What’s the difference between phisical ER and logical ER design?
  7. Conditions to use index view.

Reporting Services

  1. How to implement the reports security model?
  2. When connecting to SSAS cubes, how to use the default Cube aggregation? What’s the benefit to use it?
  3. You found that it is very slow when you browse from web browser, how can you improve the performance?
  4. How to implement reports Scale-Out deployment?

Integration Services

  1. How to monitor and improve the SSIS packages performance?
  2. How to implement the team development for the big SSIS project?
  3. How to design and implement the Data profiling?
  4. How to implement the trasanction in SSIS package?

Analysis Service

  1. What’s linked Cube?
  2. How to improve the Cube process performance and Cube access proformance?
  3. How to implement Cube security model?
  4. What’s the confirmed dimension? when/why/how to use it?
  5. How to implement Data warehouse in SSAS by using Kimball and Inmon methodolegy?

转载于:https://www.cnblogs.com/sanpoye/archive/2012/03/20/2408219.html

相关文章:

没有学不会的C++:用户自定义的隐式类型转换

C 中的类型转换包含内建类型的转换和用户自定义类型的转换,而这两者都又可分为隐式转换和显示转换,所以一共有如下四象限表格中的 A、B、C、D 四种情况 隐式转换显示转换(casting)内建类型转换 (int, float ...)AB用户自定义类型转换(类 vs 类; 类 vs 内…

python scrapy菜鸟教程_scrapy学习笔记(一)快速入门

安装ScrapyScrapy是一个高级的Python爬虫框架,它不仅包含了爬虫的特性,还可以方便的将爬虫数据保存到csv、json等文件中。首先我们安装Scrapy。pip install scrapy在Windows上安装时可能会出现错误,提示找不到Microsoft Visual C。这时候我们…

执行eclipse,迅速failed to create the java virtual machine。

它们必须在一排,否则会出现The Eclipse executable launcher was unable to locate its companion shared library的错误 打开eclipse文件夹下的eclipse.ini文件。改动–launcher.XXMaxPermSize属性,当中此属性有两处 -startup plugins/org.eclipse.equi…

vue打包后图片找不到情况

打包之前需要修改如下配置文件: 配置文件一:build>>>utils.js (修改publicPath:"../../" , 这样写是处理打包后找不到静态文件(图片路径失效)的问题) 配置文件二:config>>>index.js(修改a…

UBUNTU安装SSH和xrdp

一、安装SSH,通过PUTTY访问 命令:sudo apt-get install ssh 查看:netstat -l 二、安装xrdp,通过远程桌面访问 命令:sudo apt-get install xrdp 开启远程桌面访问权限 系统-->首选项-->remote desktop 三、去掉远…

python中opencv中inrange用法_python-opencv中的cv2.inRange函数

本次目标是将一副图像从rgb颜色空间转换到hsv颜色空间,颜色去除白色背景部分具体就调用了cv2的两个函数,一个是rgb转hsv的函数具体用法hsv cv2.cvtColor(rgb_image, cv2.COLOR_BGR2HSV)然后利用cv2.inRange函数设阈值,去除背景部分mask cv2…

[转]C++11 随机数学习

相对于C 11之前的随机数生成器来说,C11的随机数生成器是复杂了很多。这是因为相对于之前的只需srand、rand这两函数即可获取随机数来说,C11提供了太多的选择和东西。 随机数生成算法: 随机数生成算法有很多,C11之前的C/C只…

Linux Shell ssh登录脚本

Linux 登陆服务器敲命令太多,某时候确实不便,所以就用shell写了一个 我的blog地址: http://www.cnblogs.com/caoguo 一.说明 支持秘密和密钥两种格式用户名和密码都是写文件的,明文保存二.配置 密码文件配置:序号:IP:端口:用户:密码:说明 1:192.168.88.128:22:root:toor:虚拟机…

C# 温故而知新:Stream篇(二)

C# 温故而知新:Stream篇(二) TextReader 和StreamReader 目录: 为什么要介绍 TextReader? TextReader的常用属性和方法 TextReader 示例 从StreamReader想到多态 简单介绍下Encoding 编码 StreamReader 的定义及作用 S…

usaco Pollutant Control

第一问是求最小割。第二问求最小割中集合中边最少的集合的大小。 第三问求集合中边最少且字典序最小的边的下标。 第一问直接求最大流就能解,第二问将原来的边的容量都改为1,求出来的最大流就是元素最少的一个最小割的大小。 将容量都改为1之后&#xff…

洛谷P4705 玩游戏(生成函数+多项式运算)

题面 传送门 题解 妈呀这辣鸡题目调了我整整三天……最后发现竟然是因为分治\(NTT\)之后的多项式长度不是\(2\)的幂导致把多项式的值存下来的时候发生了一些玄学错误……玄学到了我\(WA\)的点全都是\(WA\)在\(2\)的幂次行里…… 看到这种题目二话不说先推倒 \[ \begin{aligned}…

blast程序 介绍 简介

每次找都挺麻烦,又记不住,于是抄下来: blastp:将待查询的蛋白质序列及其互补序列一起对蛋白质序列数据库进行查询;blastn:将待查询的核酸序列及其互补序列一起对核酸序列数据库进行查询;blastx:先将待查询的核酸序列按…

java泛型的实现和原理_java 泛型实现原理

泛型思想最早在C语言的模板(Templates)中产生,Java后来也借用了这种思想。虽然思想一致,但是他们存在着本质性的不同。C中的模板是真正意义上的泛型,在编译时就将不同模板类型参数编译成对应不同的目标代码,List和List是两种不同的…

java out of range_关于Parameter index out of range求解决办法

程序:提示参数越界,但我实在不知道我到底哪里越界了。明明该我那样写的嘛。求高手帮我看看,现在我是弄得我有气无力了!要死了。在去死亡的路上等着你帮帮我!Document : replyokCreated on : 2008-9-29, 6:05:31Autho…

FineReport——权限分配以及自定义首页

权限分配可以有两种方法,第一种方法是根据部门职位分配权限,第二种是根据角色分配权限; FR自带有三个JQ对象,用以保存用户名参数/角色参数/部门参数——$fr_username/$fr_authority/$fr_userposition 根据部门职位: 以…

去掉[]中的英文(正则表达式)C#

这个问题本来是以为信息科技大学的老师问蒋委员长的问题,蒋委员长用正则表达式完成了这个问题 1,问题的情况有哪些? abc[abc]abc,abc[-abc]abc,abc[一abc]abc,abc[一abc一]abc等等. 2,问题的解决目标? 写一个通用的方法来完成提出的问题. 3,解决方案 -->正则表达式方法 其…

Event Loop

事件队列 Javascript是单线程,单线程就意味着所有任务需要排队。然后会将所有任务分成两类:同步任务和异步任务!同步任务:在主线程上执行的任务,只有前一个任务执行完成,才会执行后一个!异步任务…

java makefile jar包_java makefile学习实践(编译的javac命令写在makefile中,运行命令java写在shell脚本中)...

学习makefile教程,ubuntu中文网1.写一个简单的java项目,不需要外部jar,用的简单的importjava.util.ArrayList;是可以从CLASSPATH环境变量中找到的,在javac阶段不需要特殊添加-cphellocatHellocat.javaimportjava.util.ArrayList;importjava.u…

Python字符编码详解

Python字符编码详解 转自http://www.cnblogs.com/huxi/archive/2010/12/05/1897271.html Python字符编码详解 本文简单介绍了各种常用的字符编码的特点,并介绍了在python2.x中如何与编码问题作战 :) 请注意本文关于Python的内容仅适用于2.x&a…

《编写有效用例》读书笔记1

第一章 引言 本章主要介绍用例是什么样子的,并描述为什么不同的项目组需要采用不同 的用例编写风格以及在什么地方使用用例有利于做需求收集工作,也让我们了解 在编写用例之前,需要做哪些准备工作。 用例是代表系统中各个项目相关人员之间就系…

顺序结构,判断结构 if,switch

1:顺序结构:从上往下执行程序代码,为顺序结构 ---------------------------------------------------------------------- 2:判断结构: if 如果 判断是两个选择一个,要么对要么错 if中的条件表达式 返回…

php转换文字Unicode,php实现将中文转为unicode的方法

相关函数说明:iconv命令是用来转换文件的编码方式的,比如它可以将UTF8编码的转换成GB18030的编码,反过来也行。str_split() 函数把字符串分割到数组中。bin2hex() 函数把 ASCII 字符的字符串转换为十六进制值。字符串可通过使用 pack() 函数再…

kail安装和vmtools安装

因位太费劲我直接把我做的Word文档直接上传了,如果想安装可以下载,我就不麻烦在写一遍了,这个教程主要给小白讲的,大佬请绕过 kail安装教程.docx https://pan.wps.cn/l/sm43o7f 密码:f43341转载于:https://www.cnblogs…

Windows计数器做性能监控(window server 2008服务器)

使用Windows计数器 一、创建数据收集器集 二、创建数据收集器 三、使用数据收集器 1、修改数据收集器的属性 2、手动启用、手动停止数据收集器集 3、计划任务 4、在性能监视器中查看 一、性能监视器 Windows 服务器操作系统提供一个名为“性能监视器”的图形工具,可…

使用浏览器wpf应用程序时访问数据库需要报权限错误的解决方法

在这篇wpf教程中,如果选用浏览器wpf应用程序模板我遇到了 访问数据库时权限不够 不能打开连接 将项目属性的安全性中设置为完全信任后即解决 转载于:https://www.cnblogs.com/langu/archive/2012/03/29/2423620.html

gprs 神奇宝典java,2016联通笔试知识点大全

答:呼叫转移是指用户在工作忙或手机无网络等无法用本机接听电话的情况下,即可将来电设置呼叫转移到另一个号码上,实现号码转移。注:呼叫转移业务目前无需月功能费,用户设置呼叫转移后,如正常接听来电则按照…

内存管理器(二)边界标识法

边界标识算法 前言 首先说明,我们这里的内存管理器主要是以模拟各种内存分配算法为主,从内存申请一片内存然后根据我们所选定的数据结构和算法,实现程序的堆空间的分配,至于内存分配详情我们会在Linux内核内存管理的简单分析中探讨…

XDOC Office Server 开源了,Office文档完美转换为PDF

百度智能云 云生态狂欢季 热门云产品1折起>>> 项目地址:https://gitee.com/xdoc/xoffice XDOC是一个文档自动化平台,提供免费的Office文档生成服务。有用户提出要PDF格式,便于阅读、发布。在尝试了OpenOffice、WPS、微软Office、P…

js的defer属性

js的defer属性说明&#xff1a;<script src"js.js" type"text/javascript defer"defer"/>中defer的作用 给外链的js脚本添加defer"defer" 或 defer"true",使用defer属性可以让脚本在整个页面装载完成之后再解析&#xff0c…

怎么读取java文件,Java怎么读取文件

当前位置:我的异常网 J2SE Java怎么读取文件Java怎么读取文件www.myexceptions.net 网友分享于&#xff1a;2013-12-20 浏览&#xff1a;60次Java如何读取文件?源文件如下,小弟没有学过Java,下面是一段JAVA用RSA加密字符串的程序,命令行的形式是Java PublicExample ABC…