Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: BlakeK
  • Order by date
  1. BlakeK

    What is the best setup for files under this configuration?

    Catadmin, Our current setup is a Windows 2003 Server Standard, running SQL 2000 Standard SP3, on a machine with 2 Xeon 3.0GHz processors, and 4 GB of RAM (SQL Standard unfortunately only uses 2GB of the RAM, so I can't wait for SQL 2005 Standard which doesn't have RAM limits!)
  2. BlakeK

    Why is a SELECT preventing an INSERT?

    Denny, The WITH(NOLOCK) hint worked perfectly! And it even worked through Access, as I built the SQL and passed it to the server. That alleviated the current problem with the blocking that was occuring. I think I will still look to make it a stored procedure on the server and call that from...
  3. BlakeK

    What is the best setup for files under this configuration?

    Thanks for the great detail Denny. My only question is about TempDB. You mentioned that it is written to all the time, and that ideally it would be on it's on RAID array. Then you said if that's not possible, it can stay on the same array as the MDFs. If I am able to get a 3rd array for the...
  4. BlakeK

    What is the best setup for files under this configuration?

    Catadmin, Thanks for the info on the system databases. If I able able to have a 3rd array installed on the server, I will onlt move the LDFs for the user databases to that array. Not sure how familiar anyone here is with the hardware aspect of this situation, but will the speed benefit of having...
  5. BlakeK

    Why is a SELECT preventing an INSERT?

    Denny, Thanks for the information. The query is running through an MS Access front end, so I'm not sure what options I'll be able to use. I may be able to do a pass through query and use the WIHT (NOLOCK) option you mentioned. I don't think I'll be able to anything with setting isolation...
  6. BlakeK

    Why is a SELECT preventing an INSERT?

    Catadmin, I am running SQL 2000 Standard SP3. As for your comment: "The next time this happens, open up Enterprise Manager and navigate to Management -> Current Activity -> Locks / Process ID and Locks / Object. By clicking on the items listed under these two headers, it will show what process...
  7. BlakeK

    Why is a SELECT preventing an INSERT?

    One note: If you look at the other post I linked to and happen to notice that there are only two tables in that query, and then look at the screen shot and see there are several tables, that is because the query I posted was a "dumbed down" version just to post here only showing the parts that...
  8. BlakeK

    What is the best setup for files under this configuration?

    Catadmin, thanks for the reply. We have a new set of disks that are scheduled to added to the E: drive, our data partition, because as you see, we are down to 10GB free. I am going to see if rather than adding it to the E: drive, we can create a new RAID array F: and then move all the LDFs to...
  9. BlakeK

    Why is a SELECT preventing an INSERT?

    I have a query that takes 5 minutes to run. I already posted a question about ideas on improving the speed here: http://www.tek-tips.com/threadminder.cfm?pid=962 But, my new problem is that it appears that whenever a user runs this query, it is preventing other users from inserting new rows...
  10. BlakeK

    What is the best setup for files under this configuration?

    Right now, our SQL server machine is setup as follows: C: is 2 drives setup in a RAID 1 configuration, 33GB in size, 25 GB free D: is 4 drives setup in a RAID 5 configuration, 203 GB in size, 49 GB free E: is 6 drives setup in a RAID 5 configuration, 101 GB in size, 10 GB free Currently, SQL...
  11. BlakeK

    Any index or other reccomendations on this?

    Karl, That JOIN is necessary because the field content_id in tbl_server_logs contain values that link to 3 different possible tables. There is a table tbl_advertisement, a table tbl_entertainment, and a table tbl_images which all contain the field content_id. The content_id in tbl_server_logs...
  12. BlakeK

    Any index or other reccomendations on this?

    Karl, That is how I originally had it structured (without an INNER JOIN)... SELECT tbl_server_logs.server_id, Count(tbl_server_logs.content_id) AS Total FROM tbl_server_logs, tbl_advertisement WHERE tbl_advertisement.content_id = tbl_server_logs.content_id AND tbl_server_logs.zone_id = 1 AND...
  13. BlakeK

    Any index or other reccomendations on this?

    I tried the query using the INNER JOIN and not using the BETWEEN... SELECT server_install_id, COUNT(tbl_server_logs.content_id) AS Total FROM tbl_server_logs INNER JOIN tbl_advertisement ON tbl_advertisement.content_id = tbl_server_logs.content_id WHERE tbl_server_logs.zone_id =...
  14. BlakeK

    Any index or other reccomendations on this?

    FYI, modified query finally return after 14 minutes and 29 seconds.
  15. BlakeK

    Any index or other reccomendations on this?

    donutman, That is a typo. :o DOH! (But just here on this topic, the query I am running is right. I should have cut and pasted instead of typing it!) The field in the SELECT should be server_install_id, the saem as the GROUP BY field. I changed the query as bob120579 suggested to use a JOIN and...
  16. BlakeK

    Any index or other reccomendations on this?

    I have a query that currently takes around 5 minutes to return results. I have run it through the Index Tuning wizard (on Thorough) and it had no recommendations. I will layout the query, the field types, and the current indexes. If you have any thoughts, please let me know. Here is the query...
  17. BlakeK

    What happens when SQL restarts to improve speed?

    For some reason our database has begun to slow down after the service has been running for a day or two. If I start up the server, and run a set of queries, their results are instantaneous. After the server has been running for a day or so, these same queries will take minutes to execute, and...
  18. BlakeK

    Good Resource for SQL Profiler

    I was wondering if anyone could suggest a good resource (book, website, etc.) for learning SQL Profiler. From basics up through advanced techniques. Most books I see cover a meriad of SQL topics, and just have a small section on Profiler and what it does. I am looking for something that goes a...
  19. BlakeK

    How to get Last Batch through isqlw

    In Enterprise Manager, I can go to Server-Management-Current Activity-Process Info and see a list of what is going on in the system. In isqlw I can get the same results by running sp_who2 Now, what I need to know... In Enterprise Manager, once I am looking at the Process Info list, I can...

Part and Inventory Search

Back
Top