Creating the datafiles in SQL2000

i am using SQL2000 with win2003server.
My query is, is that possible to create more datafiles in SQL2000?
i mean, currently i am having three datafiles with one logfile.
(i.e. prddata1.mdf,prddata2.ldf,prddata3.ldf and prdlog1.ldf)
i want to create the three more datafiles.
after creating the new datafiles, database growth should be with newly created datafiles only.
is there such concept exists in sql?
Regards,
Gayathry.

Hello my friend
To have a multiple data files is a good idea with 100 - 200GB each, locates on separated logical drives which span as many disk as you can to maximize I/O performance. In SQL 2000, it must be performed while SAP instances are offline.
And regarding free percentage in each data file, I don't think it can be controlled in SQL server world if I'm right here. As long as SQL server has sufficient space for this DB, it distributes this kind of space resource automatically. But for performance perspective, there's another option called "fill factor" that you can control, which is about how full each index page can be. It's introduced in here: http://msdn.microsoft.com/en-us/library/aa196711(SQL.80).aspx
Generally, if you have enough resource of storage, I'd like to set it to 90. But with SQL 2000, if this value of fill factor is higher than 95, storage I/O performance could be vary, depends on what kind and which brand of your storage device is.
Thanks,
Effan

Similar Messages

  • How to drop the datafile in a tablespace

    hi,
    I need to drop the datafile in a tablespace.How to drop the datafile in the tablespace.If iam able to drop the datafile and is it possible to create the datafiles with the same name.could u pls help me out..
    Thanks in advance,
    R.Ratheesh

    sql > alter database <datafile> offline drop ;
    sql > alter database open ;What if the datafile have the segments in it, I believe users will not be able to access them. And system will put the datafile to Recovry mode not drop it.
    Dropping a datafle is possible only in 10G. In 9i you can reduce the size of file below the size of your min extents so that the space wont be allocated from that datafile or you may need to recreate a new tablespace copy all the segments from old tablespace and drop old one.
    Cheers

  • Best Practices To Size the Datafile on ASM in Oracle 11gR2

    Hi DBAs,
    I need to know that what should be the datafile next extent on ASM. I have created a database 11gR2 with ASM. Now some certified DBA told me to create the datafile as small as possible and make it auto extend with the next extent size 1M. The expected data growth every month is about 20-25 Gig.
    Please let me know what are the best practices while for sizing the datafiles and extents in 11g using ASM. Any good document/note refer would be great help.
    Thanks
    -Samar-

    Hi Samar,
    I need to know that what should be the datafile next extent on ASM. I have created a database 11gR2 with ASM. >Now some certified DBA told me to create the datafile as small as possible and make it auto extend with the next >extent size 1M. The expected data growth every month is about 20-25 Gig.
    Please let me know what are the best practices while for sizing the datafiles and extents in 11g using ASM. Any >good document/note refer would be great help.I don't think there is any kind of recomendations for that, at least, I've never seen. As You probably know, ASM already divides the ASM files (any sort of files written in a ASM diskgroup) in extents and those extents are composed of AU. So, doesn't matter the datafile size, ASM will balace the I/O on all ASM disks in a diskgroup.
    I guess this thread ( AU_SIZE and Variable Extent Size ), even not being the subject of Your question, Will help You.
    I do believe there are more important factors for ASM performance, like stripe size, LUN size, storage configuration, etc.
    Hope it helps,
    Cerreia

  • Is it possible to create a control file without the datafiles

    Hi All,
    Is it possible to create a control file without the datafiles?
    on any OS or DB version
    regards,
    sachin

    if I understand properly:
    - you have a script to recreate the controlfile
    - you have all of your database files backed up except your controlfiles
    This should work as this is how we sometimes refresh dev databases:
    1) restore the copies of the database files
    2) recreate the controlfile
    3) recover the database files to the desired point in time (if hot backup or archivelogs are available, otherwise, it would be as of the time of the backup)
    4) add temp files to temporary tablespace(s)
    The simpler solution would be to backup your controlfile at the same time as your datafiles (RMAN or o/s copy).
    I hope I understood your question properly.

  • Create a tablespace without specifying the datafile path and name

    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?

    user13364377 wrote:
    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?Using Oracle-Managed Files
    Oracle internally uses standard file system interfaces to create and delete files as needed for the following database structures:
    * Tablespaces
    * Online redo log files
    * Control files
    Through initialization parameters, you specify the file system directory to be used for a particular type of file.
    EXAMPLE:
    The following parameter settings are included in the initialization parameter file:
    DB_CREATE_FILE_DEST = '/u01/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_1 = '/u02/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_2 = '/u03/oradata/sample'
    The following statement is issued at the SQL prompt:
    SQL> CREATE DATABASE sample;
    SQL> CREATE TABLESPACE tbs_2 DATAFILE SIZE 400M ;
    SQL> CREATE UNDO TABLESPACE undotbs_1;
    refer the link for more information:
    http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/omf.htm

  • Error while creating the rollback segment (Oracle 8i & OS Win NT)

    hi
    I am using Oracle 8i and when i am creating the new rollback segment for my database i have got following error message
    ORA-01593 Rollback segment optimal size (30 blks) is smaller than the computed initial size (2560 blks)
    CREATE ROLLBACK SEGMENT "RBS11" TABLESPACE "RBS1"
    STORAGE ( INITIAL 120K NEXT
    120K OPTIMAL
    240K MINEXTENTS 2
    MAXEXTENTS 100)
    Note:- db_block size is 8k
    Tablespace RBS1 is the Locally managed Tablespace having datafile of 50m and uniform size of 10m
    But Given statement processed while i am using Tablespace RBS (winch is data dictionary managed)
    Plz, suggest me to cause of that error and solution

    You said 120K optimal and initial is 120K with minextents of 2. The optimal size then will be smaller than the initial allocation for the rbs.
    ORA-01593: rollback segment optimal size (string blks) is smaller than the computed initial size (string blks)
    Cause: Specified OPTIMAL size is smaller than the cumulative size of the initial extents during create rollback segment.
    Action: Specify a larger OPTIMAL size.

  • Why the query of the object still can work after the datafile has been deleted?

    Dear friends:
    Recently, I deleted a datafile from OS but don't touch the correspondent tablespace in OEM(actually the datafile name still exists in OEM after I deleted it from OS). I found out I still can create objects such as table and query it in this tablespace using sqlplus though the physical datafile has already been deleted.(What I done is I created new objects using an account whose default tablespace is that one which I deleted the datafile from it.). Will these new objects use another datafile instead the original one deleted? I will appriciate if you can point out the reason for me. Thanks for your help!
    John
    07/26/2002

    Even though you delete a datafile physically from OS, entries about the datafile still exists in Data Dictionary. So long as these entries are there in data dictionary, Oracle will consider that these file exists unless there is a specific command which referes to deleted files.
    Further, you are trying to create table in a tablespace whose datafile is deleted. If that was the only datafile for that tablespace then you should get an error. If the table is getting created, there must be some other datafile for that tablespace, in which your table is getting created. This is all when your database is already in running stage. If you shutdown and restart the database, it won't start next time because of missing datafile.
    Hope this solves your query.

  • How to defragment the datafile hwm in EBS R12 database

    Hi All,
    We are on 1204 E-biziness instance on 11gR2 database.
    We have deleted(purged some EGO data and got the huge space in dba_segments. it was around 2.5 gb after purging activity we got
    SQL> select sum(bytes/1024/1024/1024) from dba_segments;
    SUM(BYTES/1024/1024/1024)
    734.867561
    SQL>
    SQL> select sum(bytes/1024/1024/1024) from dba_data_files;
    SUM(BYTES/1024/1024/1024)
    2456.70493
    SQL>
    But in datafile the HWM is not reduced, i checked by moving the big tables, even though i am not getting the space in datafile level, i need to resize my datafile size to 1TB , take backup and clone the target which is having 1TB space.
    For example in apps_ts_tx_data we have only 243Gb segments but the datafiles size it is having 1000GB, we have to reduce the datafile size to that 300Gb, how to do it?
    =======
    SQL> select sum(bytes/1024/1024/1024) from dba_segments where tablespace_name='APPS_TS_TX_DATA';
    SUM(BYTES/1024/1024/1024)
    243.981201
    SQL> select sum(bytes/1024/1024/1024) from dba_data_files where tablespace_name='APPS_TS_TX_DATA';
    SUM(BYTES/1024/1024/1024)
    1070.2343
    SQL>
    ==========
    I thought of creating one tablespace of 300GB and move all objects into new tablespace , drop old tablespace and rename new tablespace to 'APPS_TS_TX_DATA', but we have objects like below, Pl guide me what is the best method of doing this and reduce my database size to 1TB. so that i can accomplish my task
    ====
    SQL> select DISTINCT SEGMENT_TYPE,count(*) FROM DBA_SEGMENTS where tablespace_name='APPS_TS_TX_DATA' group by SEGMENT_TYPE;
    SEGMENT_TYPE COUNT(*)
    INDEX 275
    INDEX PARTITION 509
    INDEX SUBPARTITION 96
    LOB PARTITION 8
    LOB SUBPARTITION 96
    LOBINDEX 460
    LOBSEGMENT 460
    TABLE 14615
    TABLE PARTITION 2079
    TABLE SUBPARTITION 96
    10 rows selected.
    ====
    Thanks in advance..

    Please see these docs.
    How to Reorganize INV Schema / Reclaim the High Watermark [ID 555058.1]     
    Optimizing Database disk space using Alter table shrink space/move compress [ID 1173241.1]
    Why is no space released after an ALTER TABLE ... SHRINK? [ID 820043.1]
    Various Aspects of Fragmentation [ID 186826.1]
    Thanks,
    Hussein

  • Remove the datafile not belong to database

    ASM disk +data filled with datafile and onlinelogs not belong to the database.
    I have created the standby datbase from primary using copy datafiles . first time it failed.
    but files were copied into disk. without removeing the old datafile gain created the standby database
    standby datbase working fine. no problem
    but disk with filled with old file and online logs
    I would like to know how to remove the files from ASM (+data)
    how to identify the files not belong to the database.

    export ORACLE_SID=+ASM
    asmcmd
    you will see disckgroups name on the top level. Run help command
    oracle@dw5: ~$ asmcmd
    ASMCMD> ls
    DAG_01/
    IXG_01/
    ASMCMD> help
    asmcmd [-v] [-a <sysasm|sysdba>] [-p] [command]
    The environment variables ORACLE_HOME and ORACLE_SID determine the
    instance to which the program connects, and ASMCMD establishes a
    bequeath connection to it, in the same manner as a SQLPLUS / AS
    SYSDBA. The user must be a member of the SYSDBA group.
    Specifying the -v option prints the asmcmd version number and
    exits immediately.
    Specify the -a option to choose the type of connection. There are
    only two possibilities: connecting as "sysasm" or as "sysdba".
    The default value if this option is unspecified is "sysasm".
    Specifying the -p option allows the current directory to be displayed
    in the command prompt, like so:
    ASMCMD [+DATAFILE/ORCL/CONTROLFILE] >
    [command] specifies one of the following commands, along with its
    parameters.
    Type "help [command]" to get help on a specific ASMCMD command.
    commands:
    help
    cd
    cp
    du
    find
    ls
    lsct
    lsdg
    mkalias
    mkdir
    pwd
    rm
    rmalias
    md_backup
    md_restore
    lsdsk
    remap
    ASMCMD> cd DAG_01/
    ASMCMD> ls
    DB_UNKNOWN/
    IDTDW/
    ASMCMD>
    ....

  • Can we decrease the datafile size in 8.1.7.4

    Hello All-
    I have created a sample db with table space with datafile size of 2 GB. I may be needing hundreds of mb only.It is eating up the space on unix box server.
    Is there any way I can decrease the size of the datafile attached to the tablespace in Oracle 8.1.7.4.
    Any help would be appreciated.
    Thanks
    Vidya R.

    Yes you surelly can
    SQL> ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/stuff01.dbf'
    RESIZE 100M;
    Cheers !!
    Jagjit

  • Create a Datafile in UNIX

    Hi,
    In Unix System, File System SAPDATA1,SAPDATA2, SAPDATA3 are Fully Used. Only SAPDATA4 is occupied 97%. Now I want to Create a New File system SAPDATA5 and I want to attach the same to SAP Database.
    Kinldy Adivce how to proceed with Usefull steps using BRTOOLS
    With Thanks & Regards
    Bhushan

    Hi Bhushan,
    you have to create the filesystem with operative system commands, in AIX you can use smit, in HP-UX you can use sam, etc. different os have different commad to create filesystems. You can't create filesystem with brtools. When you have a new filesytem you can add a new datafile with brtools, using option 2 - Space management
    Bye
    Giuseppe

  • Seed_Database.dfb containing the datafiles information is missing

    Hello All,
    I installed Oracle 11g R2 on an HPUX server
    While i am trying to create a database using the dbca, it fails because of this error: the file Seed_Database.dfb containing the datafiles information is missing.
    Your help pls. what is the solution?
    Regards,

    Hello,
    I also have this problem. I downloaded the win64_11gr2_database_1of2 and 2of2.zip files 3 more times. I also tried downloading the linux versions along with version 11.1.0.6.0. I have searched the files in all cases for the Seed_Database.dbf and did no find it. Why do you suppose that after all of those downloads, from the Oracle download site, I would still not be able to locate the file? I certainly would like a reasonable explanation and a solution. I am running a windows 7 os but I am the administrator on this PC.
    Thanks,
    John

  • Problem in resizing the datafiles

    Dear Gurus,
    We had a critical situation in one of our Streams enabled ODBPROD/HDBPROD configurations.
    We had a tablespace "STREAMS" in HDBPROD database which replicates data from ODBPROD of size 86GB of which 80GB is free.
    When we tried to resize the datafiles which are of each 8GB each, we are receving the error that some objects exists in the extents, even when I tried to reduce the file size by 100M.
    So, we are plnning to do a re-org on the tablespace and the optiosns which I have are.
    1) MOve the tables/objects with inthe tablespace.
    2) COALESCE the tablespace
    3) Create a new tablespace and move al the objects from Streams tablespace to the new one and once again create/rename the tablespace with STREAMS and move back iff created.
    My doubt here is while going with option 3) is it going to affect the stream apply process or any effect on the DML operations are reported.
    Please help me on this.
    REgards,
    Kumar

    How to Use Layout Managers:
    http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html
    When using BorderLayout, components added to the CENTER will expand with the available size.
    When using GridLayout all components will expand to the available size.

  • Failing to create the controlfile...

    Hi Experts..
    I am trying to create the controlfile manually. I have added the existing datafiles and given the logfile location. However, met with error while executing the script...
    Please help.
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '?/dbs/[email protected]'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3

    user13655582 wrote:
    Hi Experts..
    I am trying to create the controlfile manually. I have added the existing datafiles and given the logfile location. However, met with error while executing the script...
    Please help.
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '?/dbs/[email protected]'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3Seems like the file, dbs1.dbf is not where it is supposed to be. So can you check the file status again and retry the command if the file is indeed there.
    Aman....

  • Error while creating the repository

    Hi MDM Guru's
    I have Installed SAP MDM 5.5 SP06 Patch 1 on Solaris with Oracle 10g
    Initially I could create the repository also but when I changed the DBMS settings Data Path and Index Path from Blank to some path. I am not able to create repository and in the Server Log I see the following Error.
    ==============================================================================
    2008/02/14 15:58:12.139   Error: Service 'MD1', Schema 'A2i_xCat_DBs', ERROR CODE=1435 ||| ORA-01435: user does not exist
    ZTEST_m000 does not exist or bad password provided
    Last CMD: ALTER SESSION SET CURRENT_SCHEMA = ZTEST_m000
    6 2008/02/14 15:58:12.208   Init Database Tag: ZTESTMD1ORCL_5_3_4_3  
    6 2008/02/14 15:58:12.300   Error: Service 'MD1', Schema 'A2i_xCat_DBs', ERROR CODE=1435 ||| ORA-01435: user does not exist
    ZTEST_m000 does not exist or bad password provided
    Last CMD: ALTER SESSION SET CURRENT_SCHEMA = ZTEST_m000
    ==============================================================================
    But even after I set the Data Path and Index Path to blank what it was, I still get the same error. Can someone please guide me on this one?
    Needs to resolve this Urgently.
    Pravin

    Hi Dilmit Chadha,
    NO I did not. When I said I changed the DBMS Settings that means. In the SAP MDM COnsole, right click on mounted MDM server, click on DBMS Settings, Input the DBMS Server, username and passowrd  and on the screen I changed the Data Path and Index Path.
    As per me Data Path is for creating the data file of Oracle tablespace for the Data part of Repository. and Index Path is for creating the data file of oracle for the Index part of the same Repository.
    Following error may also help which I see in the server log at the time when I tried to create the repository.
    ==============================================================================
    2008/02/14 15:44:08.957   Creating Repository: ZTEST, on DBMS Server: MD1  
    6 2008/02/14 15:44:09.164   Error: Service 'MD1', Schema 'sapr3', ERROR CODE=1119 ||| ORA-01119: error in creating database file ' /oracle/MD1/sapdata2/A2I_ZTEST_m000_Ix.DBF'
    ORA-27040: file create error, unable to create file
    SVR4 Error: 2: No such file or directory
    Last CMD: CREATE TABLESPACE A2I_ZTEST_m000_Ix DATAFILE ' /oracle/MD1/sapdata2/A2I_ZTEST_m000_Ix.DBF' SIZE 128K REUSE AUTOEXTEND ON NEXT 256K MAXSIZE UNLIMITED DEFAULT STORAGE (INITIAL 32K NEXT 128K MAXEXTENTS UNLIMITED PCTINCREASE 0)
    ==============================================================================
    Pravin

Maybe you are looking for

  • I'm running Windows 8.1 and find I can't open pdf attachments to emails? Any help appreciated

    Each time I try to open a pdf email attachement I'm told the file is corrupted but I am able to open from an old Apple computer. I am running an HP Desktop with Windows 8.1. This has only started happening in the last few days since I uploaded update

  • Buyer No & Buyer Name in PO reports

    Hi All, i need to add Buyer Number & Buyer Name in existing Zreport. This rreport is used for "Purchase Order Line Items With Outstanding Goods Receipts" . But how i can get those two fileds mean. From which table i have to get those related data. wh

  • Photo stream folder empty

    Hi all, I have install Win8 on my PC and re-intall latest itunes and Icloud app. I made configuration for photo stream and photo shared with friends. On windows folders the photo stream folder is not updated and kept empty! It works well with photos

  • TS1368 I forgot the answers of my security questions of iTunes account, what to do?

    Hi Team, I need your urgent support, as I have forgotten the answers of my security questions so I am not able to purchase anything from apple store as it's my first time to purchase ! I tried many times to answer the questions but I couldn't remembe

  • Newbe question

    I would like to use my Macbook pro as a server, so I can up grade my mac software in town.  If I just upgrade my Macbook  Pro will it cache those versions? Is there a way to manage what you cache and manage backup versions? If there are some good ref