Forum Replies Created

Viewing 15 posts - 2,341 through 2,355 (of 3,060 total)

  • RE: Cursor use in Oracle

    pandeharsh (7/24/2009)


    I am newbie in oracle.

    Should we use cursor in oracle store procedure either in select statement or insert statement.

    A cursor would always be populated by a select statement no...

    _____________________________________
    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: Constraints with multiple values

    jimk (9/9/2009)


    what's the best way to handle the situation where you want a column to be nullable, but when there is data you want it to be unique?

    Something is wrong...

    _____________________________________
    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: Question about creating a huge table in SQL Server

    Wayne (9/9/2009)I need to create a huge table (more than 500 million rows and 50 columns) in SQL Server. One of my coworkers told me that I should split 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: How "normal" is normaliization on your production databases?

    The key is to keep core structure in 3NF and be prepared to allow some degree of de-normalization in reporting delivery 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: decomissioning of servers

    question is... have you migrated databases to another place or are you guys shuting down the operation?

    _____________________________________
    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: Schema Separation vs. Partitioning

    tgarland (9/9/2009)


    The main thing we are trying to do is improve query processing on very large tables that will only be accessed on a per company basis even though multiple...

    _____________________________________
    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: Importing of data from Oracle to sqlserver taking 6hrs

    Paul White (9/9/2009)


    No, no - crontab = awesomeness 🙂

    as a friend of mine uses to say "everything that works ends up to be based on a text file" 😀

    _____________________________________
    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: WHY......Dropping Partition ...to recover space

    Bhuvnesh (9/9/2009)can anyone tell me why he dropped the partioned , just to regain space ?

    1- One or more unwanted partitions have data = are allocating space

    2- Team lead purges...

    _____________________________________
    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: Schema Separation vs. Partitioning

    tgarland (9/9/2009)


    Backup and recovery in our case is second to manageability and performance since we can easily recreate a customer's data fairly quickly.

    Well... if recovery would be based in re-creating...

    _____________________________________
    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: Importing of data from Oracle to sqlserver taking 6hrs

    Paul White (9/9/2009)


    Crontab. Well well well 😎

    okay, okay ... you can go with dbms_scheduler system package if you want but it will take ten times longer to deploy.

    _____________________________________
    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: Schema Separation vs. Partitioning

    tgarland (9/9/2009)


    If I go with partitioning, I can separate each company on it's own filegroup

    IMHO paritioning is not the right tool to solve a multi tenant environment.

    Two issues with the...

    _____________________________________
    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: Importing of data from Oracle to sqlserver taking 6hrs

    Paul White (9/9/2009)


    Is there a way to automate that process these days?

    Oh yes, you can automate it.

    1... pack provided sql code into a .sql file

    2... write a shell script 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: equivalent for rownum

    Jeff Moden (9/8/2009)Maybe not like that, but I've used it in relation to derived tables

    You are correct. Smart people are able to do all kinds of magic like using rownum...

    _____________________________________
    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: Problems to transcript a Oracle SQL Script

    Paul White (9/9/2009)Oracle provides indexes on functions directly I think...?

    You are correct once again. Oracle do supports "function based indexes".

    Last but not least, in the Oracle world applying a function...

    _____________________________________
    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: Importing of data from Oracle to sqlserver taking 6hrs

    Provided FTP performs well and the issue is not related to CNS(*) Paul's idea would do the trick, here is the Oracle side magic to get a csv file...

    log into...

    _____________________________________
    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,341 through 2,355 (of 3,060 total)