Index creation a long time..Please help to tune the creation time.
Hi all,
I am creating a index after using impdp to put the data in that table.
Below is my index creation command.The index creation takes ~30 minutes .
Can the forum memebers suggest me how to put this index creation with parallel clause or otherwise to reduce the time it takes to create the index?
+++++++++++++++++++++++++++++++++++++++++++++++
spool incre_HUNTER_PK_1.log
set lines 200 pages 0 echo on feedback on timing on time on
alter session enable parallel dml;
alter session enable parallel ddl;
CREATE UNIQUE INDEX "HUNTER_PK" ON "HUNTER" ("HUNTER_NUM", "BILL_SEQ", "BILL_VERSION")
PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING COMPUTE STATISTICS
STORAGE(INITIAL 4294967296 NEXT 16777216 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "HUNTER_LARGE_02";
ALTER TABLE HUNTER ADD PRIMARY KEY ("HUNTER_NUM", "BILL_SEQ", "BILL_VERSION") USING INDEX HUNTER_PK;
ALTER INDEX "HUNTER_PK" NOLOGGING NOPARALLEL;
spool off
+++++++++++++++++++++++++++++++++++++++++++++++
Some other details:
1. My imdp command import nearly the below details
. . imported "HUSTY"."HUNTER" 42.48 GB 218185783 rows
2. It is a non-partitioned table.
3. I cant drop the table at the target.
Regds,
Kunwar
Kunwar wrote:
Can the forum memebers suggest me how to put this index creation with parallel clause or otherwise to reduce the time it takes to create the index?
What version of the database?
Creating indexes in parallel is described in the documentation. Search the on-line documentation for the syntax for create index; if there aren't any specific examples of creating indexes in parallel do a Google search for "create index parallel"
Similar Messages
-
Appear "Error 1004" when trying to downloads all the apps in apps store....
Can't purchase the apps with the updated payment methods as well...
Please help and kindly advise further..
Thank you....For Error 1004, look at this post
https://discussions.apple.com/message/16228784
Cheers, Tom -
Can't find a playlist I created on my playlist or computer? I didn't delete it. I don't want to create it again because it took a long time. please help me find and recover.
Playlists only exist as part of the larger iTunes library listing so if you are not seeing it there it doesn't exist anywhere else. I know with my older version of iTunes it is very easy to accidentally delete a playlist. With newer versions it may be possible to recover it with the undo feature in the menu but this likely will only work immediately after the deletion.
-
i am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??
You do not need the Setup Assistant; in fact, you do not need any software on an external hard drive. I have two LaCie's; I erased the drive as soon as I plugged it in. You will need to format it anyway because most hard drives come Windows formatted. So, if you only want to use it with the Mac, highlight it in Disk Utility and choose Mac OS Extended (Journaled) as the format and the GUID Partition scheme under Options. While doing that, it will erase the drive (and get rid of the LaCie software) - once finished, your drive is ready to use for Time Machine or any other backup plans you have for it.
-
Adding a timer Please help (Huge Duke dolla reward!)
I am trying to make a timer for my game class so that after 3 seconds if you dont click anything you lose the game.
I have been trying to figure this out for days
This prolly can be done by starting the timer here and saying if timer reaces 3 seconds game ends, and that everytime you click a button timer restarts.
Please I need help how do I do this?
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
* The Main Class of the Simon Game
* @version 1.0
public class Game
private JTextArea scoreTextArea;
private JFrame scoreFrame;
private Simon simon;
private Player player;
private HighScores highScores;
private GUI gui;
private JLabel titleLabel;
private JButton OKButton;
* Constructor for the Game class
private Game()
gui = new GUI(this);
simon = new Simon();
player = new Player();
highScores = new HighScores(true);
* The Main method, used to start the program in the JVM
public static void main(String[] args)
Game game = new Game();
game.play();
* Creates the highscore gui.
private void makeHighScoreGui()
//Displays a seperate frame for the highscore.
scoreFrame = new JFrame("High Scores");
scoreFrame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent we) { System.exit(0); }
Container contentPane = scoreFrame.getContentPane();
contentPane.setLayout(new BorderLayout());
JPanel gridPanel = new JPanel();
gridPanel.setLayout(new GridLayout(1,3));
JPanel centerPanel = new JPanel();
titleLabel = new JLabel("Hall of Fame ");
contentPane.add(titleLabel, BorderLayout.NORTH);
OKButton = new JButton("OK");
contentPane.add(OKButton, BorderLayout.SOUTH);
OKButton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){System.exit(0);}
scoreTextArea = new JTextArea("\n \n \n");
centerPanel.add(scoreTextArea);
scoreTextArea.setFont(new java.awt.Font("Arial", Font.BOLD, 16));
//adds it into a grid so that it's centered
gridPanel.add(new JPanel());
gridPanel.add(centerPanel);
gridPanel.add(new JPanel());
contentPane.add(gridPanel, BorderLayout.CENTER);
scoreFrame.pack();
scoreFrame.setVisible(true);
* The method called from main
public void play()
System.out.println("**********************");
System.out.println("NEW GAME OF SIMON SAYS");
System.out.println("**********************");
//main game loop, executes as long as the program runs for
while(true)
try{ Thread.sleep(1000);} catch(Exception e){};
//simon's turn to say some colors
System.out.println("Simon Says:");
gui.display(simon.say());
//now its the user's turn to repeat Simon
//goes through a loop as it needs to capture multiple characters
for(int i=0; i < simon.getTurn(); i++)
gui.changeLabel("color "+ (i+1) + " of " + simon.getTurn() + ":");
char charInput = gui.getInput();
//player has got the guess wrong if this branch is entered
if(simon.checkGuess(charInput) == false)
System.out.println("Wrong!");
//the score should be stored if it beats all the other top scores
if(player.getScore() > highScores.getLowestScore())
System.out.println("High Score! Enter your name:");
player.setName(gui.getName());
highScores.add(player);
//finish the game, save, and exit
System.out.println("GAME OVER!");
makeHighScoreGui();
gui.hide();
scoreTextArea.setText(highScores.toString());
scoreFrame.pack();
highScores.saveHighScores();
// player has got the guess correct if this branch is taken
else
//the player got the color correct
System.out.println("Correct!");
//the player got the whole sequence correct, increase the score
player.incScore();
//send the player's score to the GUI class as a string
gui.setScore(player.getScore() + "");
}Help would be much appreciated.
Message was edited by:
Gwat
Message was edited by:
GwatWell, I don't know because I've never used the Swing timer, and I'm not sure what game you're trying to write. You say "Simon Says" but it sounds more like that old electronic game Simon, or maybe both or maybe neither.
But let's assume that it's like the old electronic game Simon. The point of the game is to press the same buttons that the game lighted up, in the same order. Let's assume the delay you want is the time between button presses or the last light lighting.
The way I'd do it is:
First, create a gameplay object that has as state a sequence to follow, and 4 buttons, and a "last time" number, representing the number of milliseconds since epoch.
When the game is started...
The last time value is set to infinity, or a time far in the future anyway.
Then a TimerTask is created, and scheduled to every tenth of a second. It gets the current time, then if the current time minus the "last time" is over some threshhold value, it ends the game.
LOOP: a sequence is created, one longer than the previous sequence. It's a sequence of buttons.
The sequence is played.
The "last time" value is set to the current time.
Each button press triggers a method. The method first checks to make certain that it represents the next number in the sequence. (One way to do this by the way is to represent the sequence with a queue, and remove the first item from the queue, and compare with the button. If they don't match, the game ends; and when the queue is empty, it's time to loop back up to the LOOP label above.) After it checks the next number in the sequence, it sets "last time" to the current time.
End loop.
That's it.
So in this scenario, the timer task doesn't get scheduled for the length of the timeout. Instead it gets scheduled for a fraction of the timeout length, and when it's called it checks to see if the timeout has passed. You'd create this when you start the game.
Hope this helps. -
My wife and I share the same apple id, we just updated our iphones. When we were asked if we wanted to share the same apple id for icloud we said yes, now our phones can't face time, please help?
Read http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
If you wish to share an Apple ID with family members then read: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/ -
I updated to Mountain Lion and now my Parallels application no longer works; please help! What to do???
Make sure you have the latest version of parrallels. Think older versions are not compatible.
-
my iPhone 4 keeps asking me to enter the apple ID for an account which no longer exists….please help
I should have also said that the only reason this is causing me an issue is because I have bought a new phone and I want to sell this one. But I cannot erase all data because I cannot turn off find my phone because it keeps asking for the password for an account which no longer exists…. have tried so many suggestions but nothing is working...
-
HiHi can you please help me to fix my iPhone 5 when I update it to the iOS 6.1.2 my carrier signal indicator states searching all the time please help me what to do
Hi Samantha,
Are you aware that if you restore your ipad that you will lose all data from your ipad and very difficult to get it back unless you had previously made a back-up of your data on itunes or in the cloud. and that would be on the computer you set those up on. (There are some independent apps out there that might help restore data but I don't have any experience with them...)
Also, I think if you restore on another computer you're supposed to have administrator rights and have the latest itunes update. And I think if you sync (if restoring is considered syncing with another computer, you'll be locked out of your computer or a new one.)
I don't know if there is a way for you to safely eject your ipad from your mom's laptop and find another way, but please read this
http://support.apple.com/kb/ts1275
Also, I suggest you start a new post and title it something like First, stuck on update and now on Restore on another computer. Please HELP! And then tell the story of your problem that you originally included and your follow-up efforts to restore given a suggestion on previous post (though I think you SHOULD AVOID RSTORE if you can.) And refer them to your original post
https://discussions.apple.com/message/22050045?ac_cid=tw123456#22050045
Hope this helps and if you can get back to your ios before the upgrade, stay with it. I hope it all works out for you.
FYI - If it's a new or refurb bought within the past year you might be able to have it replaced by Apple. -
My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.
The problem would seem to be in the firewall in your router. Have you tried disabling it? I assume you've updated the router firmware, right? Consider bypassing the ISP provided router (using it as a modem only) and unsing another device such as an Aiport Express.
-
my ipad 1 loses wifi connections when it goes to sleep. have to go into settings to reconnect. Does this all the time. please help.
my ipad 1 loses wifi connections when it goes to sleep. have to go into settings to reconnect. Does this all the time. please help.
-
I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected. I have to re-boot after an extended period of time please help. Thanks!
I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected. I have to re-boot after an extended period of time please help. Thanks!
-
after updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid good money for this mack, I feel calm
Hi Buterem,
I'm sorry to hear you are having issues with your MacBook Pro since your recent Yosemite update. I also apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are having intermittent but persistent responsiveness issues with your mouse or trackpad, you may want to try using Activity Monitor to see if these incidents correspond to occupied system resources, especially system memory or CPU. You may find the following article helpful:
How to use Activity Monitor - Apple Support
If the entire system hangs or locks up (for example, if the system clock freezes and stops counting up), you may also be experiencing some variety of Kernel Panic. If that is the case, you may also find this article useful:
OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
Regards,
- Brenden -
Please help to set the time zone in a porper way
Dear Folks please help to set the time zone in a porper way
select sessiontimezone from dual;
Database: Oracle 11.2.0.2
Operating system: AIX 5.3
SESSIONTIMEZONE
+00:00
SQL> select systimestamp from dual;
SYSTIMESTAMP
06-NOV-12 04.21.07.438426 AM +00:00
SQL> select dbtimezone from dual;
DBTIME
+00:00
SQL> Select DBMS_SCHEDULER.get_sys_time_zone_name from dual;
GET_SYS_TIME_ZONE_NAME
Asia/Kuala_Lumpur
By looking Doc ID: Note:149120.1 in Metalink:
ALTER DATABASE <my db name> SET TIME_ZONE = 'Asia/Kuala_Lumpur'
or
ALTER DATABASE <my db name> SET TIME_ZONE = '+08:00'
For reflecting the change I refreshed the db by shutdown and restart.
but still the returning no timezone value for user schema, please help how to set the time zone in a proper way?SQL> conn sys/sys as sysdba
Connected.
DBNAME
db
SQL> select u.name || '.' || o.name || '.' || c.name "Col TSLTZ"
2 from sys.obj$ o, sys.col$ c, sys.user$ u
3 where c.type# = 231
4 and o.obj# = c.obj#
5 and u.user# = o.owner#;
no rows selected
SQL> select DBTIMEZONE from dual;
DBTIME
+00:00
SQL> alter database set time_zone='Asia/Kuala_Lumpur';
Database altered.
SQL> select DBTIMEZONE from dual;
DBTIME
+00:00
SQL> startup force;
ORACLE instance started.
Total System Global Area 426852352 bytes
Fixed Size 1375060 bytes
Variable Size 260048044 bytes
Database Buffers 159383552 bytes
Redo Buffers 6045696 bytes
Database mounted.
Database opened.
SQL> select DBTIMEZONE from dual;
DBTIMEZONE
Asia/Kuala_LumpurRefer:
Re: how to check db time zone
Edited by: Ora on 5 Nov, 2012 11:36 PM -
my ipod nano 7th generation....works fine as long as it's on the docking station. when off the station, the display goes dark after a few seconds. it's fully charged. please help. this is the heartbeat of my business. thanks
In the worst case, it's still under warranty (all 7th gen nanos are still under one year from purchase).
So, you disconnect it from power, and it almost immediately goes dead? You can try a Restore... but it doesn't sound like the type of problem a Restore will fix.
You should probably have it looked by Apple Tech Support. If there's an Apple Store nearby, you can take it to the store's Genius Bar. To avoid waiting, you can make a reservation at the store's web page
http://www.apple.com/retail/
Maybe you are looking for
-
Oracle SSO error while trying to access a report
Hi All, I am using Oracle 11g reports and forms.My adf application(using JDeveloper 11.1.1.4) will use oracle reports through url. From adf application we form a url for the reports like https://<server>:<port>/reports/rwservlet?server=devstage11g&de
-
Help! My Officejet 6480 goes offline whenever it gets in the mood. It's a wireless hookup. Everything looks fine--wireless light is on, printer is on, etc. I've downloaded the HP Diagnostics which seems to think everything is fine, judgin by all
-
In previous period posting system is allowing less qty for goos issue
Dear All, I am doing goods issue in previous period.Though in material master previous period system is showing 0.125 MT of material ,in MB5B same quantity of material in previous period is available also I checked in MB51 for all material document a
-
Hi All, I am getting below build error. I am migrating weblogic 10. Which jar file contains this interface: weblogic.jdbc.vendor.oracle.OracleThinClob? Error: package weblogic.jdbc.vendor.oracle does not exist [javac] if (theClob instanceof weblogic.
-
User Creation In portal Using NWDS
Hello Experts Is there any way we can create a job in SAP Netweaver Portal using NWDS for the user creation. Any pointers will be extremely helpful as I am new to this. I am using SAP Netweaver 7.3 SP 09. Thanks Utsav Mishra