Large editable tables
I have a datatable with input fields assigned to each column. The user can edit values freely and then submit the changes for update. Because of the size of the list it appears that a huge amount of processing is required even though only a couple of rows are actually modified by the user.
Is there a "best practices" for handling large editable tables that anyone is aware of?
Thanks
Presuming Oracle backend database.....(you didnt say)
Partitioning would seem a quick (and expensive $$$$) win, if you partition on date, be sure to use the same date key to perform 'partition pruning' , which is to say give the optimizer a chance to throw away all unrequired partitions before it starts going to disk. When you say 'didnt improve performance much' you need to give a partition wise join for the partitioning to become effective at query time - did you do this ? for example a dashboard prompt with a filter on week / month would help (assuming your week / month time dim column is joined on partition key)
Is your data model a star schema ? Do you have dimension metadata in your database ? I'd be looking at Materialized views and looking for some sort of aggregate rollup query re-write whereby you queries are re-written at run time to the Mview and does not hit your fact table.
As for caching, OBIEE caching is the last resort after you exhaust every other alternative, its not there to speed up queries and you would be hiding the problem, what when a user drills down or needs to run an ad-hoc report that is not cached ?
I would start with understanding Oracle execution plans, review your data model (with the view on speedy data extraction) and look at what Oracle DB gives for data warehousing appliances :
parallelism is your friend!
star transformation,
Mviews (table or Cube based)
OLAP
Similar Messages
-
How to make editable Table in LabVIEW
Hi,
Could you please let me know how can I make an editable table. I read all the contents of the table from a spreadsheet file but I would like when I click on any of the entries in the first column I get checkboxs for all the entries in that row and after updating them the table should also automatically be updated with new values
For example
Let's say this is my table
Device Name Bit 0 Bit 1 Bit 2 Bit 3 Value in binary
1 1.bit0 1.bit1 1.bit2 1.bit3 0000
2 2.bit0 2.bit1 2.bit2 2.bit3 0000
3 3.bit0 3.bit1 3.bit2 3.bit3 0000
4 4.bit0 4.bit1 4.bit2 4.bit3 0000
Now if the user click on 1, I should see 4 check boxes for 1bit0 1.bit1 1.bit2 1.bit3 and as soon as the user update any of them the binary value should be updates . For example if the user enable 1.bit1 and 1.bit 3 then the binary value should become 0101
Could you please let me know if I can I use Table control to do this and how can I do it in LabVIEW
Thanksaltenbach wrote:
Why does the user even need to select a row first? Wouldnt it be sufficient to have an array of clusters, where each cluster contains a devicename string, four enums with 0,1, and a string for the value (or binary formatted numeric). Elements that don't accept inputs should be disabled, but not greyed and can be recalculated whenever needed.
The main problem is the cosmetic fact that this will no longer resemble a table because of all the extra borders...
... That's why we have this idea! Go vote for it!! Thanks!
Here's what I had in mind (LabVIEW 8.2). All you need to add is parsing your input file into the cluster structure. If the number of clusters is large, show the vertical scrollbar of the array.
(...note that it would look much better with my above mentioned idea implemeneted! )
LabVIEW Champion . Do more with less code and in less time .
Attachments:
updateBits.png 24 KB
UpdateBits.vi 16 KB -
Comment définir la taille des colonnes d'un contrôle edit table ?
Bonjour
J'utilise un controle Edit table pour visualiser des données
mais la taille des colonnes par défaut n'est pas assez large.
Pour les valeurs 13254 et 13125 on voit 3254 et 3125.
Comment définir la largeur des colonne ?
J'ai une version CVI 9.0.1
GenevièveBonjour,
Pour augmenter la largeur des cellules adapté à la longueur du champs des tables, il existe en effet une instruction qui est la suivante : SetColumnWidthToWidestCellContents (panelHandle, PANEL_TABLE, 1);
Je vous renvoie à une page descriptive : ici
Bonne journée
Romain P.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense -
30EA3 - Edit Table/Create Table(Advanced) - Table Name, Text Box Size
I am not sure if its the same on non-Linux versions, but in the edit table dialog, the table name text box size is tiny. Its only wide enough that you can see approx 7 chars.
Is it possible to increase this? The size of the text box in the simple create table dialog seems like a good size. As far as I can tell, it is not tiny to conserve space for other items.
Anyway, it's just a minor issue that wont prevent me from doing work - just think it'd be better a bit bigger. I am sure it didn't used to be this small.
Ta,
Trentoh interesting.
are you using openJDK?
$ /usr/lib/jvm/java-6-sun-1.6.0.22/bin/java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Ta,
Trent -
Not able to figure out the table index for Edit table User Properties Dialo
Studio Edition Version 11.1.1.0.0
Build JDEVADF_MAIN.D5PRIME_GENERIC_080403.0915.4920
I'm trying to automate the various features in Jdeveloper dialogs. At one point I got struck with table in Edit Table Dialog.
Right Click on New -> Database Tier-> Select APPS: Import to offline database Objects. Step 1- Step5 dialogs comes up. Click on Next till finish button comes up. After that one table along with xdf file will be shown in the Jdeveloper Tree Menu. Right click on Table, Go to Properties. Then Select User Properties in the Left Pane. On Right Side table will be shown. I want to know what is the index for this table and also I need to input certain text and select some drop downs from this table.
Automation Tool: JFCUnit
Could you please tell how can I put values in some of the fields and select the values from the drop downs.
Kindly let me know if you need any more Information for the same.Hi,
if you are from Oracle, please use an internal forum. If not, the JDeveloper 11 forum is at: JDeveloper and OC4J 11g Technology Preview
Frank -
Creating index on large partitioned table
Is anyone aware of a method for telling how far along is the creation of an index on a large partitioned table? The statement I am executing is like this:
CREATE INDEX "owner"."new_index"
ON "owner"."mytable"(col_1, col_2, col_3, col_4)
PARALLEL 8 NOLOGGING ONLINE LOCAL;
This is a two-node RAC system on Windows 2003 x64, using ASM. There are more than 500,000,000 rows in the table, and I'd estimate that each row is about 600-1000 bytes in size.
Thank you.you can know the progress from v$session_longops.
select
substr(SID ||','||SERIAL# ,1,8) "sid,srl#",
substr(OPNAME ||'>'||TARGET,1,50) op_target,
substr(trunc(SOFAR/TOTALWORK*100)||'%',1,5) progress,
TIME_REMAINING rem,
ELAPSED_SECONDS elapsed
from v$session_longops
where SOFAR!=TOTALWORK
order by sid;
hth -
Select count from large fact tables with bitmap indexes on them
Hi..
I have several large fact tables with bitmap indexes on them, and when I do a select count from these tables, I get a different result than when I do a select count, column one from the table, group by column one. I don't have any null values in these columns. Is there a patch or a one-off that can rectify this.
ThxYou may have corruption in the index if the queries ...
Select /*+ full(t) */ count(*) from my_table t
... and ...
Select /*+ index_combine(t my_index) */ count(*) from my_table t;
... give different results.
Look at metalink for patches, and in the meantime drop-and-recreate the indexes or make them unusable then rebuild them. -
Inserting Rows in an Editable Table
Application Focus: JSF with ADF/BC.
watching Steve Muench´s Screencast on "Creating an Editable Table with a Dropdown List in Each Row" i was inspired to add a functionality to add rows.
Lets say i have an Employee and Departments table. If i want to add three new employees in the employee editable table - that wont work - it seems that adding rows aint that simple, cause it seems not possible to commit more than one row at a time
what i did according to forum posts and how-to´s:
1. dropped "insert" from data control palette
2. altered binding to from create to "CreateInsert"
works ok, but if i press the button twice (3x, 4x) the new rows are shown, but if i commit them, only one is in the database?
Any tips on that would be appreciated.I'm trying to a similar thing, create an input screen that allows you to add muliple rows at the same time some rows having a drop down list. I've read the following How to which lets me edit multiple rows but if I add a create button or a CreateInsert button it doesnt seem to give me rows to create.
How To Create Multi Row Edit Forms in a JSP Page with Oracle JDeveloper 10g
http://www.oracle.com/technology/products/jdev/tips/mills/JSP_Multi_Row_Edits.html -
Using the enter key on an editable table
Hi,
I'm using 11g adf and I can't figure out how to get past this:
When going through an editable table (with editingMode="editAll") using the enter key, it will stop after a certain number of rows, equal to the value of fetchSize. If I want to go down further, I have to scroll down another way to make it fetch the next set of rows, it won't go to the next row with the enter key. It simply won't execute the query to fetch the next rows.
Increasing the fetchSize will just delay the problem to a row further down (and decrease the performance since the fetch operation can take quite a bit longer).
I've tried to put a clientListener on both the table or the inputText fields to intercept the enter key, but that won't work when the table is in editable mode.
Is there any way to fix this problem?Hi,
I've tried to put a clientListener on both the table or the inputText fields to intercept the enter key, but that won't work when the table is in editable mode.
The clientListener needs to be on the inputText fields. Then in JS you need to call a server listener which will check if the current row is already at the range end and if calls NextSet (you can provide this as a method binding). Unfortunately after this you will need to PPR the table to show the new rows. This is how I would try it.
Frank -
When you try to delete a row in an editable table using the built-in functions, it no longer works. We use this function regularly and just noticed this problem today. The "create row above" and "create row below" functions work, just not the delete. The delete column button does work however, so it's a bit baffling why this one function does not work. (The pages are located on our internal server so are not publicly accessible but the functionality is built into firefox.)
Same problem here. I found out that when you have a table with only 1 row, it works fine, but when you have multiple rows, it doesn't work on any row.
Micmark, do you have that too?
P.S. I also tried this outside our CMS, by using Firebug to add a contenteditable="true" on a DIV in a normal font-end template, and that has the same problem. -
How to create an editable table in ADF 10g??
Hi,
I want to create a editable table using the Jdev 10g.. so that i can do read and write on the table. Can anyone tell me how i can create it...
thanks in advanceHi,
using ADF BC and ADF, one of the options when dragging a ViewObject from the data control palette is ADF Table. This creates an updateable table
Frank -
ADF Faces Dependent list boxes in an editable table
Hi,
I'm working with JDeveloper 10.1.3.1.0.
I saw the topic "How to build dependent list boxes with ADF II" on F. Nimphius' Blogbuster.
There it is shown how to handle dependent list boxes in an ADF Faces form. I tried this for an editable table but it doesn't work correctly: If there is more than one row in the resultset of the table, both dependent list boxes have the same content in all the rows though the content in the database is different.
Can anyone help me?
Thanks.Ok - I will try.
I built the listboxes like it is described in "ADF Faces: How to built dependent lists boxes with ADF and ADF Faces Part II", Frank Nimphius' Blogbuster July, 2006.
This is the full code of my ManagedBean:
package asdb.view.backing;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.SelectItem;
import oracle.adf.model.OperationBinding;
import oracle.adf.model.binding.DCIteratorBinding;
import oracle.adf.view.faces.component.core.input.CoreInputText;
import oracle.binding.BindingContainer;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
import oracle.jbo.client.Configuration;
import oracle.jbo.uicli.binding.JUCtrlValueBindingRef;
public class AktMitFktEdit {
private BindingContainer bindings;
public AktMitFktEdit() {
public void kategorieWechsel(ValueChangeEvent valueChangeEvent) {
// Add event code here...
BindingContainer bc = this.getBindings();
DCIteratorBinding kategorienIter = (DCIteratorBinding)
bc.get("OrganKategIterator1");
Row rw =
kategorienIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
String kategorie = (String)rw.getAttribute("Kategorie");
OperationBinding opBindingOrganeLovIter = (OperationBinding)bc.get("ExecuteWithParams");
opBindingOrganeLovIter.getParamsMap().put("kategorieParam",kategorie);
opBindingOrganeLovIter.execute();
public void setBindings(BindingContainer bindings)
this.bindings = bindings;
public BindingContainer getBindings() {
return bindings;
It works fine, when the user only want to update existing rows. But if he had inserted a new row and afterwards want to update existing rows, the listboxes don't show the correct contents. No error messages are displayed. -
Hi, I drag and drop an expert mode updatable VO to create an ADF editable table with inputText components associated with the table columns. This table is also binded to a CoreTable object inside the backing bean of the page. I also have a "Save" button which has actionLister binded to the backing bean to handle the saving for user's input data.
Basically, I have 2 rows and 2 columns for the editable table. I entered "ABC" for the first row and first column and entered "DEF" for the second row and first column like the following:
| Column 1 | Column 2 |
| ABC | |
| DEF | |
In the backing bean's saveChanges method, I do:
public void saveChanges(ActionEvent actionEvent) {
int rowCount = this.testCaseTable.getRowCount();
for (int i=0; i<rowCount; i++) {
JUCtrlValueBindingRef rowDef = (JUCtrlValueBindingRef)this.testCaseTable.getRowData(i);
TestCaseRowImpl row = (TestCaseRowImpl )rowDef.getRow();
System.out.println("Column1 Data: "+row.getColumn1());
System.out.println("Column2 Data: "+row.getColumn2());
I am expecting to get "ABC" for the first row column1 data and "DEF" for the second row column1 data. However, the actual result is both "DEF" (the last entered value) for both the first and second row column1 data.
What can be the potential issues of my codes? How can I get the correct user input data?
Thanks.Hi
You can obtain this data from iterator:
DCBindingContainer bc = getBindings()
DCIteratorBinding iter = bc.get("YourIteratorNameIterator");
while(iter.hasNext()){
Row row = iter.next()
System.out.println("Column1 Data: "+row.getAttribute("Column1"));
System.out.println("Column2 Data: "+row.getColumn2("Column2"));
Kuba -
3.0.02 EA1 - Edit table data in a grid
Editing table data in a grid is broken in 3.0.02 EA1 under Windows XP Pro SP3
Bug #1: When not in editing mode the cursor keys must move the focus from a cell to cell. Instead an edit mode is activated
Bug #2: There is no way to leave cell edit mode using keyboard. Esc must cancel the edit, Return-key must confirm at switch to the next cell. Have to use mouse...I just tried on my VM and i don't see this behaviour on 3.0.
What i do see is that Bug number 9201495 is still available although i reported this issue on 2.1
Updating the columns in Data Tab - is a bit awkward -
Theme Editor: where to change backgroundcolor of editable table cells?
Hi all,
I need to change the color of an editable table cell.
I navigated to the theme editor --> tables.There is a section "Editable Tables". The preview shows an example with three columns and tree rows. I want to change the backgroundcolor of the cell in the first row, third column (in SAP standard it is lightgrey).
The backgroundcolor of the rows beneath can be changed in section "Selected Cells", the backgroundcolor of the first two columns in the first row can be changed by "Background Color of Standard Table Cell" but I can't find the field where I can change the color of the last cell.
Best regards,
SandraHi,
The blue color come from your definitions on "Labels and Fields" to read-only color of input field.
Regards,
F.F
Maybe you are looking for
-
Preview on Mac OS X Lion 10.7.3 won't load and crashes! Help!
Preview on Mac OS X Lion 10.7.3 won't load and crashes. These are the details after it closes: Please help! Process: Preview [644] Path: /Applications/Preview.app/Contents/MacOS/Preview Identifier: com.apple.Preview Version:
-
My brother's graduation present is going to be a MacBook for college and it is my responsibility to find one for him. I was just wondering if you had any suggestions. He is not very tech savvy but doesn't have trouble using what he needs because we a
-
Hi ALL , we are doin configuration for ESS claims in ECC 6. Our screen has Reimubersement types then request types and scheme type. for some employees we are able to see 3 reimbursement types namely LTA, office expences and medical but for some this
-
Does Oracle Text need to be "enabled"?
We want to start using Oracle Text. Does it need to be "enabled"? Any scripts that need to be run first? Oracle version 10.1.0.4
-
Adobe Suite: Master Collection CS5 Migration Issues
I just fresh installed OS X Yosemite on my Macbook Pro 2008 model, and then migrated my applications, including an activated Adobe Suite: Master Collection CS5 product. Everything seemed fine, but this morning, whenever I open one of the programs, Ad