Partitioning is possible with data(1 lakh records) or with out data
partitioning is possible with data(1 lakh records) or with out data...if with data, its compulsory to stop database..and its not possible to stop, but i want to partitioning my table for increase the performance...what can i do please help me.
"lahk" is not an internationally recognised term. Please use terminology that is recognised internationally.
You could create a table with partitioning, copy your data into it, then drop the original table and rename the new one to the old name (bear in mind any indexes on it), though this isn't ideal if you have primary/foreign keys etc.
Also, ensure you are licenced to use Partitioning. It is installed as part of the database as standard, but you have to have additional licence to actually use it in production.
Similar Messages
-
Can I create a Depart Date for a record, from the Arrive Date in the next record?
I have a Customer database with the tables tblCustomers and tblAddress. The tblCustomers has the following fields; CustomerID, CustomerName. The tblAddress has the following fields; CustomerID, Address, Town, County, ArriveDate. When a customer calls us
we start a new record with the CustomerID, CustomerName, Address, Town, County. The ArriveDate is left blank. When my service guy calls to the customer he fills in the ArriveDate field. We do not have a LeaveDate field. He could be there from 1 day up
to 5 days. Each day he is is there he adds another record with all the above data, including the date in the ArriveDate field. If he finishes on a Friday he will take Saturday and Sunday off. On Monday he moves to the next customer, he has a new
customer/location record waiting for him, as before he fills in the ArriveDate and starts working. If he finishes with a customer midweek he will go straight to the next customer where there is a new customer/location record waiting for him to fill in
the ArriveDate. It looks something along these lines;
CustomerID CustomerName Address Town County
ArriveDate
5437 Mr.A 123 Main St
Nenagh Tipperary 01/01/2015
5437 Mr. A 123 Main St. Nenagh
Tipperary 02/01/2015
5437 Mr. A 123 Main St. Nenagh Tipperary 03/01/2015
off Saturday and Sunday
7890 Mr. B 77 The Avenue Tralee Kerry
06/01/2015
7890 Mr. B 77 The Avenue Tralee Kerry
07/01/2015
I want to generate a DepartDate which will be generated when the Address, County and/or Town fields change from the previous record. The Depart Date should be equal to the last of the Arrive Dates before the Address, Town and County fields change to
the new customer/address.
Is this possible to do, i would appreciate any help with this.Hi NewAccessLearner,
For the results of the query, I think you accord the logic below to find the DepartDate, but the sql query would be much complex.
Take the 123A to make a simple demo:
#1 check the ArriveDate of the next date whether it exist in the ArriveDate
DepartDate
Expr1000
t1.CustomerID
t2.CustomerID
Address
Town
County
ArriveDate
1/2/2015
5437
5437
123 Main St
Nenagh
Tipperary
1/1/2015
1/3/2015
5437
5437
123 Main St
Nenagh
Tipperary
1/2/2015
1/4/2015
5437
5437
123 Main St
Nenagh
Tipperary
1/3/2015
1/8/2015
5437
5437
123 Main St
Nenagh
Tipperary
1/7/2015
6/2/2015
7890
7890
77 The Avenue
Tralee
Kerry
6/1/2015
In the first column the “1/4/2015” is not in the ArriveDate, and then the “1/3/2015” would be the date for DepartDate.
I am not familiar with sql query, I think you need to ask the sql experts for help.
Best Regards,
Leo -
DIAdem dac combined with NI PCIe 6259 doesn't send out data
Hi,
I have a NI PCIe 6259 card & DIAdem 11.2.0 (2010 version) on a windows 7 PC.
Analog inputs & analog + digital outputs are configurated in MAX 9.8.0f0. (Global virtual channels)
When I run a dac, analog inputs works perfect.
Both analog and digital outputs doesn't work. Only one of the four analog outputs give out the value which was send out.
In the past I had the same problems with this DIAdem version in combination with a thirth party USB card, but this was solved by new firmware & software drivers.
Someone who had similar problems?
Thanks.
Solved!
Go to Solution.Hello,
I Tried the testpanel. Both analog and digital outputs works correctly.
I have no experience with labview. So this card isn't tested with labview.
One time the digital outputs works with DIAdem, mostly it didn't work. Analog outputs are OK.
GfsDAQ driver version is 11.2.0.
I suppose that this has caused by driver problems. -
How to get Header data into multiple times along with the Line Items
Dear All,
I have problem while mapping the Header data and line item data to the flat file structure, Header data have to repeat along with the Line item data in the flatfile.
Details is below.
Example
Header record is one
E1EDK01
E1EDKA1
Line items are two
E1EDP01
E1EDP01
I want in the flat file two records having duplicate data in the fields which is belongs to header data
Like :
Record # partner data Line item data
Record 1 : WE name1 city 00010 materialname1 156
Record 2 : WE name1 city 00020 materialname2 198
( WE name1 city - data is same in the record 1)
For this what I did is I mapped the node E1EDP01 to the flat file message type node then I got all the line item data and first record is with header data but not in the second record.
I tried all node functions but no result because Idoc itself header data exists one record, I am not able to copy.
If any one knows , please give solution.
It is great help to me.
Thanks in Advance.
RamaraoDear Ramarao,
This will help you,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f7d3b
No Documentation for Mapping Function useOneAsMany (Mapping Problem)
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Thanks & Regards
Agasthuri Doss -
Problems Recording Video with Photo Booth
Macbook Details:
OS X Yosemite
Version 10.10.2
MacBook Pro (15-inch, Late 2011)
Processor 2.2 GHz Intel Core i7
Memory 4 GB 1333 MHz DDR3
Photo Booth: Version 7.0 (724)
Some background: It all started going downhill for my laptop when I got a "Service Battery" warning back in December. Thought it could possibly be a glitch from the new OS. In any case, they told me to wait it out till the Full Charge Capacity reaches the 2000s. It's currently at around 4225 and slowly steadily decreasing. I can't keep many applications open at one given time.
The problem: Built-in camera is working fine with Skype, FaceTime, etc. Photo Booth pictures are fine as well. Simply unable to record any video with PB. It will sometimes record, but during recording, the image freezes. Upon playback, the image is frozen for the entire video, and audio lags or skips around. Today it froze and actually sat frozen all day while I continued to use other applications.
Is there anything I can do??You can't record video with PhotoBooth, you can record video with iMovie, or you can record with Quicktime if you have the Pro version. I would suggest using iMovie, create an MPEG-4 project, record your footage, drag your recorded clips into the timeline, then choose the Share menu and choose Email.
Baby footage will be on its way to the grandparents in no time! -
Is it possible to do a multiple-records data merge that doesn't generate multiple text boxes?
Is it possible to do a multiple-records data merge that doesn't generate multiple text boxes? And if so, how?
For publications such as a directory with contact information, it would be easier to manage the layout by merging multiple records into one text box. However, it seems like the only option in InDesign is to merge the records into each of their own text boxes.No, but it's possible to stitch the frames together after the merge, then reflow. See Adobe Community: Multiple record data merge into paragraph styles-applies the wrong style
-
Hi Friends,
We are in a phase of data migration from 11i to R12
I was discussed with client & they wants extraction of all open POs which was generated after 01 Jan 2014 to till date in 11i.
Condition for open POs is PO qty-received qty=>0
critical Example for open PO is :PO no: 10 has 4 lines, 3lines full qty has been received & for 1 line partial qty(say 50 out of 100) received.
in this case he wants in R12 uploading as PO no:10 should entered as open PO with all 4lines & 3 lines complete receipt should be done, for 4th line partial qty i.e 50 should be received.
the question is if we upload on hand qty first, then open POs & receipts, it will increase the onhand qty in new system(mismatch of on hand qty's 11i to R12)
Is it possible to do the onhand qty upload with over riding of all receipts which uploaded against Open PO lines.
Or Please advice best solution.
Thanks & Regards
Giriadetoye50 wrote:
Dear Contacts Journal Support Team,
FYI, this is a user to user support forum. You are NOT addressing Apple here.
Honestly, I doubt anyone is really going to take the time to read the novel you have written. -
How can I record several channels of data at different rates with the same card?
I am building an application in which I need to record several channels of DC voltage data to disk at different rates, for example, Channel 1 at 40 Hz, Channels 3-5 at 10 Hz, Channels 6-8 at 1 Hz, etc.
All these channels are time-referenced, so I need to make sure data for channels recorded at slower rates line up with their correct time stamp.
Currently, I am building all data into a 2D array one row per loop iteration.Hello;
At this time, the NI DAQ boards have only one scan clock, so, you can only define one valid scan rate for all of your channels.
The better approach for you is to sample all channels at the highest rate you will need, and then discard the samples you don't need to save.
Hope this helps.
Filipe -
I would like to use Formcentral form data to populate a pdf with the same fields. Is that possible?
Randy,
We have an application that I would like to have in Formscentral. That application is also in a larger PDF file that once filled in populates all the other forms below it (lease, credit check form, ect). If the Application on Formscentral keep the same field names as the pdf can I pull the data from formscentral and sill populate the old application pdf so that all the forms below it will be also populated.
Greg -
Is it possible to insert data into a MySQL database with Java?
Hello everyone!
I would like to know, if it's possible to insert data into a MySQL database, with a JFrame inside a servlet?
When the JFrame is first created it calls this method:
* Connects the servlet with the MySQL database.
private void connect(){
try{
Class.forName("com.mysql.jdbc.Driver");
connection = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/data", "root", "omfg123");
}catch(ClassNotFoundException cnfe){
cnfe.printStackTrace();
}catch(SQLException sqle){
sqle.printStackTrace();
}Then, when you click the "Add" button, it executes this code:
add.addActionListener(new ActionListener(){
@Override
public void actionPerformed(ActionEvent ae){
String employee = employeeName.getText();
String[] args = employee.split(" ");
firstName = args[0];
lastName = args[1];
execute();
});And this is my "execute()" method:
* Connects the servlet with the MySQL database.
* - And executes the SQL queries.
private void execute(){
try{
PreparedStatement statement = connection.prepareStatement("insert" +
" into employees values(" + firstName + ", " + lastName
+ ")");
ResultSet result = statement.executeQuery();
String fullName = firstName + " " + lastName;
printer.write("Employee " + fullName + " added.</br>");
}catch(SQLException sqle){
sqle.printStackTrace();
}But when I click the "Add" button, nothing happens.This is what I use to insert into mysql. It works on windows.
try {
Class.forName("com.mysql.jdbc.Driver");
String connectionUrl = "jdbc:mysql://" + loadip + "/custsig?" +
"user=root&password=";
Connection con = DriverManager.getConnection(connectionUrl);
newproc = jTextField1.getText();
newsoft = jTextField2.getText();
newdeb = jTextField3.getText();
newcust = jTextField4.getText();
if (newcust.equals("")) {
errorsig12 = 1;
jLabel1.setForeground(new java.awt.Color(255, 0, 0));
} else if (newsoft.equals("")) {
errorsig12 = 1;
jLabel2.setForeground(new java.awt.Color(0, 0, 0));
} else if (newproc.equals("")) {
errorsig12 = 1;
jLabel3.setForeground(new java.awt.Color(0, 0, 0));
} else if (newdeb.equals("")) {
errorsig12 = 1;
jLabel4.setForeground(new java.awt.Color(0, 0, 0));
if (errorsig12 == 0) {
PreparedStatement ps = con.prepareStatement("insert into customer set cust_name = ?, software = ?, processor = ?, debit = ?");
ps.setString(4, newdeb);
ps.setString(3, newproc);
ps.setString(2, newsoft);
ps.setString(1, newcust);
int rs = ps.executeUpdate();
} catch (SQLException eg) {
System.out.println("SQL Exception: " + eg.toString());
} catch (ClassNotFoundException cE) {
System.out.println("Class Not Found Exception: " + cE.toString());
} -
Report Painter: Possible to show Report with Zero (not No records were sel)
Report Painter: Possible to show Report with Zero (not No records were selected)
Dear Guru,
is there any way to make Report Painter to show Report with Zero / 0 when there were no record were found. (No records were selected).
Regards,
Howardhummm, I dont think so
THats not possible, as far as I know
Regards
Ajay M -
BW 3.5 Fact table with data no corresponding records on P table
Hi Gurus,
I have a weird situation: There is an BW 3.5 SP 16 (I know itu2019s oldu2026) infocube that receive 400,000 records every single day.
They never compressed (at least there is no data on E table), instead they ran a program calling FM u201CRSDRD_SEL_DELETION'u201D every day that takes about 5 hours to run (when it runs without errors).
So I checked Fact table and found 337,564,988 records. If you check the number of records on Infocube Admin it shows 14,018,370 record. I found that the u201Cmissingu201D record are not on P table (there is data on Fact pointing to missing Packages).
I think the Selective deletion messed up the infocube. These record that are missing on P table have to be deleted. I ran an RSRV check on this Infocube on Background and it canceledu2026
So, I want to delete this data from Fact my question is: How to do that with minimum effort without invalidade the information?
Of course I will backup the data to a temp cubeu2026
Well any idea is welcome
Regards,
AlexHi Navesh,
First of all thanks to your quick answer.
Well, the arguments of FM are set to del any 0SEM_CRDATE older than 30 days in the past. This characteristic receive SY-DATUM on Act. Rule (transformationu2026) so every package older than 30 days have to be deleted. The weird thing is that it is deleting the P table record and keeping the data on F table.
So You think it would be a nice try to do an selective deletion with the same criteria manually?
This is the code, can you (or someone) take a look?
START-OF-SELECTION.
*Cria Range do período a ser eliminado
PERFORM f_range.
PERFORM f_elima_cubo.
END-OF-SELECTION.
*& Form F_RANGE
FORM f_range.
v_data_inic = sy-datum - 31.
v_range-sign = 'I'.
v_range-option = 'LT'.
v_range-low = v_data_inic.
v_range-keyfl = 'X'.
APPEND v_range TO t_tab_main-t_range.
t_tab_main-iobjnm = '0SEM_CRDATE'.
INSERT t_tab_main INTO TABLE t_thx_sel.
ENDFORM. " F_RANGE
*& Form F_ELIMA_CUBO
FORM f_elima_cubo.
v_parallel = '01'.
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
i_datatarget = 'IC_LP_B01'
i_thx_sel = t_thx_sel
i_authority_check = c_flag
i_no_logging = v_nl
i_parallel_degree = v_parallel
i_show_report = v_sr
CHANGING
c_t_msg = t_msg.
ENDFORM.
Regards,
Alex -
Is there a possibility to retreve Data from the OPC Server with the XML Interface
Is there a possibility to connect a OPC/DA server with the help of the XML interface with Labview?
I need to retrieve Data from a OPC Server running on Linux, so i got no Dcom System an I need to use XML. The server is running and with OPC client-tools i can access de different data. So now I want to visualize all Data
that come from that server on Labview.
1. Is it possible to realize that?
2. Is a library or a demo vi available ?
Regards
DenselHi Densel,
Sure, you can use XML within LabVIEW, the question is which syntax do you use?
Are you able to send the XML statements via TCP/IP?
Regards, Christian -
Time overlapping of data record 3 with 4
Hi all
While Running the DTP for loading master data from PSA to INFO OBJECT i am getting this error "Time overlapping of data record 3 with 4 ".
can anyone help me for resolving this
thanks
Preethi.....The datefrom/validfrom and dateto/validto of those two records have some overlapping period. Browse the PSA table to see the date from and dateto values.
Analyze why the extractor is bringing records with overlapping periods. If its a custom datasource make sure the view/functionmodule is generating proper non-overlapping records using RSA3 -
Is it possible to retrieve data from an Oracle db with an LDAP query?
Our application uses an LDAP query to retrieve data from Microsoft Active Directory. Is it also possible to retrieve data from an Oracle database with an LDAP query?
if you have Oracle Internet Directory, you will retrieve with ldapsearch data, which are physically stored in the database. But to select * from emp where ename='SCOTT', it is probably not possible.
At least I have never heard of such a product which translate ldap query in sql query. But feel free to write your own one in perl :-)
Maybe you are looking for
-
Can I recover data from a reformatted hard drive? I did not complete a back up prior to talking to Apple Support and the guy having me delete the hard drive (10.5.8) and start anew (10.6.3). My bad but is all lost?? Years of very important informat
-
ITunes and iPad app syncing ~~~ HELP ME.
Before I got my iPad 2 I went into iTunes and downloaded a lot of apps. When my iPad arrived I synced it. Since then I have deleted many of these apps but they're still in my iTunes. How do I get my iTunes and iPad synchronized without all of those o
-
I have adobe illustrator CS5. When I save a document as a pdf and open it again later to edit Adobe reader can't read the whole document because it only shows part of the document. It is very frustrating. How can I fix this?
-
Hello, We have a client who wants to use PO for Hotel reservation, where the PO booking a number of nights full inclusive. Now when the invoice comes it will include the Food, beverage...etc. which is not predictable ahead at the PO preparation time.
-
Which jboss Connection I should use? cluster jboss, one database
We use EJB in jboss cluster environment. We only have one oracle database. our existed system use TXConnection(transactional connection) for the data insert, update and delete. Using the Connection for the data retriving. I think TXConnection fits to