Forum Replies Created

Viewing 15 posts - 331 through 345 (of 492 total)

  • RE: Tempdb

    premkuttan.lakshmanan (10/19/2010)


    My tempdb raised to 25 GB since i was executing a query but even after execution of the query the size of tempdb remains same can anyone help...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Clustered / NonClustered

    As per the clustering key width, it would be 17 bytes instead of 8, it's not that bad (is it?).

    ..

    Also, the table is partitioned (6 partitions) on Receiving_Number, but just...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Create Hidden Trace / Mask Trace

    Unless the user suspects you are tracing them and runs:

    SELECT * FROM :: fn_trace_getinfo(0)

    and then runs:

    SELECT * FROM :: fn_trace_getfilterinfo (trace_id),

    They won't see the trace.

    You could block their execute rights...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Create Hidden Trace / Mask Trace

    What sort of information are you trying to capture? Have you looked at what the Default Trace gives you?

    Leo

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Clustered / NonClustered

    Based on the little information provided I can't see that changing the indexes would help. You really need to see what queries are performing badly and then ID why those...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: SQL Server Auditing?

    amy26 (10/14/2010)


    so with the sp_create_trace ... after reading a little... its basically a programmatic way to tell sql server to start a profiler trace? And I can stop it...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: after making a non system stored procedure it appears in the system stored procedure folder

    pavan_srirangam (10/12/2010)


    what is the schema of your SP its not sys. right.

    if you give the name with sys. spname it creates in system store proc.

    I tested this and it wouldn't...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: after making a non system stored procedure it appears in the system stored procedure folder

    I've tested this on my SQL 2005 server and can't get it to save an object in System Stored procs.

    Are you sure they are actually defined as system stored procs?...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: CPU from 1% to 100% for 8sec query on Prod. server only

    A few comments:

    1) Post the execution plans from the 2 machines so they can be checked. This isn't only to see if they could be improved, but it's not unusual...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: sp_start_job (Transact-SQL)

    Sorry but the sp_start_job stored proc only accepts a single job name.

    try:

    EXEC dbo.sp_start_job N'Weekly Sales Data Backup' ;

    go

    EXEC dbo.sp_start_job N'Next Database Data Backup' ;

    go

    Alternately you could just schedule the jobs,...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: The script can work, but the job failed

    When the script is run from the agent it is being run in the context of the account that the SQL Server Agent runs under. In your case NT AUTHORITY\SYSTEM....

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Quickshift (100% - 200% performance increase????)

    Robert Hankin (9/23/2010)


    Thanks for the helpful replies. If you bothered to check out the link i sent you may see that the author of this article is quite reputable...

    Note...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: CXPACKET WAIT issues

    SequelSurfer (9/23/2010)


    It turns out the parallelism (in my case at least) was being caused by an unnecessary ORDER BY. Funny thing is, I don't remember it being a new change,...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Views Vs Tables

    Tara-1044200 (9/21/2010)


    Views are very slower than tables while querying and also the execution plans are choosen differently, how can we trick views so that it performs like a table.

    I'm sure...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: ACtive-ACtive Clustering SQL server 2005

    To have more than 2 nodes in a SQL Cluster you need SQL Server Enterprise Edition.

    You can definitly have it on it's own node. We have a client that has...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

Viewing 15 posts - 331 through 345 (of 492 total)