Forum Replies Created

Viewing 15 posts - 196 through 210 (of 1,518 total)

  • RE: What % Fill Factor is best in this Scenario?

    onlygoodones (9/20/2011)


    Thanks Gail, SScoach and Nate. I will choose 95 as my initial FF.

    If I see any page splits down the road, I would go down to 90...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query needed to find column-level permissions in database

    SQLRNNR (9/15/2011)


    If not, then try this

    SELECT dp.grantee_principal_id,p.name AS UName

    ,dp.permission_name,c.name

    ,OBJECT_NAME(o.object_id) AS TabName

    FROM sys.database_permissions dp

    INNER JOIN Sys.objects O

    ON dp.major_id = o.object_id

    INNER JOIN sys.columns C

    ON c.object_id = O.object_id

    AND c.column_id = dp.minor_id

    INNER JOIN sys.database_principals...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: How good are DMV index recommendations?

    Just to expand a bit on to the points already mentioned.

    I never add indexes solely on what the above DMV query will return. That is not to say the query...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Physical-memory values on Windows Task Manager - what is "Cached" and "Free"?

    happiestgirl (9/15/2011)


    here is nice explanation:

    http://brandonlive.com/2010/02/21/measuring-memory-usage-in-windows-7/

    Thank you, this is a very useful link.

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Adding login to standby database

    SQL SERVER NOOB (9/14/2011)


    Hello gurus,

    I'm working on SQL SERVER 2008 R2. Created a log shipping routine with secondary database in standby mode. The LS process is working fine, no errors....

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Adding login to standby database

    Run sp_help_revlogin on the primary instance. That will give you a script as output of all logins on the instance. Run that script on the standby instance to re-create the...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Space used by Temp table

    Dropping the temp table explicitly at the end of a batch is considered good programming practice. On the other hand, I have seen it mentioned that NOT dropping it explicitly...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    Ninja's_RGR'us (9/7/2011)

    I tested that and I was never able to get anything returned from that table (even with 1 minute reports). I didn't test the subscription part because you...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    eccentricDBA (9/7/2011)


    Marios Philippopoulos (9/7/2011)


    Is there a way to "kill" reports running for too long, as identified from dbo.RunningJobs?

    The only way I know of how to do it outside of Managment...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    Ninja's_RGR'us (9/7/2011)


    Marios Philippopoulos (9/7/2011)


    Ninja's_RGR'us (9/7/2011)


    Just a guess but cancelling the job could do it...

    But these are not SQL jobs, they are reports running on a user's machine.

    Subscriptions are setup as...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    Ninja's_RGR'us (9/7/2011)


    Just a guess but cancelling the job could do it...

    But these are not SQL jobs, they are reports running on a user's machine.

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    Is there a way to "kill" reports running for too long, as identified from dbo.RunningJobs?

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    Revenant (9/6/2011)


    Marios Philippopoulos (9/6/2011)


    Revenant (9/6/2011)


    . . .

    Thanks, but I think this script provides info on running jobs in general.

    I am interested in getting info on currently executing SSRS reports and...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    Marios Philippopoulos (9/6/2011)


    eccentricDBA (9/6/2011)


    Try dbo.RunningJobs

    Thanks, but won't this only give me reports running as subscriptions?

    Actually, this seems to be the answer for what I need. I just checked it and...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Query to give reports currently running on report server

    Revenant (9/6/2011)


    SELECT job_name

    ,run_datetime

    ,run_duration

    ,run_status

    FROM

    (

    SELECT job_name

    ...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Viewing 15 posts - 196 through 210 (of 1,518 total)