Showing posts with label trouble. Show all posts
Showing posts with label trouble. Show all posts

Friday, February 17, 2012

Execution plan output

Hi All,
I am having trouble understanding the output of the query execution plan.
Any document that explains the terms used in the output of the query
execution plan would help me understand and identify areas for improvement
in the SQL query.
Any pointers to such documents or any of your homegrown ideas to decipher
the information would be highly appreciated.
Thanks.
Regards,
SoumitraThis article has an intro:
http://www.sql-server-performance.com/mr_indexing.asp
"Soumitra Banerjee" <sbanerjee@.epacesoftware.com> wrote in message
news:uBzRMRBcEHA.1408@.TK2MSFTNGP12.phx.gbl...
> Hi All,
> I am having trouble understanding the output of the query execution plan.
> Any document that explains the terms used in the output of the query
> execution plan would help me understand and identify areas for improvement
> in the SQL query.
> Any pointers to such documents or any of your homegrown ideas to decipher
> the information would be highly appreciated.
> Thanks.
> Regards,
> Soumitra
>
>|||Look up Graphical Showplan in Books Online. It gives an explanation for
each of the operations. You might also want to try our freeware product,
Query Analyzer Tool, that displays the execution plan in a treeview (which
allows you to see 'more' in a screen) and highlights the top 5 most
expensive operations, and also allows you to save the plans for future
analysis.
Peter Yeoh
http://www.yohz.com
Earn free licenses for MiniSQLBackup. Details on website.
"Soumitra Banerjee" <sbanerjee@.epacesoftware.com> wrote in message
news:uBzRMRBcEHA.1408@.TK2MSFTNGP12.phx.gbl...
> Hi All,
> I am having trouble understanding the output of the query execution plan.
> Any document that explains the terms used in the output of the query
> execution plan would help me understand and identify areas for improvement
> in the SQL query.
> Any pointers to such documents or any of your homegrown ideas to decipher
> the information would be highly appreciated.
> Thanks.
> Regards,
> Soumitra
>
>

Execution plan output

Hi All,
I am having trouble understanding the output of the query execution plan.
Any document that explains the terms used in the output of the query
execution plan would help me understand and identify areas for improvement
in the SQL query.
Any pointers to such documents or any of your homegrown ideas to decipher
the information would be highly appreciated.
Thanks.
Regards,
SoumitraThis article has an intro:
http://www.sql-server-performance.com/mr_indexing.asp
"Soumitra Banerjee" <sbanerjee@.epacesoftware.com> wrote in message
news:uBzRMRBcEHA.1408@.TK2MSFTNGP12.phx.gbl...
> Hi All,
> I am having trouble understanding the output of the query execution plan.
> Any document that explains the terms used in the output of the query
> execution plan would help me understand and identify areas for improvement
> in the SQL query.
> Any pointers to such documents or any of your homegrown ideas to decipher
> the information would be highly appreciated.
> Thanks.
> Regards,
> Soumitra
>
>|||Look up Graphical Showplan in Books Online. It gives an explanation for
each of the operations. You might also want to try our freeware product,
Query Analyzer Tool, that displays the execution plan in a treeview (which
allows you to see 'more' in a screen) and highlights the top 5 most
expensive operations, and also allows you to save the plans for future
analysis.
Peter Yeoh
http://www.yohz.com
Earn free licenses for MiniSQLBackup. Details on website.
"Soumitra Banerjee" <sbanerjee@.epacesoftware.com> wrote in message
news:uBzRMRBcEHA.1408@.TK2MSFTNGP12.phx.gbl...
> Hi All,
> I am having trouble understanding the output of the query execution plan.
> Any document that explains the terms used in the output of the query
> execution plan would help me understand and identify areas for improvement
> in the SQL query.
> Any pointers to such documents or any of your homegrown ideas to decipher
> the information would be highly appreciated.
> Thanks.
> Regards,
> Soumitra
>
>

Execution plan output

Hi All,
I am having trouble understanding the output of the query execution plan.
Any document that explains the terms used in the output of the query
execution plan would help me understand and identify areas for improvement
in the SQL query.
Any pointers to such documents or any of your homegrown ideas to decipher
the information would be highly appreciated.
Thanks.
Regards,
Soumitra
This article has an intro:
http://www.sql-server-performance.com/mr_indexing.asp
"Soumitra Banerjee" <sbanerjee@.epacesoftware.com> wrote in message
news:uBzRMRBcEHA.1408@.TK2MSFTNGP12.phx.gbl...
> Hi All,
> I am having trouble understanding the output of the query execution plan.
> Any document that explains the terms used in the output of the query
> execution plan would help me understand and identify areas for improvement
> in the SQL query.
> Any pointers to such documents or any of your homegrown ideas to decipher
> the information would be highly appreciated.
> Thanks.
> Regards,
> Soumitra
>
>
|||Look up Graphical Showplan in Books Online. It gives an explanation for
each of the operations. You might also want to try our freeware product,
Query Analyzer Tool, that displays the execution plan in a treeview (which
allows you to see 'more' in a screen) and highlights the top 5 most
expensive operations, and also allows you to save the plans for future
analysis.
Peter Yeoh
http://www.yohz.com
Earn free licenses for MiniSQLBackup. Details on website.
"Soumitra Banerjee" <sbanerjee@.epacesoftware.com> wrote in message
news:uBzRMRBcEHA.1408@.TK2MSFTNGP12.phx.gbl...
> Hi All,
> I am having trouble understanding the output of the query execution plan.
> Any document that explains the terms used in the output of the query
> execution plan would help me understand and identify areas for improvement
> in the SQL query.
> Any pointers to such documents or any of your homegrown ideas to decipher
> the information would be highly appreciated.
> Thanks.
> Regards,
> Soumitra
>
>

Wednesday, February 15, 2012

Execution of SSIS package - security issues

Hi all,

I am currently trying to execute my first SSIS package and am having a lot of trouble with (what i believe to be) SQL security. During the development of the package i was testing all my connection managers with the sa account. Now that i have deployed the package i want to use another account with less privelages so that my setup is more secure. I have created a new login which maps to both the database my SSIS package is using and also to the msdb database. I have created a schema and user in each of these databases which i had initially set with minimal rights. This caused certain parts of my package to fail. I then set up the login with a sysadmin server role which worked no problem at all. Finnally i then gave the schema for the user full rights and removed the sysadmin server role. once again the package fail. Surely i can't only be able to run the SSIS package with an account that has a sysadmin role?

Can anyone tell me if i am doing something wrong. The SQL server 2005 security model is so frustrating to get to grips with.

Many thanks in advance,

GrantGot it. I required Bulkadmin in adition to some database specific roles.

I do however now get an error when calling the package from a .Net app. It says that the LoadFromSqlServer method failed sue to the fact that only an owner or sysadmin may create new versions of it.

Is there any way to change the owner of the Package?

Thanks,

Grant