Putting Partition in tables in the Oracle database

How do I create partitions in the various SAP datases running on Oracle?

Hi,
I'm sorry to say you've reached the wrong forum, as this one's for MaxDB and liveCache only. I'll try to find a more suited one.
Can you maybe tell us which:
- SAP Application plattform (Netweaver, BI ...) you are using?
- operating system (OS) your Oracle DB is running on?
Regards,
Roland

Similar Messages

  • Auto Increment ID Field Table in the Oracle Database (insert new record)

    I have been using the MySQL. And the ID field of the database table is AUTO INCREMENT. When I insert a new record into a database table, I can have a statement like:
       public void createThread( String receiver, String sender, String title,
                                 String lastPostMemberName, String threadTopic,
                                 String threadBody, Timestamp threadCreationDate,
                                 Timestamp threadLastPostDate, int threadType,
                                 int threadOption, int threadStatus, int threadViewCount,
                                 int threadReplyCount, int threadDuration )
                                 throws MessageDAOSysExceptionand I do not have to put the ID variable in the above method. The table will give the new record an ID number that is equivalent to the ID number of the last record plus one automatically.
    Now, I am inserting a new record into an Oracle database table. I am told that I cannot do what I am used to doing with the MySQL database.
    How do I revise the createThread method while I have no idea about what the next sequence number shall be?

    I am still very confused; in particular, the Java part. Let me try again.
    // This part is for the database table creation
    -- Component primary key sequence
    CREATE SEQUENCE dhsinfo_page_content_seq
        START WITH 0;
    -- Trigger for updating the Component primary key
    CREATE OR REPLACE TRIGGER DHSInfoPageContent_INSERT_TRIGGER
        BEFORE INSERT ON DHSInfoPageContent //DHSInfoPageContent is the table name
        FOR EACH ROW WHEN (new.ID IS NULL) // ID is the column name for auto increment
        BEGIN
            SELECT dhsinfo_page_content_seq.Nextval
            INTO :ID
            FROM DUAL;
        END;/I am uncertain what to do with my Java code. (I have been working with the MySQL. Changing to the Oracle makes me very confused.
       public void updateContent( int groupID, String pageName, int componentID,
                                  String content, Timestamp contentCreationDate )
                                   throws contentDAOSysException
       // The above Java statement does not have a value to insert into the ID column
       // in the DHSInfoPageContent table
          Connection conn = null;
          PreparedStatement stmt = null;
          // what to do with the INSERT INTO below.  Note the paramether ID.
          String insertSQL = "INSERT INTO DHSInfoPageContent( ID, GroupID, Name, ComponentID, Content, CreationDate ) VALUES (?, ?, ?, ?, ?, ?)";
          try
             conn = DBConnection.getDBConnection();
             stmt = conn.prepareStatement( insertSQL );
             stmt.setInt( 1, id ); // Is this Java statement redundant?
             stmt.setInt( 2, groupID );
             stmt.setString( 3, pageName );
             stmt.setInt( 4, componentID );
             stmt.setString( 5, content );
             stmt.setTimestamp( 6, contentCreationDate );
             stmt.executeUpdate();
           catch
           finally

  • What is the best way to put LabVIEW DSC data into an Oracle database?

    I have been collecting data using LabVIEW DSC 7.0 for several years and have always accessed the data from the Citadel database via the Historical Data Viewer.  I would now like to begin putting this data into an Oracle database.  My company stores all their data in Oracle and it would provide me all the benefits of their existing infrastructure such as automated backups, data mining tools, etc.
    My initial thought is to use "Read Trace.vi" in LabVIEW to pull historical data from the citadel database at regular intervals (e.g. 1 minute) and insert this data into Oracle via ODBC.  In this way, I do not need to track the value changes in order to know when to write to Oracle.  I also considered replicating the citadel database using some other method, but I recall that the tables used by citadel are somewhat complicated.  I only need a simple table with columns for channel, timestamp, and data.  The "Read Trace.vi" will provide me data in this format.
    I do not need to update the Oracle database in real time, a few minute delay is acceptable. If anyone has a better idea or additional insight please let me know. Thanks.

    In terms of connectivity, you want to use ADO, not ODBC. Beyond that, it all depends on the structure of the data and what you are going to want to do with it. This is a very big question that you need to be getting some in-depth assistance.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to import a table from another oracle database ?

    Hi all ,
    i could like to use pl/sql to import one table from another oracle database server ?
    is it possible to do this ?
    A server B server
    table: test <------------------------> table : newtest
    the tns profile already configurated . the connection is ready .
    thanks a lot !
    Best Regards,
    Carlos

    if i don't have TEST table on server B whether COPY command will create this table on server B with the same structure ? If you specify CREATE as a clause the table will be created:
    SQL> help copy
    COPY
    COPY copies data from a query to a table in a local or remote
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                APPENDCREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[password]@connect_identifier

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • How can i save the data from the Oracle database to my local directory

    How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
    I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.

    Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
    You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run.

  • Error when installing 9.0.1.4.0 patch set for the Oracle Database Server.

    Hi to all.
    Currently, i am trying to install patches for portal server.
    The server OS is Sun Solaris 8.
    We are using Oracle9iAS.
    Now, we are installing 9.0.1.4.0 patch set for the Oracle Database Server.
    We managed to install the patch, but have problem with the Post Install Action.
    We managed to run
    -ALTER SYSTEM ENABLE RESTRICTED SESSION;
    -@rdbms/admin/catpatch.sql
    -ALTER SYSTEM DISABLE RESTRICTED SESSION;
    -CONNECT / AS SYSDBA
    -update obj$ set status=5 where type#=29 and owner#!=0;
    -commit;
    But, when we come to the next command, which is to shutdown, it gives us like
    this..
    SQL> update obj$ set status=5 where type#=29 and owner#!=0;
    1402 rows updated.
    SQL> commit;
    Commit complete.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    We tried to startup the database..it gives us this error..
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    So, we tried to shutdown again..
    SQL> shutdown immediate
    ORA-01089: immediate shutdown in progress - no operations are permitted
    I been informed that this is maybe a Database problem related. Any ideas?
    Best Wishes,
    Rushdan Md Saad.

    Patchsets could be obtained (only) from http://metalink.oracle.com
    You need to have valid CSI for access.
    P.S: Sorry Werner, I didn't see you post.
    Message was edited by:
    Ivan Kartik

  • Why is the FactAdditionalInternationalProductDescription a fact table in the AdventureworksDW2008R2 database?

    Was wondering why this table is a fact table in the AdventureworksDW2008r2 database?  It has no measures that I can tell. 
    Here is the schema for the table....
    [ProductKey] [int] NOT NULL,
    [CultureName] [nvarchar](50) NOT NULL,
    [ProductDescription] [nvarchar](max) NOT NULL

    Yes, I think it should be a dimension also.
    The dimDate table has translation for month, dyas, etc in other languages.  They don't put those translations in a fact table.  Also, fact tables have measures, you can not perform math on those columns except maybe count...
    The only thing I could think of is maybe it is some sort of intermidiate table... like if you have a many to many and need a one to many for SSAS, but still trying to wrap my head around some of these concepts.
    I have just been studying this stuff for about a year or so, so wasn't sure.  Studying for 70-463 hope to get MCSE someday too.
    Mike

  • How to store image in the oracle database 10.2. using File Maker 10.

    Hi.,
    I want to store image, media file in the oracle database using File Maker as a front end.
    I connect Oracle using odbc from file maker. There are table and in that table there a column "pict" of blob type. but this column is not showing in the file maker.
    2. Here I can not change the data type of any column.
    Now how to store images in the oracle table using odbc or any other tool.
    Regards,
    Shyam

    I wrote an example for my students, you can find it here. It's using PHP as the front end but all you need to do is know how and leverage the stored procedures. All code is downloadable in zip files from the blog.
    http://blog.mclaughlinsoftware.com/php-programming/oracle-lob-processing/

  • Not able to start the oracle database with ASM

    HI all,
    WE are using oracle10.2.0.1 on OEL5.
    I have mounted ASM but when i try to start the oracle database, it is asking "db is already started shut it down first"
    [root@localhost ~]# /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    [root@localhost ~]#
    [root@localhost ~]# su - oracle
    -bash-3.2$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 31 02:12:06 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> shutdown
    ORA-01012: not logged on
    SQL> startp mount
    SP2-0734: unknown command beginning "startp mou..." - rest of line ignored.
    SQL> conn / as sysdba
    Connected.
    SQL> shutdown
    ASM diskgroups dismounted
    ASM instance shutdown
    SQL> startup mount
    ASM instance started
    Total System Global Area  130023424 bytes
    Fixed Size                  2019032 bytes
    Variable Size             102838568 bytes
    ASM Cache                  25165824 bytes
    ASM diskgroups mounted
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    -bash-3.2$ export ORACLE_SID=dbtest
    -bash-3.2$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 31 02:13:30 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> exit
    -bash-3.2$ cd /u01/app/oracle/admin/dbtest/pfile/
    -bash-3.2$ ls -l
    total 8
    -rw-r----- 1 oracle oinstall 2442 May 27 23:07 init.ora.427201023913
    -rw-r--r-- 1 oracle oinstall 1406 May 31 01:44 sqlnet.log
    -bash-3.2$ pwd
    /u01/app/oracle/admin/dbtest/pfile
    -bash-3.2$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 31 02:14:00 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> exit
    -bash-3.2$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 31 02:14:09 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> startup pfile="/u01/app/oracle/admin/dbtest/pfile/init.ora.427201023913';
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL>
    -bash-3.2$ ps -ef|grep ora
    root      5501  5483  0 00:32 ?        00:00:00 hald-addon-storage: polling /dev/hdc
    root      6333     1  0 00:32 ?        00:00:00 /bin/su -l oracle -c sh -c 'cd /u01/app/oracle/product/10.1.0/db_1/log/localhost/cssd;  ulimit -c unlimited; exec /u01/app/oracle/product/10.1.0/db_1/bin/ocssd '
    oracle    6527  6333  0 00:33 ?        00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/ocssd.bin
    oracle    6849     1  0 00:49 ?        00:00:00 /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr LISTENER -inherit
    root      7637  7617  0 01:53 pts/2    00:00:00 su - oracle
    oracle    7638  7637  0 01:53 pts/2    00:00:00 -bash
    root      7751  6763  0 02:11 pts/1    00:00:00 su - oracle
    oracle    7752  7751  0 02:11 pts/1    00:00:00 -bash
    oracle    7773     1  0 02:12 ?        00:00:00 oracledbtest (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle    7777     1  0 02:13 ?        00:00:00 asm_pmon_dbtest
    oracle    7779     1  0 02:13 ?        00:00:00 asm_psp0_dbtest
    oracle    7781     1  0 02:13 ?        00:00:00 asm_mman_dbtest
    oracle    7783     1  0 02:13 ?        00:00:00 asm_dbw0_dbtest
    oracle    7785     1  0 02:13 ?        00:00:00 asm_lgwr_dbtest
    oracle    7787     1  0 02:13 ?        00:00:00 asm_ckpt_dbtest
    oracle    7789     1  0 02:13 ?        00:00:00 asm_smon_dbtest
    oracle    7791     1  0 02:13 ?        00:00:00 asm_rbal_dbtest
    oracle    7793     1  0 02:13 ?        00:00:00 asm_gmon_dbtest
    oracle    7805  7752  0 02:15 pts/1    00:00:00 ps -ef
    oracle    7806  7752  0 02:15 pts/1    00:00:00 grep ora
    -bash-3.2$
    {code}
    so anybody can help me how to start the oracle database....                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    -bash-3.2$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 31 02:26:11 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show parameter instance
    NAME                                 TYPE        VALUE
    active_instance_count                integer
    cluster_database_instances           integer     1
    instance_groups                      string
    instance_name                        string      dbtest
    instance_number                      integer     0
    instance_type                        string      asm
    open_links_per_instance              integer     4
    parallel_instance_group              string
    parallel_server_instances            integer     1
    SQL>
    -bash-3.2$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 31 02:26:11 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show paramete instance_name
    SP2-0158: unknown SHOW option "paramete"
    instance "local"
    SP2-0158: unknown SHOW option "_name"
    SQL> show parameter instance
    NAME                                 TYPE        VALUE
    active_instance_count                integer
    cluster_database_instances           integer     1
    instance_groups                      string
    instance_name                        string      dbtest
    instance_number                      integer     0
    instance_type                        string      asm
    open_links_per_instance              integer     4
    parallel_instance_group              string
    parallel_server_instances            integer     1
    SQL>
    -bash-3.2$ ps -ef|grep pmon
    oracle    7777     1  0 02:13 ?        00:00:00 asm_pmon_dbtest
    oracle    7851  7752  0 02:32 pts/1    00:00:00 grep pmon
    -bash-3.2$
    -bash-3.2$

  • Using Oracle Developer Suite 10g Without the Oracle Database

    I have never used Oracle, but have used MS SQL Server 7. I need to learn Forms. An Oracle salesperson suggested I download Oracle Developer Suite 10g (the demo product). It includes the Oracle Developer Suite (with Forms Developer), and many other programs.
    The salesperson said it includes a database server, but I suspect it does not. I only downloaded the package last night, and have begun to skim the documentation, but I see nothing that looks like a database server.
    In SQL Server 7, the database engine is run as a service and you create and manage your tables (do all the database admin stuff) using SQL Enterprise Manager.
    So, does this package include a database engine/server? Or must you also have the Oracle Database?
    I don't see a demo version of the Oracle Database - is there one?
    Thanks in advance for any help.

    Hi,
    The Developer Suite does not contain a demo version of the Oracle Database.
    You can download the database from this page:
    http://otn.oracle.com/software/products/oracle9i/index.html
    Vincent

  • Linking A LOT OF Tables in the same database

    Hi,
    Following is what I have been doing:
    THE FOLLOWING STEPS ARE DONE PERIODICALLY (like every 30 seconds):
    Get data from a database above a certain time stamp in a resultset
    Select some rows based on ceratin values of certain columsn in the resultset
    Change numbers to words and words to numbers in the selected rows using other tables in the same database
    Display this info in a table.
    Problem:
    My program is working but it consumes an enormous time when it has to link those selected rows with other tables to get corresponding values. Once I have made a resultset of selected rows, whats the fastest way to change row fields in the result set to corresponding values in the other table.
    Any iideas of even putting them in a table in an effecient manner would be greatly appreciated.

    Hi atlantisLoveAngel,
    I see you are new to these forums. In my opinion, it's not good practice to post exactly the same question to more than one forum, and you have posted this exact same question in the JDBC Forum.
    As you can see, a lot of the people who visit these forums do check more than one of them, so it doesn't really increase your chances of getting a reply when you post the same question to different forums (even if you change the subject slightly).
    I'm not sure if this will help you, but in case you haven't already seen it, perhaps the article entitled Christmas Tree Applications from the Swing Connection may be relevant?
    Good Luck,
    Avi.

  • THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY

    THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY IN OBIEE DASHBOARD(ANSWERS)
    UNLESS AND UNTILL I OPEN THE ORACLE BI ADMINISTRATOR TOOL AND DO UPDATE ALL ROWCOUNT AND THEN SAVE THE RPD.
    WHERE AS ORACLE DATABASE TABLE DATA IS AUTOMATICALLY REFRESHED.
    PLS SOMEONE HELP OUT IN THIS ISSUE.

    Check whether you have enable cache on that view?

  • NetBean, I can't establish the oracle database connection with version 9i.

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

  • How to automate the Oracle database start and shutdown process

    How we can automate and oracle database start and stop procees with Linux start/shutdown process.
    I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.

    Hi,
    I can share my scripts:
    1) /home/oracle/start_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    lsnrctl start
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    startup
    exit
    ENDSQL
    emctl start dbconsole
    isqlplusctl start
    NOTE: emctl and isqlplus are optional
    2) /home/oracle/stop_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    isqlplusctl stop
    emctl stop dbconsole
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    shutdown immediate
    exit
    ENDSQL
    lsnrctl stop
    NOTE: emctl and isqlplus are optional
    Then what you need:
    1) K91oracle_stop (put it in the desired run level)
    #!/bin/bash
    # description: Stop Oracle before reboots
    su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
    2) S91oracle_start (put it in the desired run level)
    #!/bin/bash
    # description: Start Oracle after reboots
    su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
    Bye.

Maybe you are looking for

  • Looking for some Flash tutorials

    I'm doing some webstuff in Flash CS5 using actionscript 3, and I could use some help with a couple of things.  Can anyone recommend some tutorials on how to make an effective image gallery?  Like with a picture slider or something?  But ideally nothi

  • PI 7.1 Operation mapping - Multiple message mapping - one to many issue

    Dear Experts, I am facing this issue in PI 7.1 and I beleive i did similar one in PI 7.0 successfully. I have an operation mapping with two message mappings. The occurence of source message of operation mapping is 1 The occurence of target message of

  • Creating Po

    Dear Experts 1) Once Purchase Requisition Approved ,what are the sources you can create Purchase Order? (Manually and auto create ) Other than this any way to create po? 2) What are the chances Person Not able to create Purchase order?

  • Hiding the outline section of PPT converted to HTML in Page Viewer web part

    Hello, I've converted the PPT (Office 2010) to HTML using .SaveAs command. I'm adding this HTML on my SharePoint site in a page viewer web part. I get an outline section for PPT which shows all the slides. By default, I want the outline section to be

  • Batch Monitor non-responisve

    I'm using the most current version of compressor. Every time I submit a video file to compress, the batch monitor says processing but nothing is happening. I wait and wait and wait and the elapsed time gets longer and longer. There's no indication th