Heavily Accessed DBs On Server?

Jun 2, 2008

What are my options to find heavily accessed DBs on a server? I know I can do this by profiler and some counters. Is there any tool which gives me this information easily?


------------------------
I think, therefore I am - Rene Descartes

View 10 Replies


ADVERTISEMENT

Need Help On A Website Project (heavily Based On SQL Server)

Feb 26, 2007

Hi, I'm rather new here, but I would like to add the question here
since this project encompasses a lot of areas of ASP.NET (Visual Studio
2005).
My project is about a site which is heavily based on Search Option. So
basically, users will just have to fill in the forms, click search and
it will search throughout the database. For
example...
The website is about a property listing. The database (based on SQL
Server, can be created right through the Visual Studio 2005) consists
of these attributes: ID, Property Name, Property Location, Property
Cost. The user may search based on Name, Location and Cost. For the
cost, there are two forms to fill: the lowest cost allowed and the
highest cost allowed.All
these are put on the Master Page (Located on the top). When the button
Search is clicked, it will display the records that match the forms
filled, in the main page located below the Master Page.If anyone can help me with this, I'll be very grateful. Thank you very much. 

View 4 Replies View Related

SQL Server 2008 :: Database Can't Be Accessed

Apr 9, 2015

I was having issue with one of my databases in SQL EXPRESS. It is offline this morning …it said “Database 'MyDB' cannot be opened due to inaccessible files or insufficient memory or disk space. When I checked the error log ..it only said “FCB::Open failed: Could not open file D:DatabasesMyDB_Data.mdf for file number 1. OS error: 32(failed to retrieve text for this error. Reason: 15100).

I did alter database offline and and online ..it works for me( I can access the database again but I need to find the cause of this issue )I checked the max memory setting is still by default .. not limited for SQL ..it could be the cause ?

View 9 Replies View Related

Heavily Indexed Databases

Mar 7, 2005

Hi all,
i have a very general question about databases. What is the advantage and disadvantage of using a heavily indexed database?

The advantage i could think is that search operations will be fast. The disadvantage (according to me who is a newbie) is that the size of the database will increase.

My teacher however is not very happy with this answer and wants me to research more. Any help will be greatly appreciated.

Thanks

View 1 Replies View Related

SQL Server 2008 :: How To Find If A Database Has Been Accessed / Used Since Last Month

Jul 6, 2015

Is there anyway I can find or make a report if a databases has been accessed/used since last month?

View 4 Replies View Related

SQL Tools :: When Was Database Last Accessed By Each User / Login In Server

Jul 6, 2015

I have a plan of decommissioning of unused databases which are not been in use for quite some time. is  there any simple way/t-sql to find out When was the database last accessed by each user/login in sqlserver.

View 2 Replies View Related

SQL Server Admin 2014 :: List Of Users That Accessed A Table

Jul 22, 2015

I'm trying to find out what tables are being used in a Database.

I don't want the last User but the User and the Dates.

I have a script that return the last user but that is not going to work.

The following script returns the last user but not all users and the Login Name:

ITH LastActivity (ObjectID, LastAction) AS
(
SELECT object_id AS TableName,
last_user_seek as LastAction
FROM sys.dm_db_index_usage_stats u
WHERE database_id = db_id(db_name())

[Code] .....

View 2 Replies View Related

DEBATE: Moving Heavily Used Database Or Breaking-off Indexes

Feb 20, 2002

Scenario:


We run a multiple database environment, with two of the databases receiving most of the user activity. (both write and read). These databases are roughly 25gb each and receive roughly the same amount of activity. Currently both of the .mdf files sit on the same drive shelf. Their log files are located on a separate drive shelf.

Debate: We have an extra fiber channel shelf available for us to use. We are not having too many problems related to performance, but we are always seeking for different ways to increase application/server performance. The debate centers on what to do with the extra shelf. There are two different suggestions on how best to use the shelf. They are:

1)Separate the .mdf files for two most utilized databases. This would separate the databases and the I/O associated with each across two different shelves

2)Break off the indexes for all 5 databases on to the extra shelf. This would leave all the .mdf files on the same shelf, but it would move the I/O associated with the indexes to a different shelf.

Can anyone provide the pros and cons of either suggestion?
I would like to see arguements for either side.


Dave

View 2 Replies View Related

Im New To Using Views, And This Program They Have Me Working On Is Using Them Quite Heavily..(cant Read From A View)

Oct 11, 2007

This is my first post, so if i have not posted things in the best manner please lemme know how to be more informative,clear, so that i can learn.

So i have made a view with the following command



GO

/****** Object: View [dbo].[AppraisalView_C] Script Date: 10/11/2007 12:10:43 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

ALTER VIEW [dbo].[AppraisalView_C]

AS

SELECT a.Counter

,a.DateCreated

,a.DateModified

,a.UserCreated

,a.UserModified

,a.AppraisalDate_C

,a.TypeID_C

,a.Customer_C

,a.Employee_C

,b.Notes_C

,b.Value_C

,b.AppraisalLineItemID_C

,b.AppraisalID_C

FROM dbo.Appraisal_C AS a

INNER JOIN dbo.AppraisalLineItem_C AS b ON a.AppraisalID_C = b.AppraisalID_C



---------------------------------------------------------------------------------------

the program im working on creates the SQL call to read from this view and creates
the following query


SELECT A.[AppraisalDate_C], A.[AppraisalID_C], A.[AppraisalLineItemID_C], A.[Customer_C], A.[Employee_C], A.[Notes_C], A.[TypeID_C], A.[Value_C]

FROM AppraisalView_C A

WHERE [AppraisalView_C].[AppraisalID_C] = 'APP-000006'


but I end up getting the dreaded "Msg 4104, Level 16, State 1, Line 1 The multi-part identifier "AppraisalView_C.AppraisalID_C" could not be bound." error....

I cant change the Query that is called, but i can change the view, what is wrong?

View 4 Replies View Related

Heavily Fragmented Index - Incorrect Data Returned?

Dec 1, 2007

Hi everyone,
If I have a table with some indexes on the foriegn keys and these indexes are heavily fragmented (80%+), is it normal for queries to return incorrect results?

For example if I had a table called Customer( CustID, Name) and Orders (OrderID, CustID, Product, Date).
Lets say I have a non clustered index on CustID in Orders table, and the clustered indexes are Customer.CustID and Orders.OrderID


If the non clusterd index on Orders.CustID becomes heavily fragmented and I am querying the Orders table with TSQL "SELECT * FROM Orders where CustID = @CustID" I sometimes get missing data or incorrect results. In one case all orders for a particular year were missing, but if I queried using OderID they were returned. Rebuilding the index fixed the problem.

I know the index should be rebuilt or reorganized depending on the fragmentation but if one happened to become this fragmented should it start returning incorrect data?

- Using SQL Server Express 2005

View 3 Replies View Related

SQL Server Admin 2014 :: List All Databases In Instance That Are Not Accessed Before Given Date

Jan 10, 2015

Looking for query that lists all databases, in an instance, that are not accessed before a given date (e.g., not accessed before December 31, 2014)?

View 6 Replies View Related

Same Problem As The Report Server Is Not Responding. Verify That The Report Server Is Running And Can Be Accessed From This Comp

Dec 12, 2007

do you mean first install SDK, then install IIS, then install report sever?
I have same problem.
any can help?

View 1 Replies View Related

The Report Server Is Not Responding. Verify That The Report Server Is Running And Can Be Accessed From This Computer.

Oct 9, 2007



When I trying to configure Reposrting services in IIS & XP. It hsows me error
"The report server is not responding. Verify that the report server is running and can be accessed from this computer."


I also configure with reposrting configuration tools which show all confuguration is perfect.

but when I try to open through IE http://localhost/Reports/Pages/Folder.aspx

or http://localhost/Reportserver

It shows error. I try all ways still not works ..Help me out

Thanks.



View 9 Replies View Related

Is A SQL Server Device CAL Enough If SQL Server Is Being Accessed By Only One Web Server?

Mar 11, 2008

 In my application scenario, there is a single web server hosting my ASP.Net application. If I buy a 'single device CAL'  for SQL Server database, will that be ok in this situation since only one device (i.e. the machine hosting the IIS web server) is going to access the SQL Server database?

View 1 Replies View Related

Putting Date Or Date && Time In A Column Thats Going To Be Heavily Used?

Oct 4, 2007

Hello,

We have a bunch of Audit tables that contain almost exact copies of the operations tables. The audit tables also include:

AuditID - the audit action (insert, modify - old, modify - new, deleted)
AuditDate - date and time of action
AuditUser - User who did it...

At the end of the day I need to know for any given record what it looked like at the beginning of the day and what it looks like at the end of the day. There could have been numerous changes to the record throughout the day, those records I am not interested in. Only the first record and the last record of a give day.

I am going to be doing a lot of MIN(AuditDate) and MAX(AuditDATE) and .. WHERE AuditDate BETWEEN '10/1/2007 00:00:00' AND '10/1/2007 11:59:59' ...

Question: Whats better for performance:

1. Separating out the date and time and doing a clusterd index on the date.

2. Keeping date and time in the same column and just use a normal index.

3. Better ideas?

Thanks,
Bradley

View 1 Replies View Related

How To Tell If Accessed

Nov 30, 2004

I just got assigned to be our companies sql server dba, there are about 80 databases on various servers. I am suspecting many are not even used. Is there a way for me to tell the last time they were accessed and by whom? And, more importantly, the last time any changes have been made in the database? Thanks in advance.

View 7 Replies View Related

Table Last Accessed

Apr 16, 2008

Can i find out when a table was last accessed?

The purpose of this is to create a list of tables that could potentially be deleted. I would then prefix them with a d and the auto delete them after x number of days? or move them to a deletions database?

Just trying to automate a bit of house keeping in the active databases.

View 3 Replies View Related

Tables Accessed

Mar 12, 2007

I want to know howmany tables were accessed in a database from time A to B. How do I get the list of tables accessed (excluding the 'SELECT's)?

View 3 Replies View Related

Is There Anyway To Tell When A Database Was Last Accessed Or Changed?

May 29, 2007

Is there a simple way to tell when a database was last accessed or changed?



We have some databases on old servers which we would like to discontinue but do not know if they are being used.



We would rather not just take them offline.



Is there anyway I can find out if they are still being used?



Please help if you can.



Regards, Major (that is my Christian name ;-)

View 3 Replies View Related

How Do I Find When My Database Was Last Accessed

Dec 11, 2007



I have a bunch of datbases I have created during the development process. I want to delete those no longer being used. How do I find when the last time a database was accessed?

Thanks.

View 3 Replies View Related

Displaying Images That Are Accessed Through URL

Nov 29, 2006

Hi,

I have trouble displaying images that are accessed through URLs in my report.
If I call the URL directly in the Browser the Image can be opened without problems.
The images can be accessed with an anonymous access.

When I deploy the report or in the Preview of Visual Studio I get the following message:

[rsWarningFetchingExternalImages] Images with external URL references will not display if the report is published to a report server without an UnattendedExecutionAccount or the target image(s) are not enabled for anonymous access.

In Layout View of Visual Studio the image is showen correctly.

The Images are stored on a Solaris maschine with WebSphere 6.0 as WebServer.

Any ideas?

Thank you.

Frank


View 14 Replies View Related

Identifying Frequently Accessed Tables

Sep 25, 2001

Can any one recommend an approach for identifying the frequently accessed tables and files in a SQL/Server application? Particularly, if the database is stored on raw partitions instead of FAT or NTFS. Thanks.

View 3 Replies View Related

Need Help To Check When Was Database Last Accessed/updated

Jul 29, 2004

I am trying to manage a sql server.

In this sql server, I have about 200 databases.

Is there any way/suggestions to check to see if some of the database has not been accessed/updated for the last month or longer?

I am trying to develop a system to remove the database that's no longer needed.

Thank you.

View 8 Replies View Related

Data/Table Last Accessed/Modified

Apr 28, 2004

Is anyone aware of a method of determining when a table was last modified or accessed?

Some of our databases have tables that I am sure are not being used and I would like to generate a list of tables that have not been accessed or modified for some period of time.

I looked for a system procedure but didn't see anything that satisfied my need.

Currently I rename suspect tables and wait for someone or some process to gripe, but I don't care for that method for obvious reasons.

Thanks!

View 4 Replies View Related

Finding Out How Many Times A Table Is Accessed

Jul 20, 2005

We have an application that accesses a particular table, but it isnever updated. Without stepping through the complex application code,is there a method of logging when a particular table is accessed?

View 3 Replies View Related

Transact SQL :: Log What Users Accessed Which Databases

Nov 9, 2015

I'd like to find out who is accessing various databases and log the time they did so.

Is there a way to do this? I just need the account name and the time logged and then to write to a table so I can query it.

View 2 Replies View Related

DB Engine :: Last Accessed Database Date

Jul 22, 2015

how to check the last accessed date of the list of all databases in a particular server in MS SQL SERVER. 

View 12 Replies View Related

InnerPackage.dtsx Can Not Be Accessed By The Process!!!

Feb 23, 2007

Hi, I have a package that I am running concurrently with different values. and sometime I'm getting following message for one of the running instances and it fails while the other ones are running.

Execution failed with the following error: "ERROR : errorCode=0 description=Failed to save package file "C:Documents and SettingssmillerLocal SettingsApplication DataMicrosoftSQL ServerSmoInnerPackage.dtsx" with error 0x80070020 "The process cannot access the file because it is being used by another process.". helpFile=TableTransferGenerator Task helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}".

Any ideas what is the reason I have search everywhere for keyword InnerPackage.dtsx as this is not my package name and it is getting created by SSIS enginee

Thanks

View 16 Replies View Related

Script To Log/record The Users Who Accessed My Database

Jul 10, 2006

Hi,

I am hosting my database on a third-party Microsoft SQL server. The guest user is "Off". But, I am not sure if any one else is accessing/viewing/editing my database contents.

Can I know/log/record the users/logins who are viewing/accessing my database. Is there any script or any exisitng machnism which can be used to track these users.

Also, are there any things that I should take care with my database from outside users.


Thanks
-Sudhakar

View 2 Replies View Related

Script To Log/record The Users Who Accessed My Database

Jul 10, 2006

Hi,

I am hosting my database on a third-party Microsoft SQL server. The guest user is "Off". But, I am not sure if any one else is accessing/viewing/editing my database contents.

Can I know/log/record the users/logins who are viewing/accessing my database. Is there any script or any exisitng machnism which can be used to track these users.

Also, are there any things that I should take care with my database from outside users.


Thanks
-Sudhakar

View 1 Replies View Related

Script To Log/record The Users Who Accessed My Database

Jul 10, 2006

Hi,I am hosting my database on a third-party Microsoft SQL server. The guest user is "Off". But, I am not sure if any one else is accessing/viewing/editing my database contents. Can I know/log/record the users/logins who are viewing/accessing my database. Is there any script or any exisitng machnism which can be used to track these users.Also, are there any things that I should take care with my database from outside users.Thanks-Sudhakar

View 1 Replies View Related

SQL 2012 :: Determine If A Certain Table Has Been Accessed In The Past?

Nov 4, 2015

code that I can use to determine if a certain table has been accessed in the past?

View 6 Replies View Related

Performance Of Views Accessed By Multiple SPIDs?

Jul 23, 2005

I wonder if anyone has any hard fact based pro or contra, especially onperformance, about having views as opposed to tables when the object isbeing accessed for read only by multiple sessions/users/spids. I amparticularly concerned about the multiple instantiations of the view.Relevant thoughts on this are much appreciated.Thanks,Caveman

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved