Three questions on Partitioning

11.2.0.3 on Solaris 10
Question 1.
For RANGE partitioning or LIST partitioning or a composite of RANGE and LIST partitioning is it recommended to have global Indexes ?
Question 2.
For the below table we have created an index named IDX_NVH_CRTN_CLT_DTL_P as shown below in the CREATE INDEX statement.
This is called "Local index" because for each table partition an Index segment will be created. Right?
Question 3.
In table's DDL (extracted using Toad) , I can see that the first partition is user defined because of its naming (NVH_CRTN_CLT_DTL_P1 ) . The next partition names seems to system generated names like SYS_ . Why is that ?
-- Table with Range partitioning based on Month_id Column
create table NVH_CRTN_CLT_DTL_P
  month_id                 NUMBER(6),
  client_id                VARCHAR2(400 CHAR),
  client_subprofile_id     NUMBER(15),
  client_mgmt_country_code VARCHAR2(5 CHAR),
  product_area_code        VARCHAR2(25 CHAR),
  rolling_rvn_amt          NUMBER(20,10),
  avg_rwa_amt              NUMBER(20,10),
  group_id                 VARCHAR2(25 CHAR),
  csb_id                   VARCHAR2(400 CHAR),
  nvh_rgn_cde              VARCHAR2(8 CHAR)
partition by range (MONTH_ID)
  partition NVH_CRTN_CLT_DTL_P1 values less than (201101)
    tablespace WMNH_TBS
    pctfree 10
    initrans 1
    maxtrans 255
    storage
      initial 64K
      next 1M
      minextents 1
      maxextents unlimited
  partition SYS_P4592 values less than (201102)
    tablespace WMNH_TBS
    pctfree 10
    initrans 1
    maxtrans 255
    storage
      initial 64K
      next 1M
      minextents 1
      maxextents unlimited
  partition SYS_P4590 values less than (201103)
    tablespace WMNH_TBS
    pctfree 10
    initrans 1
    maxtrans 255
    storage
      initial 64K
      next 1M
      minextents 1
      maxextents unlimited
--- Index is based on MONTH_ID and GROUP_ID columns
create index IDX_NVH_CRTN_CLT_DTL_P on NVH_CRTN_CLT_DTL_P (MONTH_ID, GROUP_ID) local;

>
Question 1.
For RANGE partitioning or LIST partitioning or a composite of RANGE and LIST partitioning is it recommended to have global Indexes ?
>
Contrary to previous advice global indexes can be used for all table types, not just RANGE.
You should review the VLDB and Partitioning Guide for information about global and local indexes
http://docs.oracle.com/cd/B28359_01/server.111/b32024/partition.htm
See the Overview of Partitioned Indexes and the Local Partitioned Indexes sections
>
Question 2.
For the below table we have created an index named IDX_NVH_CRTN_CLT_DTL_P as shown below in the CREATE INDEX statement.
This is called "Local index" because for each table partition an Index segment will be created. Right?
>
Yes - this is explained in the Local Partitioned Indexes section I referred to above
>
Local partitioned indexes are easier to manage than other types of partitioned indexes. They also offer greater availability and are common in DSS environments. The reason for this is equipartitioning: each partition of a local index is associated with exactly one partition of the table. This enables Oracle to automatically keep the index partitions in sync with the table partitions, and makes each table-index pair independent. Any actions that make one partition's data invalid or unavailable only affect a single partition.
Local partitioned indexes support more availability when there are partition or subpartition maintenance operations on the table. A type of index called a local nonprefixed index is very useful for historical databases. In this type of index, the partitioning is not on the left prefix of the index columns.
>
Note the 'equipartition' mentioned in the third sentence: one table partition => one index partition
>
Question 3.
In table's DDL (extracted using Toad) , I can see that the first partition is user defined because of its naming (NVH_CRTN_CLT_DTL_P1 ) . The next partition names seems to system generated names like SYS_ . Why is that ?
>
If you create a partitioned table and do not provide names for some or all of the partitions they will be given system-generated names. If you split a partition and don't name the new partition it will also be given a system-generated name.
Odds are that your table was created using code similar to this example
create table NVH_CRTN_CLT_DTL_P
  month_id                 NUMBER(6),
  client_id                VARCHAR2(400 CHAR),
  client_subprofile_id     NUMBER(15),
  client_mgmt_country_code VARCHAR2(5 CHAR),
  product_area_code        VARCHAR2(25 CHAR),
  rolling_rvn_amt          NUMBER(20,10),
  avg_rwa_amt              NUMBER(20,10),
  group_id                 VARCHAR2(25 CHAR),
  csb_id                   VARCHAR2(400 CHAR),
  nvh_rgn_cde              VARCHAR2(8 CHAR)
partition by range (MONTH_ID)
  partition NVH_CRTN_CLT_DTL_P1 values less than (201101),
  partition values less than (201102),
  partition values less than (201103)
)Note that the last two partition clauses do not provide names so, on my system, they were named SYS_P910 and SYS_P911

Similar Messages

  • Three Questions: Which Windows OS, Parallels, and HD Partitioning?

    Hi Everyone,
    I have three questions about Boot Camp and Parallel that I hope someone can answer. I've been searching high and low on the internet, but can't seem to get a definitive answer.
    I have a MacBook Pro. Specs: 2.16 GHz Core Duo (Tiger, v10.4.11), 2GB RAM, 100 GB HD (or more like 18 GB free now, running Final Cut Pro 5, Photoshop CS, Office for Mac 2004).
    1) I purchased the Leopard upgrade and want to install Windows. Should I choose Vista or XP? I know XP is more stable, takes up less resources, and has better program compatibility...but Vista is newer. To give you a sense of what I use Windows for right now...I mainly run AOL, Outlook, Office, Firefox, and Microsoft Flight Simulator (the only game I play).
    2) I also purchased Parallels v3.0. If I use Windows for Parallels and Boot Camp, do I need two installations of the windows OS? Does Parallels know that there's a Windows partition already?
    3) How much room should I give for the Windows partition? I've been reading 5GB for XP and 15 for Vista, just for the OS itself. Also, what file structure should I choose? NTFS or FAT?
    I should also add that I want to do a clean install of everything to start fresh again. All of my files are backed up already onto an external hard drive.
    Thanks for your help in advance!
    -Bob

    hi Bob,
    ok, so Vista is newer & prettier - so what? will it give you anything you don't already have? probably not. having been drawn in by the shiny-newness of Vista, and progressively disappointed by is demons, i'd seriously reconsider my choice if i had to do it all again right now. maybe in 6-12 months time the "issues" will have been worked out...
    the latest versions of both Parallels & VMWare recognise & use an existing BootCamp partition, so only 1 Windows partition/VM is required. so you'd first create your BootCamp partition via OSX, install Windows onto it, and then Parallels (or at least VMware, from recent personal experience) will see it as a valid virtual partition.
    your figures for Windows' own HDD usage are fair (+ apps & data).
    just be warned that an out-of-the-box install of XP will consume ~200MB ram, & Vista is more than 3 times that. with XP i have the tools & know-how to pare it down to <80MB, but I'm still battling to get Vista's ram footprint smaller than ~400MB. this comes right off the top of your free ram while under OSX/Parallels...

  • LiveCycle and AD three questions.

    I have three Javascript questions. 
    1)     How would I go about finding the current domains which user is authenticated to.  What I need to do is have a form that can only be used while in certain domain.
    2)     Would also like a way of populating a forms value based on the current logged in user of the system (active directory.)
    3)      Am also looking from information on how I could use an existing AD account to sign a form, basically creating a maintaining a digital signature for user that is password synced to their existing AD account.  Allowing them to ‘sign’ the form by entering their AD credentials.    Realizing this is a complex subject I have been searching Adobe Tech support for a place to start and as yet being unsuccessful. 
    Thanks!

    I can get the process forms, but not following steps 3-4.  Please
    elaborate
    $Nith$ <[email protected]>
    09/18/2009 17:29
    Please respond to
    [email protected]
    To
    Thomas Beaty <[email protected]>
    cc
    Subject
    LiveCycle and AD three questions.
    i have one solution for your second question.
    1. Drag the process fields(from custom library) to the form
    2. A field named AWS_ASSIGNED_ID will be in invisible mode.
    3. The field will hold the currently loged in users's AD id (the column
    name is refprincipalid) in the Adobe table
    4. use this table to get all details of a user from edcPrincipal table.
    If unclear, i'm ready to make it elaborate for you.
    Nith

  • Three questions: new songs, two devices, organizing albums

    I have searched and searched and still have three questions that I can't find an answer to. I hope you guys can help.
    1) I have a few albums that are not organized with each other and are duplicates and such, when I upload to itunes match, will those be organized from apple's database?
    These were songs from cd's, friend's hd, etc.
    2) when I upload new songs in the future from cd's I may buy or put new songs in itunes that I don't buy from apple, are those uploaded to match automatically?
    3) I'm sure this one has been answered already...but,  can my wife and I use the same match library on two separate devices?
    thanks!

    Locate the "DEVICES" menu in the left column of iTunes, and click on the name of your iPod. This should display the "Summary" tab, giving you information about the iPod. Scroll down until you see a check box that says "Open iTunes when this iPod is Connected," and uncheck it. This will stop the iPod from automatically syncing. Good luck

  • I have three questions about managing my music library

    Hello,
    I have three questions about managing my music library, I hope you can help me with them:
    1) Is there a limit of how many entries, songs, albums, art work, can iTunes handle? I have a hunch iTunes is like a database program and am curious about its capacity. I have two 2-TB drives and am wondering what is going to happen when I fill these two drives up. Other than disk space, what are iTunes limitations?
    2) Talking about these two drives. How can I use both as a source for my iTunes library. Can I have two folders selected as the source of my library? I am not sure if I have enough disk space to hold all my music, but I do also have a 1TB almost empty drive is need be.
    3) OK now comes te real question. I am sure that I have duplicates in my library and I sure would love to clean my library up.Possiby if I do get to clean it up, I can save some disk space and that is always a good thing. Any good techniques, software, techniques to follow while ripping music to help keep my library organized. Please be as detailed as you can.
    Thanks and I can't wait to hear from you.
    Waseem

    Wassimn wrote:
    Hello,
    I have three questions about managing my music library, I hope you can help me with them:
    1) Is there a limit of how many entries, songs, albums, art work, can iTunes handle? I have a hunch iTunes is like a database program and am curious about its capacity. I have two 2-TB drives and am wondering what is going to happen when I fill these two drives up. Other than disk space, what are iTunes limitations?
    As far as I know you're going to run out of disc space before you hit any limits. Each object in iTunes has a 64-bit key to access it. That said as your library grows it will get less responsive as bigger indexes take exponentially longer to process.
    2) Talking about these two drives. How can I use both as a source for my iTunes library. Can I have two folders selected as the source of my library? I am not sure if I have enough disk space to hold all my music, but I do also have a 1TB almost empty drive is need be.
    iTunes wants to manage everything inside one big folder. Some idiosyncrasies with the way it manages things if you have to move to a new drive means it is best if you can stick to that plan. If your library grows larger then you'll have to take manual control of where some or all of your content is stored. I use a variation of a script called ConsolidateByMoving which you could adapt for your needs.
    3) OK now comes te real question. I am sure that I have duplicates in my library and I sure would love to clean my library up.Possiby if I do get to clean it up, I can save some disk space and that is always a good thing. Any good techniques, software, techniques to follow while ripping music to help keep my library organized. Please be as detailed as you can.
    When it comes to deduping I've written another script for that called DeDuper, see this thread for background.
    And for some general tips on getting organized in iTunes see Grouping tracks into albums.
    tt2

  • Three questions about a single-folio publication

    We are finishing our first publication with DPS.
    We have a Adobe DPS Professional Edition, Annual version.
    1- I have been planning to launch the App in iPad and Android for free and in three days to put the price at $9,00. Is that possible?
    2 - How much time needs Apple to approve our appliction?
    3- I have read that you can't publish a single folio app in Android. Why?
    What is the option

    On android a .apk app is limited to 50 mb. Additional Content up to 4GB can
    be loaded by the app on its first start.
    This need a change in workflow for the android version on the viewer side.
    And it may be political, too.
    —Johannes
    (mobil gesendet)
    Am 17.01.2012 02:32 schrieb "Bob Bringhurst - Adobe" <[email protected]>:
       Re: Three questions about a single-folio publication  created by Bob
    Bringhurst - Adobe <http://forums.adobe.com/people/BobBringhurst-+Adobe>in
    Digital Publishing Suite - View the full discussion<http://forums.adobe.com/message/4145193#4145193>

  • Three questions about XFCE4

    I love XFCE.  I have three questions though:
    1st)  I am trying to add some launchers to the bottom and was wondering if people knew any good ways to find icons?  Some (gaim and xscreensaver) put there icons in /usr/share/pixmaps which is nice.  Others like, firefox, bluefish, xmms ect I can't find anywhere?  Were they somewhere else or do I have to go online and try to find them?
    2nd)  Does anyone know of it's possible to get a program to not show up on the taskbar?  I am using a really small monitor so things like XMMS take up space.
    3nd)  How do you change defaults?  If I try to open a url it tries to load mozilla.
    Thanks!

    1) I remember seeing Icons also listed in the share folder of gnome.  I think it's something like /opt/gnome/share/icons/48x48? or something like that.  you could always download icon packs from art.gnome.org and put them in your  ~/.icons directory and tell xfce to load them directly from there.
    2) don't really know.   I've always used the iconbox and liked it.  but don't how effective it is on a small screen.  also, you could open things in a different workspace and tell the taskbar to show things only from that particular workspace.  this way you can put the things you don't want to interact with constantly in a different workspace and have them going in the background while you work.

  • Three questions about the developer tools

    At my company we have evaluated this very handy tool, and we have only three questions...
    * Will the autocomplete feature be more intelligent. For example pl/sql developer recognize partially written table names and suggest a full name.
    * How to debug and step through the procedures?? This is a MUST!!!!
    * Is it possible to add source control integration (source safe) for the packages/procedures?
    With these features, it will be super!!
    /henrik

    When I was at the VSLive in San Francisco back in February, I spent some time at the Oracle booth and I asked for Source Control also.
    I was told to my happy suprise that lots of other developers had been asking for that also but I was shocked when the Oracle reps told me that they didn't understand why people would want this feature or how they would use it. They tried to convince me that "Generate Create Script" was what I wanted.
    Btw, "Generate Create Script" ticks me off. It always sticks the package owner in the create script and when I check it back in VSS I have to go in and edit it back out!!!
    It seems to me that the mindset behind many Oracle tools is to work "on the database". I will admit that I don't use many Oracle tools. I used Procedure builder a few times but thats about it. To me it seemed pretty clunky, but it was nice to be able to debug a stored procedure. Or it was until you crashed the SP and it became locked in the database and un-updatable without a bounce ;)
    Most developers that I know, prefer to work "on their hard-drives" and publish to the database or some variation on that.
    I would love to see a tool for editing SPs and Packages where I could check out my code, make a change, compile it on the DB, and check my changes back into the source control. One more catch, we use VSS's ability to update the version number in a source code file on check-in so the version that ends up in the DB should have the "new" version number in the comment header.
    Also, the "Auto Code Generation" tool is not geared towards the type of code I write. I thought we were supposed to get away from writing data access code in our forms? Yet, this tool throws all kinds of stuff in for doing just that and no tools to make it easier (that I could find) to create a data acces layer for wrapping my stored procedures and packages. Where are these tools, Oracle? Help us write better code, not worse.
    The autocomplete is nice, but I have trouble with it. For example, if I type a table name and "." it will bring up all the columns in the table. If I type "R" it scrolls to the first column that starts with "R". But if I type "S" next, instead of scrolling to the first column that starts with "RS" it spits out the currently selected column and sticks an "S" on the end. Other times it doesn't work at all.
    The "Query" window is next to useless. It should work more like a SQL Plus (DOS) window. Or at the very least more like a SQL Server Query Analyzer Query window. I'll keep my SQL Plus until this is way better.
    Hopefully the next version (or 2 or 3) will be better. I hope Oracle is listening. They did acknowledge that other developers were asking for some of the same improvements.

  • Three questions about visual composer?

    Hi all,
    1. what is the relationship between "visual composer and "visual composer BI kit"? what else elements do we need to add on top of visual composer in order to make visual composer BI kit?
    2. If we only do visual composer, the only thing we can't accomplish is the BI query wizard in visual compuser menu, right?
    3. After creating backend SAP BW system connection via BI JAVA CONNECTOR, why do we still need to create backend SAP BW system connection via SAP BI CONNECTOR?
    I went through Scott Cairncross' PDF file "Know how network call SAP Visual Composer & BI kit" and have the three questions above.
    George

    ad 1) BI Kit is a kind of plugin to VC (like the plugins in Eclipse). Today VC and BI Kit are shipped together. Once you have VC, you also have the BI Kit.
    ad 2) BI Kit offers:
    - connectivity to JDBC, ODBO, XMLA, SAP Query and SAP BI directly
    - BI Integration Wizard (to create models in a wizard style)
    - MDX, SQL Editors
    ad 3) The "direct" BI connection uses RFC-calls to BI and offers you more features, like Variables, Queries, query-views, infoobjects, favourites, history, URL port, etc. You can also connect to a SAP BI system via the XMLA-connector. A relational connector (like it is done in the portal) would only give you access to masterdata (infoobjects), but not infocube data.
    Mario

  • Three questions about Droplets

    My first question is about a comparison between using Image Processor from Bridge to run Actions in Photoshop versus using Droplets in Post Processing from Lightroom's Export.
    As I understand it, using Image Processor will run my Sharpening Action on the Camera Raw file before it converts it to a JPEG. Using Lightroom's Export with the same Action as a Droplet will convert the Raw image to a JPEG first, then run the Action. How much of a quality impact will this have? And should I care?
    My second question is regarding using the Droplet itself. When I set up my Action to include the "Save" and "Close" steps, it will run properly when I am Exporting a single file from Lightroom. It will first Export the file, then Photoshop loads, the image opens, has the action applied, and then the image closes, and all is complete. I have even run this successfully when I start with two files simultaneously selected. Both images get Exported, and then the Droplets are applied.
    My problem is when I try to start with a full folder (approximately fifty images) selected. The Export completes correctly, but Photoshop never seems to apply the Droplets. Photoshop just sits there. Any ideas what is happening?
    My third question is about where I might be able to find a detailed tutorial about all of the considerations in setting up and using Droplets. The Photoshop help files are very abbreviated for my liking.
    Thanks for your help in these three questions.
    Nick

    i >"As I understand it, using Image Processor will run my Sharpening Action on the Camera Raw file before it converts it to a JPEG"
    Wrong I'm afraid. The RAW file is/cannot be affected. The sharpening only takes place after conversion to the editable format.
    Sharpening (and I'm assuming here that we are talking about
    i output
    sharpening) should always be carried out as a final part of the editing process
    b after
    resizing an image for it's final destination. the same image destined for a 20x16" print would require a different amount of sharpening to a version for placing on a web page.
    The amount of sharpening required by an image is also dictated by content so you can see how a fixed amount of sharpening applied via an action/batch/droplet will rarely give the optimum result.
    Capture Sharpening, on the other hand, is intended to compensate for the softening of image detail inherent in virtually all image sensors. This is best carried out by Lightroom and can be applied at the time of import via a preset.

  • Metadata ? Login before download? Mouse over image? Three questions...

    Three questions:
    1) Can I add metadata to pages made with iWeb? Does it have to be done in an external application (and if so why)?
    2) I would like to propose a PDF document (a catalogue of services) that can be downloaded from my site but only to visitors who have logged in or at least left their identities (I want to know who has downloaded the catalogue and to be able to contact them afterwards).
    3) I want to have a roll-over image which will show a photograph before and after retouching, switching between the two as the mouse cursor goes over the picture. Can I do this in iWeb?
    Any ideas?
    Many thanks!

    2 - as already suggested you can use a form site to create a form to give you the information you need. DYou can add the form to a web page with an HTML Snippet and iFrame code like in this demo page. The code used is also shown. on't know if you can set it up to download the pdf file but you might be able to add a link to the zipped pdf file which would immediately download the file.
    3 - to do the rollover that you want would require javascript and a snippet. Do a search in this forum for "rollover" and you'll a number of topics where it's discussed. Cyclosaurus is the resident expert on javascript.
    OT

  • Please help,Three Questions for Tuxedo

    Hi All
    I am new to Tuxedo, I ha ve three questions about tuxedo:
    1. My Tuxedo is running on Linux, Can it connect to Ms SQL Server running on another server? How?
    2. I want to use C++ to program for Tuxedo server,but I found all samples are developed by C language. I want to know, Is there any special settings or switch
    for C++ language when I program,especially Buildserver.
    3. If there is proxy server between Tuxedo Client and server, is it feasible?
    thanks
    Kevin

    Kevin,
    1. Most modern databases offer a way for a remote database client to connect to a database running on a remote site. (For example, Oracle database provides the SqlNet=db_link parameter to specify a networked connection to a remote database.)
    I'm not familiar with MS SQL Server, but from documentation and previous newsgroup postings it appears that when using SQL Server with the XA interface the application administrator uses the guidgen program to generate an RmRecoveryGuid parameter that is specified as part of the OPENINFO string in the *GROUPS section in the UBBCONFIG file.  If MS SQL Server allows these RmRecoveryGuid parameters to be used on a different machine, then it is possible to access the database from a remote machine using the XA interface.
    (If accessing Tuxedo without using XA, then the application is responsible for connecting to the database in the same
    2. Many customers use C++ to implement Tuxedo applications. The samples/atmi/xmlstockapp application is a sample ATMI application using C++.
    When using C++ with Tuxedo you will need to set the environment variable
    export CC=name_of_C++_compiler
    and you may need to set
    export CFLAGS=any_additional_compilation_flags_required
    3. Customers can use Tuxedo across a proxy server or a firewall. When configuring the workstation listener for this case you will probably need to use the -H external-netaddr parameter as described at http://download.oracle.com/docs/cd/E15261_01/tuxedo/docs11gr1/rf5/rf5.html#wp1534543
    Ed

  • Question on Partitioning

    Dear All
    I have following questions on partitioning
    1. Is it useful for improving performance of INSERTS ?
    2. When u have say list partitioning of 1, 2,.....10 and a default partition.
    Lets say the partition key is 11 always goes to Default partition
    WHat will happen to existing ROWS if I add a new partition for key 11
    Also what will happen to new ROWS of key 11
    3. When should I create global indexes and local indexes ?
    Thanx in advance
    Aaash

    This forum is not a substitute for taking a class or reading the docs.
    http://tahiti.oracle.com

  • I want to change my secret questions where I had forgotten the answers to three questions about safe

    I want to change my secret questions where I had forgotten the answers to three questions about safe

    The Best Alternatives for Security Questions and Rescue Mail
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contact Apple support.
        c. Rescue email address and how to reset Apple ID security questions.

  • TS1702 can't get past logging in the three questions

    can't login can't get past the three questions

    I have the same kind of problem here in Paris, France.
    I answer the first time these 3 ready-made stoopid questions 3 days ago, and now each time I've got 3 differents ready-made stoopid questions to answer. Stupid loop and I can't access my account, nor buy tracks or apps nor make updates on the Mac and iPhone.
    Apple iTunes hotline just told me they are sorry about that and that I've to wait for them to fix the problem.
    three questions / security questions / iTunes Store

Maybe you are looking for

  • Service tax interim account open item

    Hi , I am transferring service tax from interim account to main account by using the standard functionality. The transfer is correct in terms of amount. But it is not clearing the open item. I need to clear the open items against which the transfer o

  • Moving from Weblogic 9.2 to 9.2MP3 is causing error in finding jndi

    Hello, We have a weblogic domain created for weblogic 9.2. Now we are upgrading the server to 9.2 MP3. We have our datasource defined in config file as : <jdbc-system-resource> <name>XXSecurityDataSource</name> <target>XXServer</target> <deployment-o

  • How do I get rid of 'Warning: Query has exceeded 200 rows...' message

    Hi there, I have a custom page to query our Inventory details. I display 100 rows on the page. I noticed today I can hit next once and then I get the message 'Query has exceeded 200 rows. Potentially more rows exist, please restrict your query'. If I

  • Set trigger property using JDAPI

    Hi. I have a couple of forms I need to modify using JDAPI. Among others I need to set trigger property "Fire in enter query mode" from no to yes. But I just cant find the way how to do this. Any help would be appreciated. Gregor

  • Active Screen Corner Customization with added hot keys fails

    Active Screen Corner Customization with added hot keys fails upon restart. So, if my lower left corner is set to activate the screen saver it works. If I add the command key to that operation it works unit I restart the machine than the hot key requi