Microsoft
Software
Hardware
Network
Question : User_Segments
Hello
I am using Oracle XE on Linux. I took export from my schema using rows=N which exported a blank schema.
I imported that to a new server. My tables are empty but when I check the segment size the show many MBs for each table? Why is so? Is there a way to reduce the size?
select segment_name, sum(bytes/1024/1024) mb
from user_segments
group by segment_name
order by 2 desc;
Here are first few rows:
SEGMENT NAME SEGMENT_TYPE MB
SALES_ORDER_PROCESSES_PK INDEX 28
ITEMS TABLE 14
ITEM_STATIONS_CMB_IDX INDEX 12
ITEM_STATIONS TABLE 11
When I check if there is any data in a table:
select count(*) from items;
It returns 0.
Any help will be appreciated.
Answer : User_Segments
As I mention in my comment :
http:#33136694
use like
exp Poracle/oracle file='pt.dmp' tables='PT' rows=N COMPRESS=N
You miss "Rows=N" in your Export command
and then import table.
IMP SCOTT/TIGER FILE='pt.dmp' ROWS=N FROMUSER=Poracle TOUSER=SCOT
Random Solutions
Domain Security Policy in Windows Server 2008 domain controller?
jQuery widget acts weird in IE7
Copying data from one worksheet to another in Excel 2007
Keep existing user profile whilst moving to new SBS 2008 install
Collapse a PHP array
The device, \Device\Harddisk3\DR3, has a bad block.
DLL vs LIB implicit linking
How can I append an excel table by refrencing the table (listobject) using vba in excel.
Terminal Services on Windows SBS 2008 Standard
Passthrough criteria in excel 2003 from oracle 10g