Forum Replies Created

Viewing 15 posts - 2,146 through 2,160 (of 3,060 total)

  • RE: Selecting Contents from one table into another (Resolved)

    Doctork11 (4/2/2010)


    SELECT * INTO BK_TABLE_B FROM TABLE_A

    really?

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Foreign key constraints...WHY??

    sumit.joshij (4/2/2010)


    SO when we create the relation between the PK and FK it check the statistics for PK and FK. it can take time for a huge tranasaction database because...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Foreign key constraints...WHY??

    in short, hire a senior DBA with proven experience in data modeling and physical implementation 🙂

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Presenting new DW schema to internal IT staff

    Here are my two cents.

    Reading your post I come to the conclusion you have designed a star-schema data warehouse following the dimensional model path. I also assume that having nine...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: SQL Exception : System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

    This is more likely application side.

    Check the value of SqlCommand.CommandTimeout property - I think default value is about 30 secs.

    A value of zero means unlimited.

    You can alter SqlCommand.CommandTimeout value, test...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Installation of AdventureWorks Sample Database

    I have seen people following that path when building a test environment where they are certain about the quality of the data.

    Rationale behind is that building PKs/FKs afterwards - with...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Partitioning a DataWareHouse

    The general guidance on partitioning is that you partition a table either to help during quering or to help during archiving/purging... or both.

    In general a date column is a good...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Using second SQL server for running reports

    I would start by checking requirements with business.

    If business is Okay with getting reports on "yesterday's" data depending on database size you can just restore a full backup on "reporting...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Speed difference with or without FK

    Exactly - the combination of the three flags a.k.a. attributes, defines the status of the FK.

    The standard setup for FKs between FACTtual and DIMensional tables in data warehouse environments is...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Speed difference with or without FK

    Paul White NZ (4/1/2010)


    PaulB-TheOneAndOnly (4/1/2010)


    Paul White NZ (3/30/2010)


    It surprises me that Oracle behaves differently, but there you go.

    Actually - in the Oracle world, you have to define such particular FK...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: adding intermediate views - good or bad design?

    Andrew-443839 (3/31/2010)


    ...then later, if I need to rename REALDATABASE

    Just out of curiosity... any particular reason you foresee the need of renaming REALDATABASE in the future?

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Foreign key constraints...WHY??

    David has my vote on this one.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: How to create user in Oracle 9i

    dhaval_dsa (4/1/2010)


    what is the review for oracle 11i in today's market

    easy money... nobody uses 11i 'cause it doesn't exist 😀

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Speed difference with or without FK

    Paul White NZ (3/30/2010)


    It surprises me that Oracle behaves differently, but there you go.

    Actually - in the Oracle world, you have to define such particular FK as "rely" for this...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Doubt in LIKE Clause

    Oracle documentation is very specific about syntax when using LIKE operator...

    search_value LIKE pattern

    where:

    search_value is usually a column name you want to search for a pattern.

    pattern is what you want to...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Viewing 15 posts - 2,146 through 2,160 (of 3,060 total)