Is there a way to get Kusto explorer to make a sound once my query finishes running? - kql

I was wondering if there is a way to make Kusto explorer make some sort of noise once my query finishes executing.

Well, now there is :-)
The praises go to #alexander-sloutsky
Thanks for this feature suggestion!

Related

Shortcut to execute last query in SSMS

Does there exist a shortcut to execute the last query run in SQL Server?
I can see the Query shortcuts in the Options menu under Environment (SSMS 2008) but nothing listed seems to describe this functionality.
I'm not sure that what you're specifically asking for is possible. However if you are willing to tackle your problem another way. I use a tool every day that might make what you are asking for possible, or at least as close as I think you might get.
SSMS Tools Pack is a plugin for SQL Server Management Studio that has a number or really great features. One that might interest you is the Current Window History. This is a window with all of the commands that have been run from this tab. While it doesn't do what you originally asked for, I feel like it is at least in the spirit of what you were trying to accomplish.

How do I monitor how much time I'm spending on SQL Server?

Is there a table on MS SQL 2005 or 2008 servers that will show my boss how much work I'm doing?
Maybe something that would show how often my database tables/views/etc are being executed/queried against?
I would probably look at setting up a trace. You can read up on Data Access Tracing here.
Once you are done doing that, write a script that makes it look like you are working 24 hours a day and ask for a raise. Seriously if your boss is using your query history to determine how much work you are doing he is:
A real ball buster
Clueless
Get Mladen Prajdic's SSMS Tools Pack. It can keep a running history (in a database, on the local file system, or on a network share IIRC) of queries you are working on and/or executing, and you can customize how often it auto-saves for you. It won't tell you how much time you spent staring at the screen between edits or reviewing query results, but it should be a start.
Short answer: No.
There is nothing built in and immediatley avaliable within SQL Server that does this. There are any number of ways such functionality can be implemented, but none are simple or trivial, and a skilled DBA could run rings around 'em anyway.
This is what I use for looking up on what I have done during the day. This will be applicable to you ONLY if the the window title of whatever software, changes depending on what you are currently working on.
Eg: My Awesome SQL Software - Query1.sql
My Awesome SQL Software - newQuery.sql
My Awesome SQL Software - Results of Table 1
Manic Time will track individual applications + their window title.
http://www.manictime.com/

Mysql benchamrking GUI tool

Hi
I need to optimize an application which is already there for a long time. Optimization will include move inline queries from php pages to "stored procedures", get rid of sub queries and convert them to "joins" etc etc.
I guess the best way is to use benchmarking tools for this purpose, but is there any GUI based tool available which I could use with Windows 7? Please help!
Also moving the inline queries to stored procedures and getting rid of sub queries, will that help in a major performance boost? Please feel free to express your opinion.
The major focus is on finding a suitable tool for benchmarking purposes however. Just a quick question will "Mysql workbench" help in this scenario? Pls advise.
Many thanks for your time in advance. Any kind of help is much appreciated.
I do not know about the moving the inline queries to stored procedures. It really depends if you are going to use that query a lot or not. Switching from usign many queries to JOIN coudl be a major improvement in most cases, depends how much extra queries you were running initially.
As for benchmarking, well you can always use even phpMyAdmin to see how much time are takign certain queries and/or use a build in application benchmakring/profiling tool (even created from you PHP code) to bench the performance. This things usually do not have a straight and simple answer :(
Link with some suggestions http://beerpla.net/2008/04/16/mysql-conference-liveblogging-benchmarking-tools-wednesday-425pm/ maybe try WAST http://west-wind.com/presentations/webstress/webstress.htm
If you have a DB abstraction layer use it to log the performance of the queries and see if there are any that repeat too often or take too much time and also in which script they where called.

Dynamic load data on scroll

I am working on a web application, where we need to show more than 20,000 rows in a single page.
What is the best way to achieve this? As per requirements, we cant use pagination.
We are looking at options like Live Scrolling in Adobe Flex..is there any other framework that helps in doing this job efficient and easy?
I found this tutorial while surfing. i think this is just what you need :)
http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/
cheers.

SQL 2005 Full-Text Catalog is randomly sloooowww

I've built a full-text catalog on a SQL 2005 box that, after it's re-build process completes, runs extremely slow. I've implemented a hack (i.e. try...catch{do again}) so that my users don't get a timeout error; this makes me feel bad inside. All subsequent queries are lightning fast.
Has anyone experienced this issue and was/is there a solution? Thanks!
P.S. Yes, I've Google'd it many times. Even with my left hand.
It could also be caused by this Sql Server 'feature' which we've experienced.
You may experience a 45-second delay when you run a full-text query in an instance of SQL Server 2005 that is running on a server without Internet access
http://support.microsoft.com/default.aspx/kb/915850
this might not be a direct answer to your question, but the full-text-search on mssql was covered on stackoverflow podcast series, and the conclusion was it's not the best thing :)
so, if you are able to change it to a 3rd party library, you may try what's used by jeff & co., the Apache Lucene library. Java version available at http://lucene.apache.org/java/docs/ , and .net port at http://incubator.apache.org/lucene.net/
i've had this as well. first hit very slow and rest are fast. tried all sorts and couldnt resolve it.
would love to know the answer to this one.
You could prevent having to fully rebuild the index by "setting start background updateindex" and "start change tracking" (there should be an underscore between each word) on each table that is full text indexed.
This allows sql server to update the index only with changes when required. It may help your issue since the index is not being rebuilt.
I second the Lucene.Net suggestion. I have previously tried to build a 'search engine' of sorts using Full Text Search and SQL. It was always problematic when the search criteria gets complicated and often queries would time out. On my new site I built the search engine with Lucene.Net project and it works really well and is much faster than SQL FTS.