Forum Replies Created

Viewing 15 posts - 1 through 15 (of 326 total)

  • Reply To: use of option(maxdop 8) in query binding of SSAS cube

    Martin, that would have been the best option, but unfortunately views doesn't allow table hints.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Finding duplicates in a table with 20 million records

    Thanks Phil. Seems like a good idea...will give it a try

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    ScottPletcher wrote:

    Since we have NO previous knowledge of your tables and how they're used, we need specifics to make any reasonable judgements.  It's rather frustrating when we ask such things...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    ScottPletcher wrote:

    Jeff Moden wrote:

    S_Kumar_S wrote:

    We have dedicated Sr. People for optimization and they have been doing it for more than a decade for some good clients. So we trust their understanding...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    ScottPletcher wrote:

    I still have my doubts on the clus index keys.  But you could be right.

    By the way, are most of the tables clustered on an IDENTITY column?  If so,...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    ScottPletcher wrote:

    (1) As always, the first step is to make sure you have the very best clustered index on every table of significant size.  That is not an easy thing...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    Sergiy wrote:

    S_Kumar_S wrote:

    Some of my queries return upto 15 million records which gets pushed to a temp table.

    Does not look like a good choice of querying strategy.

    It's never a good...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    Grant, yes we have indexes on temp tables wherever needed.

    I'll deep dive into wait stats and see if I could get some help.

    Besides this, is it also possible that I...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    Sergiy wrote:

    I mean , we don't face high CPU, Memory or IO latency.

    What kind of issues do you face then?

    What's the bottleneck which makes your procedures slow?

    Hi Sergiy

    The issue we...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Huge size of Reporting tables

    My eyes sparkled when I saw "Grant Fritchey" replied my post. I have been a big fan of your books and thank you very much for your elaborated response.

    Thanks for...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Dividing data equally in 4 sessions

    Phil Parkin wrote:

    Can you expand a little on what the 'sessions' are?

    How should one 'session' know what the other sessions are doing (so that they don't have any overlapping or missed...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Strange Filtered Index Problem

    Thanks for sharing your learning Mike. it was very helpful/

    But my DB has is_parameterization_forced =0 and still clustered index scan is happening. The filtered index is not being picked. Still...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Grant exec permission but prevent DML operations in proc

    Michael L John wrote:

    So, what you are saying is you create procedures that are tested in development, and when moved into production, various issues cause them to perform poorly, or cause incorrect...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Grant exec permission but prevent DML operations in proc

    For now, I have came up with this as I couldn't find a nice way to achieve it:

    Create Proc MytestProc_V1 @DebugFlag bit =0

    AS

    BEGIN

    If @DebugFlag =0

    BEGIN

    Print 'You are running the proc...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • Reply To: Grant exec permission but prevent DML operations in proc

    Phil Parkin wrote:

    If the procs don't contain DML, what do they contain?

    ok, let me elaborate a bit more.

    The idea that I am working on, is to add a debug flag as...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

Viewing 15 posts - 1 through 15 (of 326 total)