Installation of full-text research on SQL Server 2012 - sql-server-2012

I may need some assistance for my installation of FTS on my computer.
I have the requirement of practicing some stuff concerning FTS.
And at the beginning, I used SELECT SERVERPROPERTY('IsFullTextInstalled'); to check if FTS was installed on my desktop and the result was 0.
Then I started to find the solution by asking Professor Goo (Google), yet I still haven't found a solution that can resolve my problem after seeing some articles for approximately one hour.
And the followings are some information
Any suggestion, please.

I've found the answer and I'll answer to myself though it may be kind of idiotic for asking this. Well, what I had in my hand is 'ENU\x64\SQLEXPRWT_x64_ENU.exe' and, a person should download Express with Advanced Services(ENU\x64\SQLEXPRADV_x64_ENU.exe) and thne add the feature, like FTS, to the existing instance or the new one. In the end, the person can start to explore the functions provided by FTS.

Related

Rename Tool for SQL Server

I have a database that had 15 years of cruft stuffed into it by multiple teams and people in multiple languages. I am looking to rename tables/columns/constraints to match some type of a standard.
The problem is that a column may be referenced in a ton of stored procs and there is no way to find other than search each sproc with a tool like SQL Digger. The problem is that I want to rename a massive amount of entities and doing it manually for each sounds painful.
I've been looking for a tool that helps in name refactoring and can't find anything. Some tools [here] vaguely claim to do that, but don't really (I haven't looked at all the ones listed to be fair).
Has anyone had experience with such a tool?
I'm using the ApexSQL Refactor for some time. It is a freeware tool and so far it works very well.
There's an article "How to change an object name without breaking your SQL database" in their solution center.
I've noticed a new version announcement (2013), however I am not sure if it will remain free or not.
Be careful when updating objects using any of the tools mentioned above because they only search for references in you database. Important thing to keep in mind is the code you have in data access layers of your applications.
Another tool you might want to check out is ApexSQL Clean. It can find all unused database objects, show all references visually but it also searches for .NET solutions and finds references there.
Again, considering that your database is 15 years old you probably have code in different legacy applications and not only .NET. Anyway, good luck. Hope this is all done by now :)
I have used database projects (in Visual Studio 2010) for refactoring activities in the past with a good deal of success. Database projects definitely have a number of quirks but nothing you can't work around.
You can find more details about it here: http://msdn.microsoft.com/en-us/library/dd193420
I have not used this, but have used other of their Sql Server tools, and they did what they claimed.
http://www.red-gate.com/products/sql-development/sql-prompt/
A couple of options:
SQL Server Data Tools (review here)
Red-Gate SQL Refactor (well, now part of SQL Prompt)
Note that these tools can only be smart enough to find references that are exposed through direct reference or through proper dependencies. If you construct a table or column name using dynamic SQL, you're out of luck.
I also blogged about keeping sysdepends up to date a few years ago, however I'm not sure how useful it will be with columns in particular:
https://sqlblog.org/2008/09/09/keeping-sysdepends-up-to-date-in-sql-server-2008

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/

Problems using MySQL FULLTEXT indexing for programming-related data (SO Data Dump)

I'm trying to implement a search feature for an offline-accessible StackOverflow, and I'm noticing some problems with using MySQLs FULLTEXT indexing.
Specifically, by default FULLTEXT indexing is restricted to words between 4 and 84 characters long. Terms such as "PHP" or "SQL" would not meet the minimum length and searching for those terms would yield no results.
It is possible to modify the variable which controls the minimum length a word needs to be to be indexed (ft_min_word_len), but this is a system-wide change requiring indexes in all databases to be rebuilt. On the off chance others find this app useful, I'd rather keep these sort of variables as vanilla as possible. I found a post on this site the other day stating that changing that value is just a bad idea anyway.
Another issue is with terms like "VB.NET" where, as far as I can tell, the period in the middle of the term separates it into two indexed values - VB and NET. Again, this means searches for "VB.NET" would return nothing.
Finally, since I'm doing a direct dump of the monthly XML-based dumps, all values are converted to HTML Entities and I'm concerned that this might have an impact on my search results.
I found a blog post which tries to address these issues with the following advice:
keep two copies of your data - one with markup, etc. for display, and one modified for searching (remove unwanted words, markup, etc)
pad short terms so they will be indexed, I assume with a pre/suffix.
What I'd like to know is, are these really the best workarounds for these issues? It seems like semi-duplicating a > 1GB table is wasteful, but maybe that's just me.
Also, if anyone could recommend a good site to understand MySQL's FULLTEXT indexing, I'd appreciate it. To keep this question from being too cluttered, please leave the site recommendations in the question comments, or email me directly at the site on my user profile).
Thanks!
Additional Info:
I think I should clarify a couple of things.
I know "MySQL" tends to lead to the assumption of "web application", but that's not what I'm going for here. I could install Apache and PHP and run things that way, but I'm trying to keep this light. I can use my website for playing with PHP, so I don't feel the need to install it on my home machine too. I also hope this could be useful for others as well, and I don't want to force anyone else into installing a bunch of extra utilities. I went with MySQL since it was easy and needing to install some sort of DB was unavoidable.
The specifics of the project were going to be:
Desktop application written in C# (WinForms)
MySQL backend
I'm starting to wonder if I should just say to hell with it, and install everything I'd need to make this an (offline) webapp. As much as we'd all like to think our pet project is going to be used and loved by the community at large, I should know by now that this is likely going end up being only used by a single user.
From what was already said, I understand, that MySQL FullText is not for you ;) But why stick to MySQL? Try Sphinx:
http://www.sphinxsearch.com/
It will solve most of your problems.

Practical implementation of SSAS(Step by step)

I am a novice in SSAS with some theoretical knowledge in it.
I would like to do the very first and the simplest of all implementation in that.
I searched in Google but the one's I found are a bit high enough for me to grasp.
Could you please suggest me some good links/articles(Step by Step [ would be better if diagrams are given]) to start with.
I mean no inbuit AdventureWorks SSAS db. I like to say not the examples given in Microsoft Press book entitled SQL Server 2005 Analysis Services Step By Step (0735621993). Though it is good and basically helps to learn but I fell (after completing first 3 chapters) that there I need to install some already given DW's which I am not looking for
Everything should be from scratch so that I will learn properly though it may take a bit time.
Also it would be of great help to me and also for peoples like me if someone can tell direct the sequential steps to follow from start to end (like create dimensions, measures then cube etc. ) for creating a SSAS project.
You can find some step by step articles here.
http://technet.microsoft.com/en-us/library/ms170208.aspx
I recommend you Applied Microsoft Analysis Services 2005 and Practical Business Intelligence with SQL Server 2005
See this question for more info.

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.