Forum Replies Created

Viewing 15 posts - 2,611 through 2,625 (of 3,060 total)

  • RE: Should SQL Server be restarted on a frequent basis

    Matt (4/27/2009)


    Today My website started running very slowly and in many cases timed out before the sql statement could complete, I restarted the SQL server instance and found that everything...

    _____________________________________
    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: Database recovery

    Tara (4/27/2009)


    yes there was some processing running and the reboot was done according to our shedule.

    ...why I'm having troubles to digest this statement?

    Your options are :

    1) Sit tight and wait...

    _____________________________________
    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: Maintenace Plan / Cleanup Transaction Log Fails

    What is your SQL Server version?

    _____________________________________
    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 split one mdf file into two

    Alex Rosa (4/25/2009)


    SQL Reddy (4/25/2009)


    A database can have only one mdf file.So you cannot split this.

    opss...I guess the information above is not correct.

    It's possible to create more than one DATAFILE...

    _____________________________________
    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 i can't shrink tempdb data file

    Check http://support.microsoft.com/kb/307487 ... this is why I love Microsoft's KB

    _____________________________________
    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: SP

    psangeetha (4/27/2009)


    I've installed SP3 for SQL server and now when i run SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition') I get Productlevel as SP3.

    :w00t: shocking!

    ... sorry, couldn't help myself 😀

    _____________________________________
    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: A great site like this - but for ORACLE.

    http://www.dbasupport.com/forums/forumdisplay.php?f=20 😉

    _____________________________________
    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 Server 2005 won't start with "not enough space" error

    tempdb database is actually rebuilt by SQL Server at startup time; message suggests space needed to build it is not available on your storage subsystem.

    Make the required amount of...

    _____________________________________
    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: stored procedures

    Shahrukh Khan (4/25/2009)


    We used to migrate stored procedures from dev to prod servers in sql 2000. How do I migrate them in sql 2005?

    Assuming you are talking about promoting...

    _____________________________________
    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: To Determine how many columns matched in a query and getting percentage matched

    This doesn't sounds like a "Working with Oracle" kind of question.

    Eitherway -not considering the merits of the exercise - you can join both tables, load all columns of each row...

    _____________________________________
    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: Oracle create table syntax

    I'm not that familiar with Oracle express interface.

    I would set the proper ORACLE_HOME and ORACLE_SID then open a SQLplus session and do it in one shot.

    _____________________________________
    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: Oracle create table syntax

    It shouldn't fail; my wild guess is that the batch file has some bad character, look:

    oracle [6]:

    oracle [6]: cat createtable.sql

    CREATE TABLE "TEST45" (ID NUMBER(5,0) NOT NULL ENABLE, DUMMY VARCHAR2(10), CONSTRAINT...

    _____________________________________
    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: Create Database

    Just a couple of questions to better picture the scenario.

    1- Is this happening on a well configured database server or is it happening on a desktop/laptop?

    2- What can you see...

    _____________________________________
    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: Solution on inserting good records or bad records

    steveb (4/23/2009)


    What criteria defines a bad record?

    Usually they are poorly dressed, nervous, don't look you in the eye and just run away when they see a DBA patrol car approaching...

    _____________________________________
    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: Insert records that don't exists in the table

    :w00t: hey!...

    I'm following the given business specs here, look how they read: "...if recods are equal between 2 tables not to insert, only insert records that are not in...

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