effectiveness of the sql data warehouse and star/snowflake schema

Hello

We use 11.2.0.3 and need to improve the performance of queries for reports.  schema of data warehouse star/snowflake

In addition to indexing, partitioning with star_transformation enabled etc I'm condisriing impact of the following on the performance of the queries.

makes central (more than 1 billion lines) is associated with a client of dimesnion (a few hundred thousand lines) which in turn joined with the latest version of the dimesnion (includes approximately 30 000 lines).

The table with a few hundred thousand lines (client dimesnion) alwsys must be questioned as stored data against the version of the customer at the time-, we wonder just latest_customer what users want to see

the most recent version of the attributes of customer to stop data being fragemented through several lines in the report.

If consideration would be more efficient to create a dimension that is equivalent to the customer but also stores the most recent version of the client attributes on the line-this means customer dimensuion many more columns but queries could would avoid additional research of this array of rank k 30.

Thoughts are - it would be a material advantage?

At the monent users request latest_customer to say would get all customers belonging to a certain multiple string.

If change as above, then they would be interviewing the customer with a few hundred thousand lines dimension.

Thoughts?

Thank you

Because a lot depends on the model of data access and data dissemination, we cannot really much more than only sb.  However, keep in mind Oracle accesses data by blocks (copies blocks and sometimes several blocks), in order to become more broad lines could have a paradoxical effect of not getting enough blocks in memory until you need it.

It can help to visualize how data should be obtained (google something like visual sql and Karen Morton or Jonathan Lewis), as well as see the estimate and rowcounts actual imagined different plans.

Tags: Database

Similar Questions

  • The number of heartbeat for the host data warehouses is 0, which is less than required: 2

    Hello

    I have trouble creating my DRS cluster + storage of DRS, I have 3 hosts esxi 5.1 for the task

    First, I created the cluster, no problem with that, so the DRS storage was created and now I can see in the Summary tab

    "The number of heartbeat for the host data warehouses is 0, which is less than required: 2".

    I search the Web and there are similar problems when people has only a single data store (the one that came with ESXi) and need to add another but in my case... vcenter detects any...

    In the views of storage I see the store of data (VMFS) but for some strange reason the cluster not

    In order to achieve data warehouses minimum (2) can I create an NFS and map it in THE 3 esxi hosts? Vcenter which consider a play config?

    Thank you

    You probably only have local data warehouses, which are not that HA would require for this feature (pulsations datastore) to work properly.

    You will need either 2 iSCSI, FC 2 or 2 NFS volumes... Or a combination of the any of them, for this feature to work. If you don't want to use this feature, you can also turn it off:

    http://www.yellow-bricks.com/2012/04/05/the-number-of-vSphere-HA-heartbeat-datastores-for-this-host-is-1-which-is-less-than-required-2/

  • How to export pictures / albums of iPhotos to external disk and keep the time/date/year and location information changed?

    How to export pictures / albums of iPhotos to external disk and keep the time/date/year and location information changed?

    Menu, file == > export - check boxes to include metadata and location- export to iPhoto

    LN

  • I follow from the same date over and over again. And it updates successfully whenever I sign in my computer.

    I follow from the same date over and over again.  And it updates successfully whenever I sign in my computer.   Or I can click on windows update and update the same thing again.  Some miuutes or a fews seconds it will say I need to update my computer again.  I updated the same 25 times.  How can I stop this.

    Hello

    I suggest you follow the steps in the link below and check if it helps:

    http://support.Microsoft.com/kb/910339

    It will be useful.

  • PowerCLI script for DatastoreCluster, data warehouses and the size info, DataCenter, Clusters

    Hello - I am looking to remove the DatastoreClusters and then list data warehouses as well with their size (total size, used space, free space, put in service, uncommitted space) and the total number of virtual machines on this data store. I would also like to understand what data center and they are on clusters. Is this possible? I might want to limit what is displayed in data warehouses that are 13 percent of free space or less.

    Thank you

    LORRI

    Of course, try this way

    Get-Datastore.

    Select @{N = 'Center'; E={$_. Datacenter.Name}},

    @{N = "DSC"; E = {Get-DatastoreCluster - Datastore $_______ |} {{Select - ExpandProperty name}}.

    Name,CapacityGB,@{N='FreespaceGB'; E = {[math]: tour ($_.)} (FreespaceGB, 2)}},

    @{N = "ProvisionedSpaceGB"; E = {}

    [math]: Round (($_.)) ExtensionData.Summary.Capacity - $_. Extensiondata.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)}}.

    @{N = "UnCommittedGB"; E = {[math]: tour ($_.)} ExtensionData.Summary.Uncommitted/1GB,2)}}.

    @{N = "VM"; E={$_. ExtensionData.VM.Count}} |

    Export Csv report.csv - NoTypeInformation - UseCulture

  • The list of virtual machines, data warehouses and the folder name by cluster


    Hello!!  I hope someone can help me with a PowerCLI script that can pull the info from the object into a file, txt or csv.  In order to get our environment cleaned before our next year Dr. with MRS, I want a list showing each VM and the data store (s) in that it is the name of the folder in the virtual computers view and models.  We keep our VMs organized by creating folder names that correspond to the application running on the virtual machine.  I mention a SRM than last year because our protected groups matched groups of our table of 3PAR Rcopy.  However, we have added over 200 new virtual machines from this era and the members of my team essentially placed these new virtual machines on the first available data store that had enough free space.  Unfortunately, we are not using storage profiles... it's scheduled for next year.

    Information extracted would look like the following:

    ServerName Datastore folder name

    Server1 LUN0 ActiveDirectory

    Server2 LUN0 ActiveDirectory

    Serveur3 LUN1 ActiveDirectory

    Server4 LUN3 Argo

    Server5 LUN7 Argo

    LUN6 Lockbox Server6

    LUN5 Lockbox Server7

    Serveur8 LUN9 Citrix

    etc...

    Any help with the extraction of this info from vCenter would be greatly appreciated.

    Thank you

    Charles

    You can redirect the results to a CSV file, for example

    Get-VM |Select Name,@{N="Datastore";E={[string]::Join(',',(Get-Datastore -Id $_.DatastoreIdList | Select -ExpandProperty Name))}},@{N="Folder";E={$_.Folder.Name}} |Export-Csv C:\report.csv -NoTypeInformation -UseCulture
    
  • I have a virtual machine that is resident on two data warehouses, and I need to move

    Okay, I'm trying to reconfigure the storage on a cluster of ESXi to software development, and I fell on a virtual machine that is resident on two data warehouses.  Somehow, the user has configured this thing to have most of the VM files on the data store 5 while all the vmdk but the residence on the data store 1 boot drive.  He probably did it because of the size of the old warehouses of data and the many VMs older than his colleagues left sitting.  Well, now I just reconfigure data warehouses so that there is more usable space, but I can't move this machine a virtual so that I can reconfigure the rest of storage.  (For reference, the old warehouses of data have been implemented in 4 sets of three disks in RAID 3 and a set of four disks in RAID 3 with two drives hot spare.)  For the record: not my idea.  I am reconfiguring them now to be a set of 15 drives in RAID 6, divided into two LUNS on both controllers, with a hot spare.)

    Well, now I need to figure out how to get this VM is spent at one of new data stores.  The data migration store feature does not work.  Any recommendations?

    Hi Dangingerich,

    You can move the VMDK individually with the advanced functionality of storage vMotion allows you to ask the data disk on your new storage space and then have the OS disk track.

    YouTube Video - https://www.youtube.com/watch?v=uhdmdcMmvas

    Screenshots

    When you svMotioning click on the Advanced button

    Here you can select the individual VMDK and move.

    All content comes from the video by Paul Braren, I annotated only his work.

    Have fun

    @iiToby

  • SNMP, generic SQL data loader, and built-in Port adapters

    Anyone have any success with using the SNMP (default MIB) and/or adapters third generic data SQL Loader?

    I'm under vCenter operations v5.7 VAPP and test the custom UI. I have installed the SNMP card, but when adding my own MIB they do not appear in the drop-down list when you try to add a new resource. I followed the docs to update the card with your own MIB files and everything is a - ok until I actually try to add a resource.

    I saw this KB:

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 2034241

    But I loadded a few different mibs, poking around them in a mib browser, and each of them meet the requirements of that article.

    Regarding the SQL adapter. I add my instance of the adapter and the credentials and it tests fine, but when you add the resource to the environment overview screen, the 'Resource Type' dropdown is empty/non-editable. When I click ok, it of course gives me an error:

    The field 'type of Resrouce' is a required field. Please enter a value.

    Anyone who cross?

    Finally, there is documentation for the built-in Port Adapter? There is a very small excerpt in the card Guide:

    Reads a text that you set to determine the hosts and ports to monitor.

    But... where did you put this text?

    Two problems solved.

    First of all, the SNMP MIB has not picked up due to permissions on the file that I was transferred to the analytical VM. Duh. Evolution of the property of admin: admin corrects this problem. VMWare has taken this error.

    Also found a solution to the question SQL by clicking... the random button it appears that does not refresh the kind of resources until you run an auto-discovery. After crossing the Autodiscover queries, the drop-down list the type of resource is now available from the manual discovery. However, to make changes to the query/discovery files requires another automatic discovery for the changes to be picked up.

  • Can't see the iSCSI data warehouses after reboot

    I have 2 ESX 3.5.0 u3 hosts running on Dell PowerEdge 2950 servers and connect to a Dell PowerVault MD3000i. Recently, I upgraded the MD3000i gen.2 firmware, and after the upgrade, one of the MD3000i controllers began to experience extremely slow (3-4 MB/s) write to its LUNS assigned speed. Dell support reviewed my setup and said I have a configuration problem - all 4 of the MD3000i ports are on the same subnet, while according to them, they should be divided into two subnets. I have interruption scheduled for this Saturday, close all virtual machines, added an additional VMkernel port and a service console for the new subnet on each host, removed addresses for two of the ports of discovery dynamic and restarted the two hosts. When they restarted, I changed the IP address on a single port on each controller. The servers came, restored 4-port iSCSI sessions and can see two LUNS defined on the MD3000i, but cannot see data warehouses - it's like they went, and LUN are naked. Creating new data warehouse will wipe away their own, and while I have current backups, I would rather jump restore all this from scratch. Is there anything that can be done here?

    -Very well, could be a problem of will:

    http://KB.VMware.com/selfservice/viewContent.do?externalId=9453805&sliceId=1

    André

    * If you found this device or any other answer useful please consider awarding points for correct or helpful answers

  • Between the SQL Dates

    Hello

    Can someone help, I need to generate a pivot table to aid between two dates and a Department. I am trying to achieve the following output:

    JAN-04 Feb-05 MAR-04 Apr-04 MAY-04 June-04 Jul-04 August-04 SEVEN-04 OCT - 04 etc.
    1 1 1 1 1 DEPT
    FC
    1 1 1 1 1 IF


    The SQL code is displayed as below:

    "PERSON_ID" "EFFECTIVE_START_DATE" "EFFECTIVE_END_DATE" "DEPT".
    1182 12 JANUARY 04 CF 7 MAY 04
    1182 17 JUNE 04 31 DECEMBER 12 IF

    Can someone help with the realization above PivotTable based on SQL results above

    Thank you
  • Problem renaming of data warehouses and networks

    I have recently upgraded a number of servers to ESX 4.1 to 5 ESXi and vCenter vCenter 4 5 and have noticed a problem. Whenever I have rename a data store or a network, the new name is added to the list of network or data store, but the old name is too present. In the past, if I had a data store and renamed her, I'd still only 1 ad for the renamed data store. With ESXi 5, I have two - the former name and the new name. It goes the same for networks. And they always appear in vCenter as being attached to the host. I tried to disconnect/reconnect vcenter, removing the host and add it again, restart the ESX host and always the old names appear.  If I look at the host through vShpere, everything seems OK with the renowned name 1.  But vCenter can't seem to let go of the old data store names and network.  Any ideas?

    I can't tell you for sure. This has to do with the return to a snapshot of the IMO. If you have a single host and back to a snapshot you will be logged out anyway (if the Group of ports of origin no longer exists). In a cluster, you will have the opportunity of the first migration/vMotion virtual computer to another host that maintains such a group of port before returning to a snapshot. As I said, just a thought.

    André

  • Storage vMotion expired, now VM is on 2 data warehouses and an orphan VM

    I was trying last night to storage vmotion, my Exchange 2007 to a new data store on a different San, and it exceeded 6% of the way.  Now it's show as being on two data stores.  There is also a virtual machine with the same name appearing as "orphans".  I looked around, but saw no conclusive answers.  On the new network SAN is a .vmx file and .vswp and some newspapers and other things. On the SAN original is also the .vmx file, of the regular vmdk, newspapers and 3 hard is named dmotion - scsi0:00, dmotion - Scsi0:01 and DmotionScsi0:02.

    I'm afraid that my exchange server is now in limbo.  No idea what I need to do?

    Thank you

    When I got SVMotion failures in the past, I had to power off of the prompt and choose full Migration from the menu of the virtual machine.

    It was the same for plug-in and RCLI-based failures.

    Jase McCarty

    http://www.jasemccarty.com

    Co-author of VMware ESX Essentials in the virtual data center

    (ISBN:1420070274) Auerbach

    Please consider awarding points if this post was helpful or appropriate

  • SCIPT to list of clustered data warehouses and all the associated vm.

    I need to write a scipt to list all datatores in a cluster specified and all associted their staing If vm turned on or turned off

    See #.

    The solution for the #2 bug was apparently not covering all possibilities.

    Then, try.

  • Generate the Sql Data model ER diagram

    Hello

    I want to use the Oracle Sql Developer Data Modeler to generate ER diagram for my schema. There are a lot of tables in this schema, so I would like to exclusively identify the tables that should be selected to generate my ER diagram.

    Basically, I want these table that are related to other tables here. The reason being, if I select all the tables in the schema, and then I went to these tables in the ER diagram which have nothing to do with other tables.

    Please can anyone suggest write queries that produce this data dictionary?

    Thank you.

    select uc1.constraint_name,
           uc1.table_name,
           uc1.constraint_type,
           uc2.constraint_name,
           uc2.table_name,
           uc2.constraint_type
    from   user_constraints uc1,
           user_constraints uc2
    where  uc1.constraint_type='R'
           and uc1.r_constraint_name=uc2.constraint_name
    

    This gives you the relationship between the primary and foreign key

  • Can't separate the pix date during and after import?

    I recently switched to Photos v. 1.3 from iPhoto, running an iMac with OS X 10.11.3. When you import photos from a memory card into iPhoto, I was able to separate the photos by date, as I found myself with, say, 10 different sets of pictures, one for each day, from a memory card which covered ten days in total. I don't seem to have the same functionality in Photos - I checked the online help for the Photos and can't find any mention of it. I'll appreciate any helpful comments!

    Look in moments - they are automatically put in order by date and place - Moments are the new events and totally based on information from photos - no relationship to import date - all the Photos is sorted by date added to the library (the date of importation)

    LN

Maybe you are looking for

  • What is the largest size SSHD I can put in my Macbook Pro 2015?

    I have a model early 2015 MacBook Pro 13 w/retina with 8 GB of RAM with a 128 SSHD.  I want to upgrade the SSHD and I have a few questions: 1. What is the largest size that I can install it? 2. how to re-install the operating system? Thanks in advanc

  • Satellite L40 - 139 with the combination FN + volume problem

    Helloat first, I want to say sorry for may English. It's so good, but I'll try to explain my probblem.Yesterday I installed the XP system and everything works fine. After installation I can't press FN with the volume I want to say, some with works of

  • Adaptation on a very slow USB

    I use Vista Ultimate and backup my C of a terebyte USB 2 Seagate disk drive. It takes four hours to copy 13 GB of data on the Seagate. Is this normal?

  • How to open a .bin file?

    File Association problem File type: binary data file File extension: file .bin for sync This is a video training DVD: 'learn Quickbooks Pro 2011.

  • Windows 7 update crashed my computer

    This is my work computer and I turn it off last night. I came this morning and he began to start and complete updates. After completing the updates he went to display just before the opening of session and the screen just sits there and flickers. I c