How important is Partitioning?

Hello world,
How important is workflow db partitioning? Will i get improvements or headaches ? Is there anyone who can share experience in this matter ?
Regards,
Ricardo

Hello,
I test it on my test DB (Sun os 9/ oracle 9.2.0.4/ 16Go Ram) and found a little bug in the script wfupart.sql (this script works fine for a first installation/creation, if you want to migrate the DB you have to modify some little things in this script)
So, the improvement was really very small..
After a recover of my test DB, and after analysing the code of the workflow. I create some new indexes (normal indexes and FBI indexes) and I'm abble to do better than the partitionning step.
Marco.

Similar Messages

  • How to use partition by instead of group by?

    Hi,
    I am having trouble using partition by clause in following case,
    column other_number with null values contains 10 records in 'some_table'
    5 records with date 11-01-2009, item_code = 1
    5 records with date 10-01-2009, item_code = 2
    This query returns all 10 records, (which suppose to return 2)
    SELECT count (a.anumber) over (partition by TO_char(a.some_date,'MM'), a.item_code) AS i_count, a.item_code,
    TO_char(a.some_date,'MM')
         FROM some_table
         WHERE to_char(a.some_date,'yyyy') = 2009
         AND a.other_number IS NULL
    Works fine if I wrote like this,
    SELECT count (a.anumber) AS i_count, a.item_code,
    TO_char(a.some_date,'MM')
         FROM some_table
         WHERE to_char(a.some_date,'yyyy') = 2009
         AND a.other_number IS NULL
    group by TO_char(a.some_date,'MM'), a.item_code
    How to use partition by in this case?

    Hi,
    Almost all of the aggregate functions (the ones you use in a GROUP BY query) have analytic counterparts.
    You seem to have already discovered that whatever values are returned by
    an aggregate funcition using "GROUP BY x, y, z" can also be found with
    an analytic function using "PARTITION BY x, y. z".
    Aggregate queries collapse the result set.
    The aggregate COUNT function:
    SELECT    deptno
    ,         COUNT (*)   AS cnt
    FROM       scott.emp
    GROUP BY  deptno
    ;tells how many of the 14 employees are in each of the 3 departments.
    So does the analytic COUNT function:
    SELECT    deptno
    ,         COUNT (*) OVER (PARTITION BY deptno)   AS cnt
    FROM       scott.emp
    ;but the first query produces 3 rows of output, the second query produces 14.
    You could get 3 rows of output using the analytic function and SELECT DISTINCT , but it's inefficient.
    Which should you use? Like so many other things, the answer depends on what data you have, and what results you want from that data.
    If you want collapsed results (one row per group), that's a striong indication that you'll want aggregate, not analytic functions.
    If you want one row of output for every row in the table, that's a strong indication that you'll want analytic functions.
    If you have a particular question, ask it. Post some sample data and the results you want from that data, as Rob said.
    There is another important difference between aggreate and analytic functions: analytic functions can easily be restricted to a window , or subset, of the data set. This is something like a WHERE clause, but a WHERE clause applies to the whole query: a wondowing condition applies only to an individual row.
    If you need to compute a SUM of rows with an earlier order_date than this row or an average of the last 5 rows, then you proabably want to use analytic function.

  • Import a partition?

    Hello every one,
    I have one partition table say TABLE_A with partitions from jan_2008 to dec_2008.Now i have exported one partition say feb_2008 using the following syntax
    exp test/pwd file=part.dmp tables=table_a:feb_2008
    now i drop the partition feb_2008 using
    SQL>alter table table_a drop partition feb_2008.
    Now i want to import that partition from the export dump file.How can i do this?I am getting the following error when i try to imoprt using the following syntax.
    imp test/pwd tables=test_range:part3 file=part.dmp ignore=y
    . importing TEST's objects into TEST
    . . importing partition "TABLE_A":"FEB_2008"
    IMP-00058: ORACLE error 14400 encountered
    ORA-14400: inserted partition key does not map to any partition
    Import terminated successfully with warnings.
    Can any one help me by providing the exact syntax for importiong a partition.
    Thank you All...

    I will give you a clear scenario.
    Suppose you are having a Table A with partition from Jan-2008 to Dec-2008.
    You want to export the partition of Feb-2008 from Table A and import it to your Test Database.
    The syntax for export is as follows..........
    exp userid=xyz/<password> file=/tmp/<File_name>.dmp log=/tmp/<File_name>.log buffer=50000000 feedback=10000 tables=A:Feb-2008.
    The Dump file will be created in the /tmp directory and you need to import the data into your test database using the following dump file generated in your /tmp directory.
    The Syntax for Import is as follows...
    imp userid=xyz/<password>@Test file=/tmp/<File_name>.dmp log=/tmp/<File_name_imp>.log buffer=5000000 feedback=10000 commit=y ignore=y fromuser=<Username> touser=<Username> statistics=none
    Regards,
    Prosenjit.

  • How do i partition external hard drive using mac

    how do i partition my external hard drive on mac? can i use it as time machine disk as well as external drive?

    You can use an external disk for store files and for Time Machine, but you have to create a second volume.
    To create volumes on the external disk, use Disk Utility. See > http://pondini.org/OSX/DU3.html I recommend you to put as much space as you can for the Time Machine volume, because backups consume a lot and Time Machine starts deleting backups when the external disk is full

  • HT201250 How do I partition my Time Machine back up drive (G-Drive) to back up both my IMac and my MacBook Air?

    How do I partition my Time Machine back up drive (G-Drive) to back up both my IMac and my MacBook Air?

    That's not needed, but if you want to do it, use the Disk Utility in the /Applications/Utilities/ folder to create a new partition.
    (70423)

  • How do i partition a hard drive

    How do I partition an external "my Passport" hard drive that I have already formatted for pc use so that I can use it with my MB Pro?

    Select the Desktop icon of the drive. Press COMMAND-I to open the Get Info window. In the top panel you should see displayed something like this:
    Look to see what's displayed for Format.

  • How do I partition my MacBook Pro so I can keep Snow Leopard and also install Mountain Lion?

    How do I partition my MacBook Pro so I can keep Snow Leopard and also install Mountain Lion?
    I want to install the latest OS, but I already know that I will lose a lot of my software unless I can partition the hard drive and have two "bootable" drives.
    How do I retain everything I have, partition the drive, then reloa the software I own according to which OS it will work under?

    msmedia wrote:
    I do not currently own OS X ML.
    I am currently running OS X (10.6.8 Snow Leopard) on my MacBook Pro. It has a 2.8GHz Intel Core 2 Duo Processor. I want to upgrade to Mountain Lion, but many of my software titles will not operate with ML and I cannot afford to replace some of them (Adobe Creative Suite, for e.g.)
    After I back-up my HD and then partition the HD, how do I use the back-up to reinstall what I want to the SL partition, and then place the rest on the ML partition.
    I have not done what you want to do, so can only offer some general thoughts in support. Take value from the following where you can. No guarantees.
    If it was me, I would use a disk clone utility (e.g. Carbon Copy Cloner) to image the existing Snow Leopard disk to an external drive. Then verify that the external drive would boot and run Snow Leopard normally.
    I would then purchase and download the Mountain Lion upgrade installer, but not run it. Use Lion Diskmaker to make a bootable USB stick, and perform a clean install of Mountain Lion, replacing the Snow Leopard on your MBP. This way, you make absolutely certain that no third-party drivers or other SL cruft remains to make Mountain Lion unstable. Update to latest ML point release. Fix permissions. Let TimeMachine make a full backup of your ML installation to a different external drive. Then turn of Time Machine.
    In Disk Utility, use the + sign at the bottom of the ML partition to add another GUID, HFS+ Journaled partition for Snow Leopard. Resize to taste. Name it differently from your ML partition. Exhale.
    Now ideally, you would like to reverse the external clone and put it back into the new SL partition. Then fix permissions. And demonstrate that you can boot into individually stable OS X installations. This would save you alot of work. Resist copying your home directory into ML just yet.
    If you cannot successfully achieve the preceding paragraph, you will be faced with a full SL and application reinstall.
    The ~/Library contents for SL and ML are sufficiently different that you do not want to mix them. You may want to salvage Safari bookmarks.plist. And, ML created folders in the home directory may have different permissions or ACL settings than in SL. So, my rule of thumb would be to copy folders that you created in SL, and only the contents of matching named OS created folders such as Music, Pictures, Downloads, etc.
    For each operating system, you probably want the Time Machine settings to exclude the opposite OS X partition. If you use the same host name in Sharing prefs, then you will mix SL and ML backups on the same Time Machine back up drive. If you use different host names, they will be distinct folders in the Time Machine backups.backupdb and allow discrete restores per host. You may also want to gag Spotlight from indexing the opposite OS X partition.

  • How can I partition my external hard drive supporting mac OS in one partition and windows OS in another?

    Hello everyone, how can I partition my external hard drive supporting mac OS in one partition and windows OS in another?

    OK. Start with:
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to two (2). Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Click on the Erase tab in DU's main window. Select one of the two partitions, preferably the first one, change the Format type: to MSDOS then click on the Erase button.

  • How do I partition my external hard drive without losing data?

    How do I partition my external hard drive without losing the data already on it? I've been using it with Time Machine on my old computer, but want to use it as a regular drag-and-drop type back up on my new computer. Is there any way to basically split the hard drive so I can still access the Time Machine backups on my old computer, but also be able to use it with my new mac? Thanks!

    If you reformat the drive all data is lost.
    The only way to save the data is to copy it somewhere else during the reformat.
    Drag & drop will not backup things correctly.
    I suggest you set up partition for each Mac and then point Time Machine to each of the partition for each of the Macs.

  • How important is using optical audio, since no surround?

    I'm out of optical inputs on my A/V receiver. How important is using the digital optical audio output, since there is no surround sound on the Apple TV?
    Is using analog audio cables that bad, since the content on Apple TV is stereo to begin with?
    Thanks for the help.

    I don't think the issue will be surround sound since surround sound isn't supported by the tv, although as capaho points out there are some files floating around out there that appear to work with the tv, however as far as I know these are all test files and there isn't actually any content as such available.
    The issue for you will be one of quality, which of course means different things to different people. Personally I can only tell the difference between analogue and digital sound on some tunes and my personal taste in music does not always include those tunes (more of a Rolling Stones listener than Debussy) , so I'm quite happy to use analogue audio for my set up. Whether you are happy to do so will be one of personal taste.

  • What is partition ? how to create partition ? how to maintain indexes ?

    HI experts,
    What is the  use of peartion table
    how to create partition ?
    how to create index ? how to maintain ?
    Thanks in Advance!
    Vijay

    Read
    Partitioned Tables and Indexes
    Create Partitioned Tables and Indexes
    SQL Server Index and Statistics Maintenance
    Many Thanks & Best Regards, Hua Min

  • How importing illustrator CS4(or 5) gradients into InDesign CS5?

    How importing illustrator CS4(or 5) gradients into InDesign CS5?
    Many gradients for illustrator we can download in Internet, but nothing for InDesign ...
    ( Way, where copy (Ctrl + C) and paste (Ctrl + V) no work in this products, when gradient selected - button "Copy" - off )
    I try create ASE file, but his only for Colors, without beautiful gradient...
    What i must do?

    Thanks, copy to clipboard - it's working,
    but why developers not create "Simple converter" in InDesign
    Menu -> Load Swatches, what will get swatches in *.ai (or other) files??

  • How important is it to have non-flash content for iPAD?

    Hi there.
    I'm busy building a site with an image rotater in the header with a couple of images from the products. This rotater works with flash which does not work with iPAD. How important do you rate it to definitely have non-flash content as to have the odd cosmetic slide show here and there?
    Regards,
    Deon

    hgholtz wrote:
    Wonder why iOS does not like flash?
    Hi
    On Android devices the reason given for dropping support, (or no support in the case of iOS) was because it was literally possible to watch the battery power indicator drop whilst watching anything that required flash.
    On a Samsung Galaxy it only required 7 minutes of Flash video to drain the battery, and on an Android budget tablet I also use for testing, (sub £150)  3 minutes.
    PZ

  • How import AVI files to my I Mac for editing in Final Cut?

    How import AVI files to my I Mac for editing in Final Cut?

    You first convert them to ProRes with Compressor or MPEG STREAMCLIP, then import the ProRes files into FCP.  FCP doesn't work with the AVI container...footage must be Quicktime, and must be in a codec FCP works with.

  • How import AVCHD video file ( Sony NEX 7) to FCPX ? Thank you !

    How import AVCHD video file ( Sony NEX 7) to FCPX ? Thank you !

    https://discussions.apple.com/community/professional_applications/final_cut_pro_ x
    is where the FCP folks hang out.

Maybe you are looking for

  • Downloads disappear

    When I download a podcast it goes through the process, then disappears.

  • GetPageContent method takes 10 - 15 seconds to run

    Hi, I'm writing a OneNote 2010 Add-In using C#, and a call to getPageContent takes between 10 and 15 seconds to run, during which OneNote does not respond to user interaction. The page whose content I'm getting is somewhat large -- it has a single ta

  • Japanese mojibake in email created from Mac OS X Mail.  Help?

    Since Tiger I am having more and more Japanese friends of mine say that my email is turning up in their inbox as mojibake (junk characters.) I have found Article ID: 301986, "Mac OS X 10.4: Japanese message doesn't appear correctly in web mail or on

  • How can i run java file by double click like Visual basic

    i have to run java file by giving a command on DOS promtp.But in Visual basic i easily make a .exe file to run my program. Does java provide this thing? please help me.

  • Expose ECC to internet via webdispatcher

    Dear Experts, I have installed SAP webdispatcher on our SAProuter machine (located in DMZ) which is statically NATed to a public IP (for OSS connection) Is it possible to expose the ECC server to internet via webdispatcher using the public IP of the