Which kind of cache group is suitable for the intensive insertion operation

Hi Chris,sorry for call you directly. Because you give me many good answers about my many newbile questions these days:)
You told me that the dynamic cache group is not suitable for the intensive insertion operation
because each INSERT to a child table has to perform an existence check against Oracle even if load the cache group into RAM manually(Please correct me if wrong).
Here I have many log tables that they only have a primary key and no foreign references and they are basically used to reflect changes from the related main tables.
Every insert/update/delete on the main table will insert a log record in the related logging table(No direct foreign references).
In order to cache these log tables, I have to create a independent cache group for each one, right?
I do not want load these logs data into RAM because my application do not use them or these logs will waste my RAM clearly.
so here comes my question.Which kind of cache group should I use to gain the best performance with no loading them into RAM?
As my understand,the dynamic cache group load data on demand while the regular cache group need load all the data into RAM firstly and it won't load data from oracle anymore?
Thanks in advance
SuoNayi

Let me be more specific. Consider this cache group:
CREATE DYNAMIC ASYNCHRONOUS WRITETHROUGH CACHE GROUP CG_SWT
FROM
TPARENT
PPK NUMBER(8,0) NOT NULL PRIMARY KEY,
PCOL1 VARCHAR2(100)
TCHILD
CPK NUMBER(6,0) NOT NULL PRIMARY KEY,
CFK NUMBER(8,0) NOT NULL,
CCOL1 VARCHAR2(20),
FOREIGN KEY ( CFK ) REFERENCES TPARENT ( PPK )
INSERTS into TPARENT will not do any existence check in Oracle. An INSERT INTO TCHILD has to verify that the corresponding parent row exists. If the parent row exists in TimesTen then no check is doen in Oracle. If the parent row does not exist in TimesTen then we have to check if it exists in Oracle and if it does we will load it into TimesTen from Oracle (along with any other child rows) before completing the INSERT in TimesTen. So in the case where the parent always exists already in TimesTen there is no overhead but on the other case there is a lot of overhead.
If your log table is truly not related to the main table (not in TT and not in Oracle either) then they should go into separate cache groups. If each insert into the log table has a unique key and there is no possibility of duplicates then you do not need to load anything into RAM. You can start with an empty table and just insert into it (since each insert is unique). Of course, if you just keep inserting you will eventually fuill up the memory in TimesTen. So, you need a mechanism to 'purge' no longer needed rows from TimesTen (they will still exist in Oracle of course). There are really two options; investigate TimesTen auotmatic aging (see documentation) - thsi may be adeuate of the insert rate is not too high - or implement a custom purge mechanism using UNLOAD CACHE GROUP (see documentation).
Chris

Similar Messages

  • Which type of V/A sensor suitable for the use of SCC -2345?

    Which type/brand of Voltage/current sensor suitable for the connection of SCC -2345?

    Hi TARC,
    There are a lot of options for measuring voltage or current in the National Instruments SCC series.  These are listed below, with the link to NI’s website where these modules can be found.
    SCC Analog Input Modules
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/10339
    2 Channel Voltage Input Module:
    ·         SCC-AI01, 2 Channel Isolated Analog Input (42V, 10 kHz)
    ·         SCC-AI02, 2 Channel Isolated Analog Input (20V, 10 kHz)
    ·         SCC-AI03, 2 Channel Isolated Analog Input (10V, 10 kHz)
    ·         SCC-AI04, 2-Channel Isolated Analog Input (5V, 10 kHz)
    ·         SCC-AI05, 2-Channel Isolated Analog Input (1V, 10 kHz)
    ·         SCC-AI06, 2 Channel Isolated Analog Input (100 mV, 10 kHz)
    ·         SCC-AI07, 2 Channel Isolated Analog Input (50 mV, 10 kHz)
    ·         SCC-AI13, 2 Channel Isolated Analog Input (10V, 4 Hz)
    ·         SCC-AI14, 2 Channel Isolated Analog Input (5V, 4 Hz)
    2 Channel Current Input Module
    ·         SCC-CI20 2-Channel Current Input Module, 0-20 mA
    2 Channel Voltage Attenuator Module
    ·         SCC-A10 2-Channel Attenuator Input Module, 10-to-1
    These modules will work with any standard transducer.
    Hope this helps!
    Ed Waxler | Applications Engineering |  National Instruments

  • Which Forecasting Model/ Forecasting Stratergy is suitable for Steel Plant

    Hello Friends,
    Could you pl suggest me Which Forecasting Model/ Forecasting Stratergy is suitable for Steel Plant.Any one having the steel plant experiance pl suggest me .
    Edited by: sivaram2411 on Jan 19, 2011 6:37 AM

    Hi Sivaram,
    I haven't worked in Steel but worked in Cement industry. Cement is another input to construction industry, just like steel. In India, both have seasonal demand. But I would give a generic suggestion here, though you can check with your network in other steel companies having similar product offering as yours, about the forecasting model they follow.
    Choice of forecasting model is not industry dependent. Because within the same industry, each player has a different product mix, different set of customers and in different geograhies. Forecasting model is selected based on the analysis of historical data. So you can take last 2 years available data to start with.
    Demand Planning provides the following statistical forecasting models: constant model, trend model, seasonal model, trend and seasonal model, Croston method with exponential smoothing, linear regression, and causal models with multiple linear regression (MLR).
    Time series models are the most commonly used forecasting methods.
    The flow chart is like this:
    Raw Data collection --> Data analysis --> Analyzed data --> Forecasting Model selection
    You can use plotting as a method of Data analysis,
    We need to find the best forecasting model, so that it gives us the most accurate demand. There is no systematic approach for the selection of a forecasting model and you need to find the best for you by trial and error.
    The following factors impact the model selection: (1) Forecast Horizon (2) Data Availability / Requirements (3) Pattern of Past Data (4) Level of Detail in the Forecast (5) Cost Factors (6) Accuracy and (7) Ease of Application.
    So use the historical data, analyse it, try using the available forecasting methods one by one to forecast for a period during which the actual data is already available with you and find the one which is best matching the actual figures. The model giving most accurate results, or the one with least forecast error, would be the one you are looking for.

  • Error MIGO AA629 Balance for transac type group 10 negative for the area 01

    Hi
    I have the following principal case in the PRD (version 60.0 ECC):
    Active 25000549 number was discharged from the transaction MIGO 18/12/2009 USD 19295.22 and began to depreciate on 01.01.2010.
    On 22.04.2010 the vendor issues a credit note USD 11626.96 therefore created the Purchase Order number 9900000903 and when it will account for the transaction MIGO get the error message AA629 ( Balance for transaction type group 10 negative for the are). In transaction MIGO are using the kind of movement 161.
    SAP looked in and found a related note the following: 497297, 541200, 547233 but they refer to version 4.7 and 4.6C and make no reference to version 6.0.
    The error detail is as follows:
    Balance for transaction type group 10 negative for the area 01
    Message no. AA629
    Asset affected: 000025000549-0000
    Diagnosis
    With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
    System Response
    The system rejects this posting.
    Procedure
    Check the transaction type, the amount and the fiscal year in your posting. If you want to post a credit memo to an acquisition from the previous year, then use a transaction type for a retirement. If necessary, you can change balance rules after talking with your SAP consultant.
    My questions are: someone has thought of something similar? how to solve? must implement the foregoing notes?
    Thank you very much for your kind help

    Hi,
    notes 20347 and .302756.                                      
    Try to change following customizing temporarily to 160:               
    IMG->FI-AA->Transactions->Determine default transaction types for            
         internal transactions->Acquisition from goods receipt                                                                               
    Another alternative could be to TEMPORARILY change the definition  of transaction type group 10 so that it allows negative values.                                                                               
    139899   AA629 when posting MR01/MRHR/MIRO invoice receipt                                                                               
    AA629 is raised when the transactions per transaction type group in one year are negative in balance and the definition of the  transaction type group only allows positive values  (that means TABWG-VZJSAL is '+'). This is the case for transaction           
    type group 10. After posting transaction I recommend to set transaction   group 10 back to its original definition.                                    
    Regards Bernhard

  • I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can

    I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can't  believe that the monthly CT tax is higher than the payment for the phone itself. Does this make sense. Last time I spoke with them on the phone it was for 1 1/4 hours for something simple. I don't want to call unless I need to. The salesman told me nothing about any of this. Thank you for any help you can offer.

    The bill from last month states:
    CT state sales tax**     $38.10
    ** In some states sales tax or surcharges are calculated on the full cost of the full retail price or VZW cost of the device you purchased and not on the discounted price you pay. The sales tax or surcharges charged on your device was based on $599.99 and appears on this first bill.
    The current bill says the same.
    Actually, now I'm realizing that last month's bill stated I was making the first payment toward the phone. Now this month also says it's the first payment toward the phone when it's really the second.

  • To make the User group Filed mandatory for the Tcode SU01

    Hi Gurus,
    I need to make the 'User Group' Filed mandatory for the Tcode  'SU01'.
    I know we can do it using Transaction variant.
    But i do not want to create a new custom Tcode (e.g ZSU01) for the same.
    I understand we have a User Exit  'SUSR0001' for the Tcode SU01.
    Can we use this to make the User Group field mandatory.
    Or is there is some alternative way to do this ?
    Please advice.
    Thanks in Advance.
    Regards,
    Anubhav Mishra

    Hi Anubhav Mishra,
    > I know we can do it using Transaction variant.
    > But i do not want to create a new custom Tcode (e.g ZSU01) for the same.
    You don't need to create a custom Tcode to assign a transaction variant, just declare it as being a "standard variant" (in the SHD0 transaction too), and you'll make it assigned automatically to SU01 when this last is started.
    BR
    Sandra

  • Which Master data Source (Attr) is available for the field VBUK-GBSTK

    Hi
    Which Master data Source (Attr) is available for the field VBUK-GBSTK (Document Status).
    Please help me.
    Thanks
    Mannev.

    Hi Mannev.
    I don't think that you will find GBSTK in any master data source. It is however available in 2LIS_11_VASTH.
    Hope it helps.
    BR
    Stefan

  • Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......

    Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......can anyone help, please?!

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • Is it possible to choose several folders for the Recognize text-operation in Adobe Acrobat X Pro?

    Is it possible to choose several folders for the Recognize text-operation in Adobe Acrobat X Pro?

    You can choose multiple files, or a single folder. If you choose a folder,
    though, all of the files in all of its sub-folders will be processed as
    well.

  • How to use the mirrored and log shipped secondary database for update or insert operations

    Hi,
    I am doing a DR Test where I need to test the mirrored and log shipped secondary database but without stopping the mirroring or log shipping procedures. Is there a way to get the data out of mirrored and log shipped database to another database for update
    or insert operations?
    Database snapshot can be used only for mirrored database but updates cannot be done. Also the secondary database of log shipping cannot used for database snapshot. Any ideas of how this can be implemented?
    Thanks,
    Preetha

    Hmm in this case I think you need Merge Replication otherwise it breaks down the purpose of DR...again in that case.. 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Has anyone created a NI-VXI driver for the Ardence RTX operating system?

    Has anyone created a NI-VXI driver for the Ardence RTX operating system?
    a VXI instrument through a PCI-VXI-8335 card (in the PC) talking to a PCI-VXI-8345 card (in the VXI chassis) via MXI-3, Has anyone created a PCI-VXI-8335 card  driver for the Ardence RTX operating system?

    Now  i want  develop driver on RTX,my hard platform is similiar(PCI8335+VXI8340+1418A),and after i read the PCI baseaddress,i find PCI8335 only has memory-map,so that means if i want to driver this board ,so i take following steps list below:
    1.use Rtmapmemory() to map the baseaddress to virtual address
    2.using memset() or memcpy() to driver the 1418A board
    is this right?
    if you can give me some hints,thanks 
    or you can contact me :[email protected] 

  • Which digital camera is suitable for the pci-1422

    when i purchase a digital cam for PCI-1422 , what should i focus on, for example: Resolution, interface, depth of color or etc??
    How to classify the a digital cam and how to identify which is suitable for PCI-1422??
    Does anybody have recommandation for me!!??
    thanx!!!

    There are a lot of digital cameras that work well with the PCI-1422.
    Selecting the proper camera depends more on your application than the PCI-1422. You need to look at resolution and frame rate, along with bit depth, color or B&W, etc.
    You will also need to select a lens that matches your application. You might just need a fixed focal length, or you might need a zoom, a telecentric lens, or other possibilities.
    I would recommend discussing your application with Robert Eastlund of Graftek Imaging (800) 441-2118. He will be able to help you select the proper camera and lens for your application.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Creation of logic group - any limitation for the Criteria Value Field?

    I am trying to create simple logic groups in FDM (version 11.1.1.3 and 11.1.2.1). However, an error message displayed in the information bar.
    Error: Error adding new record.
    Detail: Data access error.
    I clicked the "Add" button and created a logic group which contains *1,520* non-sequential source accounts in the Criteria Value Field (with In operator).
    I have separated these source accounts with a comma and no spaces in between them. (Note: Operator = x, Value/Exp = 1, Seq = 0) I updated the grid. Then, the error message was displayed and the logic group creation was failed.
    And then, I created a new logic group which contains only *100* non-sequential source accounts in the Criteria Value Field (with In operator).
    I also separated them with a comma, no spaces and same setting. I updated the grid. And the logic group was added successfully.
    Each source account contains 10 characters (alphabet and/or number).
    I want to ask:
    1. Is there any limitation in specifying source accounts (i.e.. no more than certain number of source accounts for each logic group) in the Criteria Value Field when creating simple logic group?
    2. I am adding these logic groups by clicking the "Add" button one by one, is there faster way to do it (i.e.. upload an excel or csv file or source accounts specified)?
    Thank you very much!

    Thank you Expert for your reply!
    I would like to ask about loading the Logic Accounts with the template.
    As instructed, I exported the excel out for the template format and updated the template with new Logic Accounts. Then, I imported the excel file in the "Import XLS" section under Tools. The excel file was uploaded successfully. (Note: I am using excel 2010 and saved it as .xls file)
    However, there is no changes in the Logic Accounts and seem no updates was made.
    I want to ask:
    1. Did I import the excel at the right location (i.e. "Import XLS" section under Tools)?
    2. Is there anything else I need to do after the file has been imported (i.e. delete the existing logic accounts or click another button(?) for this change) so the new list of logic accounts would become effective?
    I would like to use excel to maintain my list of logic accounts for better control in the future.
    Thanks in advance!

  • Which hard-drive modules should I load for the mkinitcpio.conf file?

    Hey all, I've always been confused by all the weird module names in the image files, anyway, here goes, since I have a laptop, I won't be upgrading my harddrive to a new interface. but.. that's not the problem, the problem is I don't know which modules I need to load for my hard-drive, here are some outputs from lspci, hdparm etc. Any help is appreciated!
    lspci
    00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller (prog-if 8a [Master SecP PriP])
    Subsystem: Hewlett-Packard Company Unknown device 30ae
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
    I/O ports at 01f0 [size=8]
    I/O ports at 03f4 [size=1]
    I/O ports at 0170 [size=8]
    I/O ports at 0374 [size=1]
    I/O ports at 8410 [size=16]
    Capabilities: <access denied>
    hdparm
    [bolu@presario ~]$ sudo hdparm -I /dev/sda
    /dev/sda:
    ATA device, with non-removable media
    Model Number: ST980829A
    Serial Number: 5PK1LAHQ
    Firmware Revision: 3.05
    Standards:
    Used: ATA/ATAPI-6 T13 1410D revision 2
    Supported: 6 5 4
    Configuration:
    Logical max current
    cylinders 16383 16383
    heads 16 16
    sectors/track 63 63
    CHS current addressable sectors: 16514064
    LBA user addressable sectors: 156301488
    device size with M = 1024*1024: 76319 MBytes
    device size with M = 1000*1000: 80026 MBytes (80 GB)
    Capabilities:
    LBA, IORDY(can be disabled)
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16 Current = 16
    Advanced power management level: unknown setting (0x8080)
    Recommended acoustic management value: 254, current value: 0
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
    Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
    Cycle time: no flow control=240ns IORDY flow control=120ns
    Commands/features:
    Enabled Supported:
    * SMART feature set
    Security Mode feature set
    * Power Management feature set
    * Write cache
    * Look-ahead
    * WRITE_BUFFER command
    * READ_BUFFER command
    * DOWNLOAD_MICROCODE
    * Advanced Power Management feature set
    * Device Configuration Overlay feature set
    * Mandatory FLUSH_CACHE
    * SMART error logging
    * SMART self-test
    * IDLE_IMMEDIATE with UNLOAD
    * SMART Command Transport (SCT) feature set
    Security:
    Master password revision code = 65534
    supported
    not enabled
    not locked
    frozen
    not expired: security count
    not supported: enhanced erase
    HW reset results:
    CBLID- above Vih
    Device num = 0 determined by CSEL
    Checksum: correct

    Do you have any problem with your current mkinitcpio setup, or why do you ask this?
    If it works with the defaults, it's probably a good idea not to mess with it.
    Okay, that's that and now for the adventerous part...
    Here's a minimal setup that works for me:
    MODULES="pata_hpt37x sd_mod jfs"
    HOOKS="base udev"
    You'd probably need to use pata_atiixp instead of pata_hpt37y, and whatever filesystem you use for / instead of jfs. In case you use encryption, lvm etc., take care to include the necessary hooks.

  • Cache and Load Balancing for the Oracle APEX Listener

    Hi,
    I intend to use only HTTP access.
    My database is Oracle 11gR2, SE, 32 bit.
    How to implement a Cache and Load Balancing with the Oracle APEX Listener?
    Is it possible to do with the the standalone running APEX Listener?
    Thanks by advance for any tips/documentation/references.
    Kind Regards.

    Error. To be closed.

Maybe you are looking for

  • Is there any way  to create table  of more than 30 char length name

    hi all, Please tell me is there any way to create table of more than 30 char length name in oracle 10g Regards

  • Is there a way to pay for the CC subscription by purchase order?

    I work for the NHS and I can only see the option for card as a payment option. Is there a way we can arrange to invoice and raise a purchase order?

  • Rapid Mart for SAP - Sales / List of source tables

    Hi, a customer would like to have a list of the source tables that are read by the Rapid Mart for SAP - sales (SA). Has anybody such a list. I can only find information about the target tables. Regards,     Martin

  • Using bc4j with applets

    Hi, I was wondering if you have any tips on using bc4j in applets. The 2 biggest problems I'm having is the jar size of the applet after all libs are included (4MB+) and the fact that I can't use XDK, JNDI, BC4J and some other libs from applets unles

  • Transfer Script

    I am trying to restrict access to a course page by password protecting it. I have went into the edit course page and added in custom permission added download to USHistory@urn:mace:..... Ok now i tried to go into the transfer script and add the follo