查询优化和与Impala的比较
我正在使用PowerBi,并将SQL Server用作数据库。我使用视图或直接表作为PowerBi的来源。我的视图是简单的选择查询,简单地连接。我找不到任何查询优化的范围。查询执行时间在SQL中需要时间,而Table每天都有数百万个数据增加。
现在,我正在考虑使用Impala以及SQL Server。我从Rapidminer那里获得了干净的数据。我以前没有使用过黑斑羚。所以我有一些疑问。如果可以的话,请回答。我对黑斑羚的了解为零。
- 我们可以在快速矿工和黑斑羚之间建立连接吗?那是什么步骤? Google给我一些很难理解的步骤。
- 我们可以在Impala和SQL之间创建连接吗?
- 我们可以在Impala上创建视图并在视图中创建连接吗?我知道我们可以创建视图以及加入Impala。但是我的问题是我们可以一起创建它吗?
- 假设SQL和Impala连接是建立的,然后假设我有一张来自Impala的表,而SQL Server Management Studio中有一张桌子。我可以在Impala上加入两个桌子吗?为此,我们可以在Impala和SQL Server Management Studio之间创建连接吗? 5.我可以使用SQL中为Impala创建的所有表或视图(在SQL和Impala之间建立连接之后)。这意味着我的表格或视图在SQL中。但是我正在Impala中获取数据。
- 所有存储在SQL Server中的表。我可以在Impala中的这些表上加入操作吗? 7.我可以使用存储在SQL中的桌子在Impala中观看 8.我可以在Impala中创建所有桌子,然后执行ETL操作,例如Sum,添加,Dateadd在Impala中 9.我可以在Impala中创建所有表格,并执行ETL操作,例如sum,add,dateadd in Power查询 10.我可以从SQL创建视图并将其放入Impala表中。并在电源查询中使用
- 我可以在Impala中与Joins创建所有表和视图吗? 12.如何在SQL中优化我的查询,如果我在Impala中对相同数据运行相同的查询,那么我的执行时间是否会减少?
我的SQL查询就是这样 创建视图作为测试 从表A选择 * * 内部联接表B a.id = B.ID 内部联接表C上的b.name = C.Name 去 输出为3000000行。日常增加 另外,而不是使用视图我直接使用表。但是执行时间不会减少。
I am working on PowerBi and use SQL server as database. I used views or direct tables as source to PowerBi . My views are simple select queries with simple joins. I am not finding any scope for query optimizations. Query execution takes time in SQL and table has millions of data increasing day by day.
Now I am thinking to use impala as well as SQL server. I am getting clean data from Rapidminer. I didn't use impala before. So I have some doubts. Please answer if you can. I have zero knowledge of impala.
- Can we create connection between rapid miner and impala? then what will be the steps? google give me some steps which is difficult to understand.
- Can we create connection between impala and sql?
- Can we create view on impala and create joins in views? I know we can create view as well as joins in impala. But my question is can we create it together?
- suppose SQl and impala connection is made then suppose I have one table from impala and one table from sql server management studio. can I join both tables in impala? for this can we create connection between impala and sql server management studio?
5.Can I use all tables or views created in sql to impala (after making connection between sql and impala). That means my tables or views are in sql. but I am fetching data in impala. - All tables stored in sql server. can I do join operation on these tables in impala.
7.Can I make views in impala using tables which are stored in sql
8.Can I create all tables in impala and do etl operation like sum, add, dateadd in impala
9.Can I create all tables in impala and do etl operation like sum, add, dateadd in power query
10.Can I create views from sql and put it in impala table. and use in power query - Can I create all tables and views with joins in impala?
12.How can I optimise my query in sql and if I run same query for same data in impala then my execution time will reduce or not?
My SQL query is like this
create view as test
select * from table a
inner join table b on a.id=b.id
inner join table c on b.name=c.name
go
output is 3000000 row. increasing day by day
also instead of using view I use table directly. but execution time is not decreasing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论