Forum Replies Created

Viewing 15 posts - 1,951 through 1,965 (of 3,060 total)

  • RE: Query

    skcadavre (5/14/2010)


    All I've been able to do is get two seperate queries

    One way to do it reusing your code? How about derived tables? use your two queries as derived tables...

    _____________________________________
    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: Slowly Changing Dimension: Type 2

    srilu_bannu (5/11/2010)


    ...asked to use slowly changing dimension(Type 2) ... i found this link useful: http://www.mssqltips.com/tip.asp?tip=1442.

    Now my question is :

    what is the best way for doing this?

    1.SSIS package.

    ...

    _____________________________________
    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: Do any of you use open source DB systems?

    In my opinion MySQL is the poor guy SQL Server while postgreSQL is the poor guy Oracle - don't take me wrong, I've installed both in my personal lab a.k.a....

    _____________________________________
    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: Designing table structure for tracking library data

    Either this is school homework or you got into a consulting project you have no clue how to deliver.

    In the first case you should make some effort and we will...

    _____________________________________
    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: Moving databases

    george sibbald (5/14/2010)


    ... and hope there are no flight cancelations

    :w00t: I'm appalled you don't trust the air travel industry 😀

    _____________________________________
    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: Difference between Inline view and Derived table

    An inline view is nothing but a subquery in the WHERE clause.

    A derived table is nothing but a subquery in the FROM clause.

    _____________________________________
    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 Build a robust DWH ? need some advice

    dave_le (5/14/2010)


    the 8GB machine is not the OLTP system, it's a server that will be used for loading source data and staging.

    I would certainly use a second server to handle...

    _____________________________________
    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 Build a robust DWH ? need some advice

    dave_le (5/13/2010)


    dimensional modeling can be achieved in both of the implementation method i described, the question is which method will perform faster.

    Let me simplify it a little and say that...

    _____________________________________
    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: Moving databases

    duplicate

    _____________________________________
    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: Moving databases

    Put two copies of your backups in a removable disk drive, send a guy carrying the disk on his briefcase on the last flight to Nashville, let them restore during...

    _____________________________________
    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 Build a robust DWH ? need some advice

    My preference is to go with dimensional modeling.

    In a datawarehouse environment design is the key, in a small database no matter how bad was it designed you can always use...

    _____________________________________
    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: Purging huge table, good approach

    mohammed moinudheen (5/13/2010)


    I need to purge a table containing data older than 2009. There is data starting from 2006. Around 20 million records needs to be purged. The database 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: Data Mart Design - Best practice

    Aggregate tables are a delivery layer and not a copy of a factual table 😉

    _____________________________________
    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: Data Mart Design - Best practice

    peter.j.hanlon (5/12/2010)


    Is it acceptable to duplicate the same fact table(s) in different data marts?

    Yeah, of course it's acceptable.

    But there are plenty of reasons why it wouldn't be advised, and I'm...

    _____________________________________
    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 much time it will take to get the records from a large table

    neliii (5/13/2010)


    Select * from tablename

    question is... why would somebody do "select *" on a 30 million rows table?

    _____________________________________
    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 - 1,951 through 1,965 (of 3,060 total)