Splitting partition into multiple partitions
Hi,
As far as I can tell (up to an including Oracle 10g), one can only split a partition into 2 new partitions.
Thus if I had a partition with a maxvalue starting in january 2006, I would need to sequentially run a seperate split command for february, march and april. Does oracle provide a mechanism to split a partition into 4 partitions in one easy step. This would save alot of time, if not, maybe as an enhancement request for a new release?
Regards
Michael
Hi,
that's my understanding too. There is no such thing like a 'bulk' split. But it would really be useful to have one.
Similar Messages
-
Splitting TempDB into multiple data files.
To avoid contention we have to split tempdb into multiple data files. But as for case suppose, there is 20 GB total space is on the drive containing 1 tempdb data file of 15 GB. And I have to create 3 more tempdb data files, and as recommendation all files
should be of same size.Then how to handle this situation and configure all data files with same size?
Pranshul GuptaBut as for case suppose, there is 20 GB total space is on the drive containing 1 tempdb data file of 15 GB. And I have to create 3 more tempdb data files, and as recommendation all files should be of same size.Then how to handle this situation and configure
all data files with same size?
So your goal is to have 4 tempdb files, each 5GB? Below is a sample script to accomplish the task within the 20GB space constraint.
--reduce size of existing file to 5GB
ALTER DATABASE tempdb
MODIFY FILE (NAME='tempdev', Size=5GB);
DBCC SHRINKFILE('tempdev',5120);
--add 3 new 5GB files
ALTER DATABASE tempdb
ADD FILE (NAME='tempdev2', FILENAME='D:\SqlDataFiles\tempdb2.ndf', Size=5GB);
ALTER DATABASE tempdb
ADD FILE (NAME='tempdev3', FILENAME='D:\SqlDataFiles\tempdb3.ndf', Size=5GB);
ALTER DATABASE tempdb
ADD FILE (NAME='tempdev4', FILENAME='D:\SqlDataFiles\tempdb4.ndf', Size=5GB);
Dan Guzman, SQL Server MVP, http://www.dbdelta.com -
Adapter file sender doesn't split file into multiple message
Hi everybody.
We are in PI 7.0 SP10.
In adapter file sender, I want to split a file into multiple file.
We use protocole "file content conversion"
in the field "recordset per message", I put the value 10 to test.
The file content 30 records .
The result we have is the treatment is not split into multiple message .
The treatment is made but with one message.
I need to treat big files.
Is there some one who have an idea why t doesn't work ?
Thanks in advance for your help.
Regards
Edited by: Eric KOralewski on Jun 25, 2009 3:14 PMHi,
have you specified recordset name......if not, then specify it.............
in recordset structure, specify like RECORD,1 and not RECORD,*
again test your scenario......if still your file data is not getting split, then ask your basis guys to do a full CPACache refresh using PIDIRUSER..........your basis guys will know how to do it..........then again test your scneario............
Regards,
Rajeev Gupta -
Split file into multiple Instance of an IDoc .
My file (only one file) in the file system contains multiple entities(lets say sales order).Now using File adapter I want to transfer this file into XI and want XI to create multiple instance of an IDoc(for each sales order) and send them to the target system one by one.
Alternatively can I split the file into multiple entities(sales order) in the file adapter (using dispatcher for e.g) and send multiple message to the configured XI automatically.
Is any of the alternative possible in XI20.
Any responce would be highly appreciated.
Regards,
Bikky.Hi,
You can get the file adapter to split the file without the need for a dispatcher user exit. The config goes a little like this:
mode=FILE2XMBWITHSTRUCTURECONVERSION
xml.recordsetStructure=SALES_ORDER,1
xml.recordsetsPerMessage=1
This last parameter ensures each sales order is posted to the integration engine as a separate message. Therefore a separate Idoc is created for each.
Hope this helps.
Jason -
Split column into multiple text and number columns
I'm trying to figure out how to split this column into multiple columns with power query. One column for the company name/person name, one for the address, one for the zip. Some of the addresses have a three or four digit code before the address, which
I would like in its own column too. It's the 170 on the lastname, firstname line. Does anyone have any pointers on this? I'm familiar with PQ advanced editor, but struggling with this one.
COMPANY INC. 195 MAIN ST MYCITY ST 12345
LASTNAME, FIRSTNAME 170 477 ANY STREET CIRCLE MYCITY ST 12345
Thanks for your help!HI Gil,
We have column with more than one numbers separated by space or comma or semicolon.
We need to add the row for each number by keeping all other column value same.
Here is a original table
Col1
Col2
Col3
A
B
11 22,33 44; 55
C
D
10 20
and expected output should be
Col1
Col2
Col3
A
B
11
A
B
22
A
B
33
A
B
44
A
B
55
C
D
10
C
D
20
Please let us know the best way to solve this... -
Split XML into multiple records
Hi All,
I have to split an XML field from a data type into multiple records on the target side.
For eg: If the source XML string is something like this:
<XML_STRING>
<Data>
<name>abc</name>
<place></place>
<addr1> </addr1>
<addr2></addr2>
</place>
<name>xyz<name>
<place>
<addr1></addr1>
<addr2></addr2>
</place>
</Data>
</XML_STRING>
Since the above XML string has two records in it (each record includes name and place), I would like to split those two into two separate records in the target structure and send it to ECC.
How can I achieve this in PI mapping. Here in this case I cannot even differentiate between <> </> to split the messages since a single records might have multiple sub nodes in it. It is only believed that when "<name>" repeats again in the XML that would be a start of new record. Based upon that I need to split the records.
Thanks in advance!!Hi Shweta,
Minor correction is required for you source structure. Please follow Amit or Vila suggestion for content conversion.
Did mapping as per your requirement. Please find the screen shot below. Please note the structure and cardinality of the element and node field.
Hope result is as per your requirement.
Regards
Jitender -
How to Split field into multiple fields in Import Manager without delem
Hi
Is there any method to Split a record in MDM without using delimitter?
I dont want to use any delemitter My field content in Source is PRODLABELPACK and I want to split it into 3 fields in destination Field1= PROD
Field2=LABEL Field3=PACK
I know how to split it if the content is PROD_LABEL_PACK .But we dont want to use delimiter in the firld and want to use some substring function
Regards
PrashantYou Can use below FM SWA_STRING_SPLIT -
First Use READ_TEXT FM.
then loop into
loop at tline.
Here use 'SWA_STRING_SPLIT' -> Pass tdline and append the text into other internal table.
endloop
Thank you
Seshu -
Splitting program into multiple files
Hi folks :)
I have a looong program. And I would like to split it into 4 files. What else do I have to do, then adding the packagename? Could I call variables from one file, that is declared in another? How? And how do i call methods in another file?Presumably, you're using Strings and possibly even JTextPanes.
If so, you already have all the syntax you need.
Let's assume that your current class contains all the required functionality. You might want to break that up to make the code more maintainable. So, put all the gui code into GUI.java and then wrap up your data processing methods into a Processor.java file. Both of these should define publilc classes.
But now your GUI class presumably won't compile because you are trying to call methods that don't exist anymore (you've just moved them). So, in you GUI class add a Processor data member (called "dataProcessor"). Instantiate this in the GUI constructor. Now, where you were calling those methods before you need to use:
dataProcessor.someMethod(someString);You'll probably have to play around a little to make everything fit but the art of refactoring is one to be learned early.
I hope this gives you the idea you were looking for. -
How can split data into multiple sheets using an excel template
Hi all,
I'm using BIP 10.1.3.4.1 upgrated with the latest rollup patch, 9546699.
I followed the example inside the article "Real Excel Templates 1.5" (on the Tim Dexter's blog)
http://blogs.oracle.com/xmlpublisher/2010/05/real_excel_templates_i.html
and I built my report directly from an excel template containing only one sheet (plus the XDO_METADATA sheet), and for one sheet it worked fine !!!
Now I need to add more sheets to the template.... and I have two big questions:
1. if I need to create a second sheet which contains almost the same data (with a different layout), I saw that it is not possible to map a value to more than 1 cell....so if I map a value in the first sheet, I can't map it in the second sheet (because it's already used in the first one).
How can I map same values into two or different execll
2. if I need to create a second sheet which contains another dataset (completely different from the dataset in the first sheet), I can I do, considering that every BIP report is based on ONLY a data source.
Tim wrote: The most impressive, for me at least, is the sheet 'bursting'. You can split your hierarchical data across multiple sheets and dynamically name those sheets
but I didn't yet understand how this bursting it's possible.....considering what I said above.....
Surely I've a lack of knowledge.....but anybody can help me to understanding the "multiple excel sheets" black hole ?
I'll appreciate any kind of help
Thanks in advance
AlexYou can find working solution here http://xlspe.com
-
I have added several CDs to my iTunes files, several Albums were added in the form of multiple files of the same Album title with random songs listed, but not the entire album in one file.
I have tried to reassemble the Album into one file, but could not find a way to do so.Generally setting a common Album title and Album Artist will fix things.
For deeper problems see Grouping tracks into albums.
tt2 -
Split records into Multiple csv files using a Threshold percentage
Hi Gurus,
I have a requirement to split the data into two csv file from a table using a threshold value(in Percentage) .
Assume that If my source select query of interface fetches 2000 records , I will provide a threshold value like 20%.
I need to generate a csv1 with 400 records(20% of 2000) and the rest of the records into another csv2.
For implementing this I am trying to use the following process.
1) Create a procedure with the select query to get the count of records.
Total Records count: select count(1) from source_table <Joins> <Lookups> <Conditions>;
2) Calculate the Record count to first CSV using the threshold_value.
CSV1_Count=Total records count /threshold_value
3) Create a view that fetches the CSV1_Count(400) records for CSV1 as follows.
Create view CSV1_view as select Col1,Col2,Col3 from source_table <Joins> <Lookups> <Conditions>
Where rownum<=CSV1_Count;
4) Generate CSV1 file using View 'CSV1_View'
5) Generate CSV2 File using the Interface with same select statement (with columns ) to generate a CSV.
select Col1,Col2,Col3 from source_table ST <Joins> <Lookups> <Conditions>
Left outer join (Select Col1 from CSV1_View ) CS on CS.Col1=ST.Col1 where CS.Col1 is null;
Which gives the Total records minus the CS1_View records.
The above process seems a bit complex and very simple . If any changes in my Interface I also need to change the procedure (counts the no:of records).
Please provide your comments and feedback about this and looking for your inputs for any new simple approach or fine tune the above approach.
Thanks,
ArjunArjun,
This are my thoughts and Lets do it in 3 Steps
Step 1. ODI Procedure
Drop table Temp_20 ;
Create table Temp_20 as select * from table where rownum < ( SELECT TRUNC( COUNT(1) /5) FROM TABLE ) .
[ ** This way iam fetching approx 20% of the table data and loading into Temp table . 1/5 th is 20% so i am dividing count by 5
I don't believe View will help you especially with RowNum as if you run the same query with rownum < N the rows order might differ . so Temp table is great ]
Step 2 . Use OdiSqlUnload with select columns from temp_20
Step 3 . Use again OdiSqlUnload with select columns from table where ( uk keys ) not in ( selecy uk_keys from temp_20)
[** this way you can pick the remaining 80% ** and the data will be not repeat itself across 20% and 80% , as might happen with view ]
what do you think ? -
Issue with splitting string into multiple lines
Hi Experts,
I have a long string s. I want to split this string into several lines each having 72 characters. For this I have done following programming:
String s = "For the first time it includes a supplementary report attempting to determine if extreme weather
events can be linked to human-induced climate change. The research team, including members
of the UK Met Office, identified recent episodes of extreme weather then used a computer to
estimate the likelihood of the episode happening in a world without increased CO2." ;
s = s.replaceAll("[\r\n]+", " ");
char[] sAr = s.toCharArray();
AbstractList RecepitsList7 = new Bapitrtext.Bapitrtext_List();;
int start = 0; // start with
int i = 72 ;
// for (int i = 71; i < sAr.length; i++) {
while (i < sAr.length) {
// { if (sAr[i] == ' ')
Bapitrtext Recepits7 = new Bapitrtext();
Recepits7.setTextid("TEXT");
Recepits7.setTextline(s.substring(start, i).replaceAll("[\r\n]+", ""));
RecepitsList7.add(Recepits7);
start = i+1;
i += 72;
input.setText(RecepitsList7);
The output of program is as below:
For the first time it includes a supplementary report attempting to dete
mine if extreme weather events can be linked to human-induced climate
hange. The research team, including members of the UK Met Office, iden
ified recent episodes of extreme weather then used a computer to estim
te the likelihood of the episode happening in a world without increased
Here as we can see last characters are getting deleted by program. For example in first line
determine 'r' is missing in extreme right.
In 3rd line c is missing in extreme left (word change is needed. Program
prints hange.
Also in 3rd line extreme right 't' is missing
Also in 4th line extreme right 'a' is missing
Also the last line is not being printed. In last line "CO2." " should appear.
There are two issues:
1. Why last word of each sentence is not being printed?
2. Why last sentence is not being printed?
I am struggling since last 2 days. Please help. I made all changes like replacing 72 by 71 etc.
By making such changes, I am able to print first line correctly. However under all cases
last character of 2nd line onward is not getting displayed.
Also last line is not getting displayed. I did every thing like using while instead of for loop etc.
Kindly help.
Regards,
Gary
Edited by: 945655 on Jul 10, 2012 11:39 PMString s = wdContext.currentContextElement().getExpense_Text();
s = s.replaceAll("[\r\n]+", " ");
char[] sAr = s.toCharArray();
AbstractList RecepitsList7 = new Bapitrtext.Bapitrtext_List();;
int start = 0; // start with
int i = 72;
while (i < sAr.length) {
Bapitrtext Recepits7 = new Bapitrtext();
Recepits7.setTextid("TEXT");
System.out.println(s.substring(start, i));
RecepitsList7.add(Recepits7);
start = i+1;
i += 72;
input.setText(RecepitsList7);
Edited by: 945655 on Jul 11, 2012 2:25 AM -
Splitting string into multiple string output
Hello,
I have this string input from serial port which looks like this:
Voltage20Current10Temperature32
They are all tab delimited.
And I need them to split into three outputs (possibly converted to numerals) -->
Output1 --> 20
Output2 --> 10
Output3 --> 32
Your help will be appreciated. Thanks.
Solved!
Go to Solution.Hi Manu,
Try the attached example.
Regards,
Nitz
(Give Kudos to good Answers, Mark it as a Solution if your problem is Solved)
Attachments:
Untitled 3.vi 6 KB -
I have just recently downloaded the Californication album by the Red Hot Chili Peppers. I like to sort my iTunes by artist. But then if I want to see all the albums by an artist, it shows that I have multiple Californication albums. 3 or 4 songs will show up on each of the "other" Californication albums. How do I get them to all sit together under one album cover, when I sort by artist? Any help would be greatly appreciated..
Generally all you need to do is fill in an appropriate Album Artist. For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
tt2 -
I have done this multiple times in the past (I have several files - not folders - that contain mail). However due to the fact that II was somewhat brain damaged several years ago I can no longer remember (or figure out) how to do it. For instance, I have a "MoreJunque" mailbox file that is (from the "Properties" dialog) at mailbox:///C:/Users/Daniel Mathews/AppData/Roaming/Thunderbird/Profiles/bxk6ngnt.default/Mail/pop.att.yahoo.com/MoreJunque. However, my inbox is in mailbox:///C:/Users/Daniel Mathews/AppData/Roaming/Thunderbird/Profiles/bxk6ngnt.default/Mail/pop.att.yahoo.com/Inbox. These are unique files that contain folders.
right click on your account on the left and select new folder.
-
In Acrobat 9 Pro, How do you split xml into multiple forms?
Greetings,
I'm new to Acrobat & xml in general. I'm trying to take one data file containing multiple copies of xml forms for importing in to Acrobat Pro. It keeps failing with the second xml header. The following is a sample of the data file.
<?xml version="1.0" encoding="UTF-8" ?>
<fields>
<CaseNumber>00-12345</CaseNumber>
<SendToNameAndCareOf>Somebody
.</SendToNameAndCareOf>
<SendToAddr>Address here</SendToAddr>
<SendToCityStZip>City, St, Zip</SendToCityStZip>
</fields>
<?xml version="1.0" encoding="UTF-8" ?>
<fields>
<CaseNumber>00-67890</CaseNumber>
<SendToNameAndCareOf>Somebody else
</SendToNameAndCareOf>
<SendToAddr>Another Address</SendToAddr>
<SendToCityStZip>City, St, Zip</SendToCityStZip>
</fields>
Is there anyway to accomplish this using the basic functionality of importing xml?Actually Graffiti it might be able to be done via 'touchup tool' without creating a new PDF. Assuming of course a photo editor like Photoshop is present.
To the OP: Acrobat is intended as final destination format and not really suitable for editing (although minor changes can be made with the full Acrobat product). It's always best to do the changes to the original document and then make a new PDF making sure you acknowledge proper version control procedures. Changing the PDF means that you now have a PDF that doesn't match the original document.
Maybe you are looking for
-
I just got my refurb iPad in the mail. I am trying to set it up, but i am getting this error message " iTunes could not back up the ipad because the backup was corrupt or not compatable with the ipad. Delete the backup for this ipad. Then try agian."
-
Noise at the beginning of each song/ Zen Mi
Well at the start of every song i have a slight noise. I'm using firmware ..0 Zen Micro 6GB. Thanks Bernd
-
Shared hosting, Coldfusion 8 & Livecycle Data Services ES
I want to develop a CF/Flex/Air online/offline application that uses Livecylcle Data Services (LCDS) to synchronize client (SQLlite) and server (MySQL) databases. I'm a coldfusion developer (MX6) and have done some Flash work (AS2). I'm going to le
-
Help! Why are my outputs zero?
Any reason why when I run this program all of the inputted numbers become zero instead of their values? Cheers import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; class Statistics1 static BufferedRe
-
Launching unrelated app, launches LabVIEW installer.
I'm having a the same problem that this guy is having. The application we're trying to launch is ietm52.exe the LabVIEW installer starts and attempts to install 7.0 files when the installation is 7.1.1. What is causing an entirely different unrelate