Concepts behind them were leaving local and global


Hello

I'm not quite sure you understand the difference between local and global scores.

Can someone explain to me - in easy words - what is the difference between local and global scores?

Why should I use one rather than another.

Thank you and best regards.

I create a table and partition on SALE_DATE.

I create an Index on it and set it as 'LOCAL '.  It becomes Equi-partitioned as a partitioned local Index.  Each Table of Partition is a Partition of the corresponding Index.

I create another index and partition on CUSTOMER_ID.  It is partitioned on a different key of the table.  This is a partitioned Index.

I create another index on PRODUCT_ID without no partitioning.  It is an overall index.

Hemant K Collette

Tags: Database

Similar Questions

  • problem with the type of local and global

    Hi the gems...

    I have a plsql package. In the package, I defined a proc that takes two input parameters of type simple number and a parameter of a type of output collection.

    create or replace package pack_1 as body
    procedure proc_1 (p_number1 in number, p_number2 number, p_tt_table to tt_table) as
    v_tt_table tt_table:=tt_table();
    type c_ref_cursor is ref_cursor;
    v_c_ref_cursor c_ref_cursor;
    v_sql varchar2 (20000): = < a large sql using bind variables p_number1 and p_number2 >

    Start
    Open the v_c_ref_cursor for v_sql using p_number1, p_number2;
    loop
    extract the v_c_ref_cursor in v_tt_table;
    When the output v_tt_table.count = 0;
    for idx in 1.v_tt_table.count
    loop
    < business logic >
    end of loop
    end loop;
    close v_c_ref_cursor;
    < excpetion_block >;
    end;

    < several codes for the rest of the package >



    When I execute the proc_1 then he throws me error of data type incosistent while to fetch the v_c_ref_cursor of cursor in the v_tt_table variable.
    ORA-00932: inconsistent data types: expected - was -.
    But I have checked that the output of the query is similar with the type of variable.

    Now, a few facts: the tt_table of the user-defined table type is made from ot_table (create or replace tt_table to ot_table Board).
    The parent type i.e. ot_table has the same columns of this query in v_sql my proc.
    The ot_table and the tt_table are global types.

    But when I did these two types as local types, then the proc works very well. But I need them as global types only according to the condition in java.

    Please help me. The database is 11 GR 2.

    Thanks in advance.

    user12780416 wrote:

    I'm trying to keep it in the simplest form... Please take a look...

    Ah... Easy to solve.

    The projection of SQL must be an object of type ot_test_type for extraction in bulk work.

    Your projection of SQL look like this:
    cursor c1 is select object_name from user_objects;

    object_name is a string - it is not of type ot_test_type.

    You must change the projection to return ot_test_type. This is done by using the default constructor for that type of object.

    For example
    cursor c1 is ot_test_type (object_name) select as the user_objects OBJECT;

    He may now be in bulk recovered in tt_test_type.

  • Get local and global variables using API

    Hi, I do in LV a Publisher for TS. The user should be able to change the value of global variables and the inhabitants of file. Using the TS API, it is possible to get all files of Globals and locals without knowing the name of these variables have ts? I mean, if I knew the name I could use the value of property Get with the search string. But if the I do not know the name of the variable, can I get the list (and their values) of the variable?

    Thank you very much.

    Try the following link

    http://forums.NI.com/NI/board/message?board.ID=330&message.ID=3390&query.ID=6624776#M3390

    In summary:

    Use the GetNumSubProperties method to get the total number of inhabitants / FileGlobals.

    Use GetNthSubProperty to get sub properties using the index starting with 0 to GetNumSubProperties-1

    Use the Name property to get the name of the subproperty.

    Concerning

    Ray Farmer

  • Local and Global Index confusion...

    Hi all

    Oracle Database 10 g Enterprise Edition Release 10.2.0.3.0 - 64 bit

    I have a partitioned table, when developing the application, they have committed an index ON this table. Previously, whenever we use to run 'Alter Table add partition..' global index becomes unusable and I used to rebuild the same. But in recent months, each time we add partition (Alter Table... ADD Partition..) on this table, index will get unusable to stat instead it shows that indexes THE data dictionaries (Lacality = Local in USER_PART_INDEXES). Partitioned indexes are also automatically created with each table partition creation.

    But the query below shows the output indexes are GLOBAL.

    Select double dbms_metadata.get_ddl('INDEX','ABCD','USER_A');

    Can someone me help on what actually happened here.

    But the example above has the keyword LOCAL?

    CREATING INDEX 'SEB '. "" CDRV_I1 ""SEBS ". "" CDRV ' ('CDRV_CURNT_FL', 'IND_LAST_VERSN', 'GMT_SEIZ_DT_TIME', 'CLECT_ZONE', 'CALL_ID',

    "SWTCH_ADMIN_ABBR")

    PCTFREE, INITRANS 10 2 MAXTRANS 255 LOGGING

    STORAGE (INITIAL 10485760 NEXT 10485760 MINEXTENTS 2 MAXEXTENTS 2147483645)

    PCTINCREASE 0 DEFAULT USER_TABLES)

    "SEBS_CDRV_TAB" of LOCAL TABLESPACE

    (PARTITION "CDRV_HISTORIC"

    PCTFREE, INITRANS 10 2 MAXTRANS 255

    STORAGE (INITIAL 10485760 NEXT 10485760 MINEXTENTS 2 MAXEXTENTS 2147483645)

    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES)

    TABLESPACE "SEBS_CDRV_TAB."

    If it looks like a duck and quacks like a duck, it is very probably a duck (or the local index)

    See you soon

    Richard Foote

    http://richardfoote.WordPress.com/

  • Local and Global filter

    Hello

    What to say by a global and local filter filter, global and local guest quick to OBIEE


    Please urgent.


    Thank you
    JEL

    Global vs Local filter filter:
    global filters are also called saved filters, it can be applied to several reports.

    step 1: go criteria in responses create a filter using Add option filter in any column.
    step 2: save the filter in any shared folders.we can apply this filter to any report containing this particular column.we can select filter recorded in option to filter the left pane.

    If a report contains several blocks as table and chart, you can apply a filter that filters the data of table and chart. It is not only for the two blocks. You can apply a filter to a number n of blocks. This filter is called global filter. Local is a normal filter that can be applied generally on one block.

    Guest of dashboard:

    Guest of dashboard is a special type of filter that filters of query that are integrated with the dashboard.

    Step 1: In Oracle BI answers select new dashboard button in this upscale neighborhood of topic.
    Step 2: Select the scope of the dashboard, if we choose the scope as a page then guest will filter does not show in a particular page.scope is the dashboard then it will filter all reports that are present in this dashboard.
    operator and in step 3, select column
    step 4: select control and constraints
    step 5:set default and set the variables of the presentation if necessary.
    step 6: create labels
    Guest of 7:save stage

    Two types of guests from dashboard:
    Table of edge/Page

    Dashboard: this will get all dashboards
    Page: this will get a particular page only.

  • Them were leaving I need for recovery?

    Hello

    I have a HP pavilion dv9000 on Widows XP and I want to clean my hard drive. I have already installed Ubuntu on it, and now I want to merge all the partitions that are created in a large primary NTFS partition, so I installed this drive on another laptop to format. It seems that HP RECOVERY is not merge partitions...

    I want to keep HP RECOVERY, so I need to keep his scores. She sees 2 partition that could be used by HP RECOVERY:

    -HP_RECOVERY, 8,22 GB FAT32

    -*, a 1.00 GB NTFS, with 3 files inside (doc & Set, Program Files and WINDOWS)

    I have to keep these 2 partitions to perform a RECOVERY from HP? What are they for?

    You only have to keep the recovery partition if you intend to return to your laptop condition as delivered to you. The other partition is not necessary.

    the recovery partition also contains the Recovery Manager that allows you to install all the required drivers and applications from that the laptop was delivered.

    Erico-

  • partation local and global index

    Hello

    I want partation tables in my database.
    Can someone tell me what exactly the difference between the local index & glabal.
    is there any link which can give me more informetion about the same.

    Thank you

    Local index is the index that is created on the partition key column name.

    Hi Anand

    Just to be clear, that a local index must not necessarily be created on partitioned key column, it is simply automatically partitioned in the same way as the underscore.

    If it contains effectively partitioned key columns is completely optional.

    See you soon

    Richard Foote
    http://richardfoote.WordPress.com/

  • Get-VMHost: you have changed the world: DefaultVIServer and global: DefaultVIServers system variables. This is not allowed. Please reset them to $null and reconnect the server vSphere.

    Hello world

    After the upgrade to PowerCLI version 5.1 however I can't run even the simplest command because it always ends up with the following error:

    Get-VMHost: you have changed the world: DefaultVIServer and global: DefaultVIServers system variables. This is not aRA. Please reset them to $null and reconnect the server vSphere.

    C:\Users\Albert\AppData\Local\Temp\7900df01-f6c1-48c6-ac1e-047dfff90fb6.ps1:1 tank: 11
    + Get-VMHost < < < <
    + CategoryInfo: NotSpecified: (:)) [Get-VMHost], InvalidState)
    + FullyQualifiedErrorId: VMware.VimAutomation.ViCore.Types.V1.ErrorHandling.InvalidState, VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVMHost

    Can someone please suggest to me how to fix the script for my v3.2.0 PowerGUI IDE can work with the latest PowerCLI in my computer laptop 64 bit Windows 7?

    Thank you.

    And I just tried with PowerGui (same versions of PowerGUI and PowerCLI you use), no problem.

    Must be something local on your desktop.

    Maybe try a uninstall/reinstall of PowerGUI?

  • Shortcuts to office - my desktop shortcuts have gotten an 'ink' behind them and do not allow me to open

    Set of shortcuts have gotten an 'ink' behind them and do not allow me to open my desktop PC that I can do.

    Follow the steps from here: http://smallvoid.com/article/windows-icon-cache.html

  • Can I block my economy users in the cloud and only allow them to record locally or in our network?

    Can I block my economy users in the cloud and only allow them to record locally or in our network?   We are preparing to deploy Cloud applications to our users and would block them to save their files in the cloud and would like to save their work only on their own machines or one of our network of readers.   Is it possible to do this via the account install or admin?

    Hello

    Read the following article. It will be useful for you

    http://www.Adobe.com/content/dam/Adobe/en/DevNet/creativesuite/PDFs/ControllingSvcAccess.p df

  • How to reset my panels to monitor the way they were? I have them in every sense and it is frustrating, especially since I'm new to the premier pro and generally Adobe products...

    How to reset my panels to monitor the way they were? I have them in every sense and it is frustrating, especially since I'm new to the premier pro and generally Adobe products... I also work on a Mac.

    Hi Alexis,.

    Go to window > workspace > handed saved available.

    You will get the same options on a Mac.

    Thank you

    Regalo

  • My creative cloud crashed trying to update; There is no option to quit or even force them to leave; and try to reinstall or uninstall does not work as it considers its still running. Please advise?

    My creative cloud crashed trying to update; There is no option to quit or even force them to leave; and try to reinstall or uninstall does not work as it considers its still running. Please advise?

    Please see I get an error code 81 when I try to install creative cloud.  Help!

  • I bought the pdf export.  What I have to buy also change PDF to edit?  I assumed that I could modify also export.  I exported the file and now all the writing has shadows behind them.

    I bought the pdf export.  When I exported the file all words have shadows behind them.  Can I change or what I need to buy another subscription to change it now?

    Hi helpmeplease2030

    ExportPDF service lets you export PDF to other formats. You can convert a PDF to Word or any other format and can make changes in the Word Document.

    Now to convert it back to PDF, you need Adobe Acrobat or PDF Pack.

    If you just want to change the PDF file, you can use Adobe Acrobat XI. Download the trial and use it for free for 30 days.

    Please visit: http://www.adobe.com/products/acrobat/pdf-editor-pdf-files.html

  • Embedded YouTube videos work locally, but not after the FTP publishing. Works locally and on the web in all other browsers. Using FF 17.0.1 and Adobe Flash 11.5.502

    Found a Tube-video, which I embarked on one of the pages of my site. Using FF 17.0.1 and Adobe Flash 11.5.502, YouTube-videos work locally, but not after the FTP publishing.

    I work reasonable locally and on the web in all other browsers.

    Stupid FF?

    The HTML code is as follows:

    <table WIDTH="770" CELLPADDING="0" CELLSPACING="0">
      <tr VALIGN="TOP">
        <td VALIGN="top" ALIGN="left" width="463">
    <object WIDTH="340" HEIGHT="193">
          <param name="movie" value="http://www.youtube.com/v/N6GvuO_9tLY?fs=1?amp;hl=de_DE">
          <param name="allowFullScreen" value="true">
          <param name="allowscriptaccess" value="always"><embed SRC="http://www.youtube.com/v/N6GvuO_9tLY?fs=1?amp;hl=de_DE" TYPE="application/x-shockwave-flash" WIDTH="340" HEIGHT="193">
        </object>
    </td>
        <td VALIGN="top" ALIGN="left" width="403"></td>
        </tr>
    </table>

    I've experimented on the use of < iframe > instead of < object >. No change. Cache cleared on each attempt.

    Any thoughts?

    If it works in Firefox Safe mode and then disable all extensions (Tools > Modules > Extensions) and then try to find out who is causing by allowing an extension at a time until the problem reappears.

    Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

    Alternatively, you can try to disable hardware acceleration in Firefox.

  • My PC loses connection local and Internet after waking from sleep/hybernation.

    My PC loses connection local and Internet after wakes up from sleep/hybernation. The problem is solved by resetting the network card, but it is frustrating to have repeated resets every time the system in place to wake up. I am looking for a patch, I searched all the support sites and forums where there are similar problems that have been offered to different patches over time, but each of them has failed.

    Vista 64 SP2

    Hello

    Check the updated drivers for the NETWORK card and WiFi.

    Control Panel - network - write down of the brand and the model of the Wifi - double click top - tab of the driver - write
    version - click the driver update (cannot do something that MS is far behind the pilots of certification). Then
    Right click on the Wifi device and UNINSTALL - Reboot - it will refresh the driver stack.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    Download - SAVE - go where you put it - right click – RUN AS ADMIN.

    You can download several at once however restart after the installation of each of them.

    After watching the system manufacturer, you can check the manufacturer of the device an even newer version. (The
    manufacturer of system become your backup policies).

    Repeat above for network card (NIC) and is a good time to get the other updated drivers Vista
    love the updated drivers.

    I would also turn off auto update for the drivers. If the updates Windows suggests a just HIDE as they
    are almost always old, and you can search drivers manually as needed.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Also, check the power supply for the device management settings in device - double click Manager
    the device and the power management tab.

    ==============================================

    More if necessary:

    Check your settings (BIOS/CMOS) - usually F2 as you start - Wake on Lan, Wake on Modem and so on.

    Troubleshooting Windows Vista sleep and extended
    http://www.computerperformance.co.UK/Vista/vista_hibernate.htm

    How to troubleshoot performance problems with sleep, hibernation and resume in Windows Vista
    http://support.Microsoft.com/kb/950686

    May need to reset all to default power settings and then place back as you prefer.

    How to solve a problem of Mode for Vista and find a Solution
    http://www.Vistax64.com/tutorials/63567-power-options-sleep-mode-problems.html

    How to enable and disable Hibernation - you can try to disable and re-enable the it. http://www.Vistax64.com/tutorials/165508-hibernation-enable-disable.html

    How to restore the default power in Vista (and then go back and change as you wish)
    http://www.Vistax64.com/tutorials/198047-power-plan-restore-default-settings.html

    Panel configuration-Device Manager - look at the settings for the network card, WiFi, Modem power management.
    and other devices. (Double click on the device and the power management tab)

    May need to reset all to default power settings and then place back as you prefer.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for

  • Why have too many tabs suddenly removed?

    Firefox Add ons have worked very well.Following an accident, I am now informed that too many tabs 1.3.6 is not compatible with Firefox 3.6.18.I don't want to spend because, generally, many Add ons fail to work with the upgrades and upgrade tends to b

  • Not available in the circles of the night

    I upgraded my iPhone to iOS 9.3 6 today and then went looking for night shift.  And I went into the settings and sought a night, shift did not find.  I searched for the night and no results, either.  I found him then by going to settings, display and

  • Tecra M1: No BONES don't-> XP gone - PXE - E61: Media test failure

    Please can someone help me because I am at a total loss.I recently bought a second hand Tecra M1 and when I started for the first time, Xp did not start at all. This is what came on the screen: Seeking to establish the link...PXE - E61: Media test fa

  • How to mass convert down 2010 to 8.6 (issue not a request)

    I have nearly 700 screws and 75 CTL mixed between LV2010 8.6. Is there an easy way for me to mass to the low covert them to 8.6? I am owner LV 8.6 and LV2010. In 2010, I found a mass function compiles, but I can't choose which version to compile in.

  • WAG54G2 DNS settings

    Hi all I have a very weird. I have a WAG54G2 and I'm trying to update the DNS settings on the router. I put in the new details, they record without any problem. However when I disconnect/connect or reboot and check the status page they do not seem to