Forum Replies Created

Viewing 15 posts - 5,161 through 5,175 (of 6,026 total)

  • RE: Query used to take 3 minutes, now takes 25+ minutes!

    Before killing the process that had been running for 7 hours, did you check see if it was was in a blocked state, what was blocking it, and wether it...

  • RE: Big Data

    In the past most data orginated in a database because it was deemed important enough by users that they entered it manually (patient charts, student records, inventory, etc.).

    Today, the...

  • RE: CAREER ADVICE: Applying for DBA Jobs?

    Henrico Bekker (4/12/2012)


    When I used to interview someone, I would ask one unanswerable question

    I've done it as well... "how do you detach a Log Shipped tempdb that is in Read...

  • RE: CAREER ADVICE: Applying for DBA Jobs?

    Who wouldn't want six weeks of vacation, the option to work remotely from home every day, a personal assistant, and a $120,000 salary?

    However, if applicants were to write a description...

  • RE: remot query takes longer - local faster

    sqldba_newbie (4/12/2012)


    Eric M Russell (4/12/2012)


    sqldba_newbie (4/11/2012)


    Eric M Russell (4/10/2012)


    Consider implementing a pass-through style query using EXEC(<sql>) AT <servername> syntax. If this query must be implemented a View, then consider replicating...

  • RE: remot query takes longer - local faster

    sqldba_newbie (4/11/2012)


    Eric M Russell (4/10/2012)


    Consider implementing a pass-through style query using EXEC(<sql>) AT <servername> syntax. If this query must be implemented a View, then consider replicating or grabbing a copy...

  • RE: Wasting Time

    I would not be anywhere near as knowledgeable, not at the level I am today, were it not for participating in discussion forums like SQLServerCentral. There are other non-IT things...

  • RE: "Variable" for switching Table Names

    ssssqlguy (4/9/2012)


    You can do what karamaswamy above mentioned; or you can also create an indexed view against these tables (assuming their schema is the same). This way, your queries...

  • RE: remot query takes longer - local faster

    Consider implementing a pass-through style query using EXEC(<sql>) AT <servername> syntax. If this query must be implemented a View, then consider replicating or grabbing a copy of the 3 remote...

  • RE: DB whitespace

    rummings (4/9/2012)


    the higher ups are super stingy with disk space.... we have to squeeze out all we can to run the system.

    Before deciding to shrink down the database, do some...

  • RE: Documentation ideas?

    As a DBA who has just inherited a database with a lot of objects and little production control process in place, another thing you'll want to do is confirm that...

  • RE: Documentation ideas?

    You may have already been looking at something like this, but the following will query table usage statistics:

    select

    t.name

    ,user_seeks

    ,user_scans

    ,user_lookups

    ,user_updates

    ,last_user_seek

    ,last_user_scan

    ,last_user_lookup

    ,last_user_update

    from

    sys.dm_db_index_usage_stats i JOIN

    sys.tables t ON (t.object_id = i.object_id)

    order by ( user_seeks + user_scans...

  • RE: Documentation ideas?

    In addition to checking database scripts into source control, any deployment to QA or Production should be tracked in a change tracking system like TFS or Mercury Quality Center. That...

  • RE: Limited permissions but able to delete data

    A login can inherit membership in the SYSADMIN role by membership in a windows domain group. You can confirm if a login account has been explicitly granted (or has inherited...

  • RE: Performance issues on huge table (40 columns, 500M rows)

    aaron.reese (4/3/2012)


    The columns of interest are AccountID,UpdateDate, SubBal-A, SubBal-B,...SubBal-K

    ...

    Currently the table has an index on AccountID only and an index on UpdateDate only.

    both indexes are non-clustered

    ...

    The estimated query plan indicates...

Viewing 15 posts - 5,161 through 5,175 (of 6,026 total)