Forum Replies Created

Viewing 15 posts - 691 through 705 (of 872 total)

  • RE: operating system error 5

    This is usually due to the account which is running SQL server. It would appear that your service account does not have access to the local system file. Check the...

  • RE: Cannot Connect to local server

    Is the SQL Server service even running?

  • RE: Querying index sizes

    Jack Corbett (3/11/2008)


    Matt Stanford (3/11/2008)


    Isn't a clustered index just physically ordering a table based on the key fields? Does this actually add any size to the table?

    It does add...

  • RE: Create a job to execute proc in all databases.

    Ashwin M N (3/11/2008)


    Yes the procedure name is same in all the database. But there are around 45 databases of which I have to execute the procedure only in 40...

  • RE: Querying index sizes

    Jeff Moden (3/11/2008)


    Adam Bean (3/10/2008)


    Ok, I'm creating a couple custom proc's (one for 2000, one for 2005+), and I'm trying to figure out once and for all, how SQL determines...

  • RE: Create a job to execute proc in all databases.

    Than you'd need to do either a cursor or a loop ... if the proc name is the same in each database, than simply loop through the databases and call...

  • RE: Querying index sizes

    sp_spaceused sums up the value for the whole value of the tables indexes, and as stated, does some different logic for clustered indexes (same as sys.sp_msindexsize - which both "exclude...

  • RE: Create a job to execute proc in all databases.

    Just out of curiosity, why? What is it you're doing that would require executing a proc in all user databases?

    Anyways, do they have to run at the same exact time...

  • RE: Querying index sizes

    So would it in fact be dpages * pagesize?

    In 2k5, I took a different approach, and ended up with the same results as the M$ proc ...

    This is what I...

  • RE: Querying index sizes

    Jack Corbett (3/10/2008)


    Shouldn't the Clustered index size match the table size since the clustered index is the data at the leaf level?

    That's why I was thinking that should I simply...

  • RE: Track Reads and Writes

    This will give you all your i/o since your last SQL restart:

    SELECT

    DB_NAME(database_id) AS database_name

    ,FILE_ID

    ,sample_ms

    ,num_of_reads

    ,num_of_bytes_read

    ,io_stall_read_ms

    ,num_of_writes

    ,num_of_bytes_written

    ,io_stall_write_ms

    ,io_stall

    FROM

    sys.dm_io_virtual_file_stats(NULL, NULL)

  • RE: Multiple instances of Sql server

    The better question is, would you rather have two separate servers and pay for two sets of licensing, or have them consolidated into one if you had the option?

    Instancing provides...

  • RE: Repetitive Application Log Events

    Sounds like SQL is dumping ... check your SQL Server Error Logs, they may contain more information.

  • RE: dbcc inputbuffer question

    ian treasure (3/6/2008)


    Hi

    Why not use activity monitor?

    Gives the last SQL batch for the process...

    You do not get the query text, transaction count, lock count, etc. and you can only...

  • RE: SQL Server 2005 Standard Edition does use configured memory

    Couple quick things to check ...

    - boot.ini

    -- Is the /pae switch enabled?

    - sp_configure

    -- Post your output here

    - Lock pages in memory (are you using it?)

    - SQL Error logs

    -- Might want...

Viewing 15 posts - 691 through 705 (of 872 total)