Understanding NCHAR and Data Storage.

Hi
I plan to migrate an Oracle8i database to Oracle9i to support UNICODE.
After reading Oracle9i Daily Feature at
http://otn.oracle.com/products/oracle9i/daily/oct02.html
I just don't understant how data would be stored.
e.g.: if I modify existing tables by altering columns from CHAR to NCHAR (or VARCHAR2 to NVARCHAR2), what happens to storage. Is it doubled ?
Thanks.

That depends on the character set(s) you use and the type of data you use.
Take the scenario where your current database character set is WEISO8859P1 and you start using UTF8 as the national character set. UTF8 is a variable-width encoding system, so it will use between 1 and 3 bytes to store each character. All english characters are encoded with a single byte, Western European characters umlats, accents, etc) would generally require two bytes, and Asian characters would require three bytes. If 99% of your data is just English characters, going from ISO-8859 to UTF8 wouldn't change the amount of space required to store your data in any significant way. If you started storing a lot of Chinese data, however, it would take three times the storage to hold a Chinese character than it did to store an English character.
Now lets imagine a scenario where you're going from an ISO-8859 encoding to a UTF-16 encoding. Since UTF-16 is a fixed-width encoding, it takes two bytes to store every character regardless of language. Character based columns in an existing ISO-8859 database would require twice as much disk if the encoding were changed to UTF-16, but Asian languages would only require two, rather than three, bytes per character.
If you're going to be storing a lot of Asian language data, the UTF-16 will end up requiring less physical space. If you're going to be storing mostly Engligh & Western European languages, UTF-8 will require less physical space.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC

Similar Messages

  • I know have a document and data storage on my iTunes. how do you get rid of it

    i know have a document and data storage on my iTunes. how do you get rid of it

    Very helpful, ty.
    FYI for others. I also had to disable the Default Tab 1.0 addon.

  • Using TC for back up and data storage...partition?

    I'm not sure I know enough to word this question properly so my apologies in advance.
    I picked up a time capsule today and I want to make sure I set it up the right way. Besides using it for back-ups, I'd like to use it for data storage of things that no longer fit on my laptop. (Now a MacBook Air with a smaller drive than I'm used to.)
    I'd like to put my iPhoto library, iTunes and various other things that I don't have to have with me all the time on it.
    Should I partition the drive? Can I partition the drive? For data and backup sections?
    I also have a question re: two people backing up to one TC. If one is backing up all the time and one is in town only occasionally, how is space distributed if partitioning isn't possible? If the TC capsule backes up till it's full and then drops off the oldest backup, what does it do when it;s full and the occasionally backed up machine is put into the network?
    Many thanks for any help. I'm looking forward to setting this up and would like to avoid doing it wrong!

    whateverwerks wrote:
    Should I partition the drive? Can I partition the drive? For data and backup sections?
    I also have a question re: two people backing up to one TC. If one is backing up all the time and one is in town only occasionally, how is space distributed if partitioning isn't possible? If the TC capsule backes up till it's full and then drops off the oldest backup, what does it do when it;s full and the occasionally backed up machine is put into the network?
    Many thanks for any help. I'm looking forward to setting this up and would like to avoid doing it wrong!
    The drive cannot be partitioned. You can create folders as you wish to suit your need for things other than backups.
    As noted earlier, when the occasionally connected machine is connected for backup, it will delete the oldest backup for that machine to make room when needed.

  • How to clear documents and data storage

    I cannot seem to get 6.08 worth of Gb off of my documents and data someone help!

    Manage the data on the device via iTunes.

  • Can I create member log-in and data storage with my Muse account?

    I'm looking into the Muse product for a possible new client who will need to collect member data and post it onto the site. I want to know if this function can be created in Muse and with my Muse account.

    Hi,
    Please refer to the following link Re: Password/login
    Regards,
    Aish

  • Sharing a Time Capsule between Time Machine and Data Storage

    I currently have a MBP with a 120 GB hard drive that is busting at the seams. I have a 500 GB time capsule which I use Time Machine on. I am going to move iphoto and itunes libraries onto an external drive and I was wondering whether I can share the Time Capsule between TM backup and being an external drive. It currently has more than 325 GB available. Appreciate any advice.

    alastairandnicole wrote:
    Sorry, I'm not that Mac literate. My plan was to connect the WD Book external hard drive by USB to the Time Capsule so that it will wirelessly mount. Will TM back that up automatically?
    No TM will not back up network drives. as I said it has to be directly attached. if you attach the drive to the computer instead of the TC, TM will back it up.

  • My iphone 4 has no data storage. I have deleted all apps, music and texts and it still says I only have 1.9 GB available. There is nothing in my storage.

    My iphone 4 has no data storage. I have deleted all apps, music and texts and it still says I only have 1.9 GB available. There is nothing in my storage.

    The problem could be that you don't have enough storage on the device itself, not on iCloud.  Go to Settings>General>Usage to see how much "Storage" you have available on the device.  Farther down the list is the available storage on iCloud.
    Also check:
    Go to Settings>iCloud>Storage & Backups>Manage Storage; there, tap the device you need info on and the resulting screen lists Backup Options with which apps store data on iCloud as well.  Tap Show All Apps to get the complete list of apps and MB used for backup storage.
    A device needs many MB of storage in order to perform a backup to iCloud.
    Also see:  http://support.apple.com/kb/ht4847`

  • I want to upgrade my storage plan in icloud. Before that i want to know whether synchronization of data in my PC and data in one of the applications of ipad is possible through icloud or not

    I want to upgrade my storage plan in icloud. Before that i want to know whether synchronization of data in my PC and data in one of the applications like "phone drive" of ipad is possible through icloud or not?

    The Photos app doesn't currently support subfolders, it only has the one level of folder/album. You will either need to change your folder structure on your computer to be just one level, see if there is a third-party photo app in the store that copes with subfolders, or just make do. You can try leaving feedback for Apple : http://www.apple.com/feedback/ipad.html

  • Exchange 2010 SP3 UR2 and Event 4999 = AirSync, M.E.Data.Storage, M.E.D.S.AppointmentTombstone

    Hello together,
    i'm having the following event on my cas servers every about 30 minutes:
    Event 4999 MSExchange Common
    Watson report about to be sent for process id: 5780, with parameters: E12, c-RTL-AMD64, 14.03.0151.000, AirSync, M.E.Data.Storage, M.E.D.S.AppointmentTombstone..ctor, System.OverflowException, 7f09, 14.03.0158.001.
    ErrorReportingEnabled: False
    it looks like it is a known bug fixed in SP3 UR3 (http://support.microsoft.com/kb/2891587/de) ?
    http://support.microsoft.com/kb/2888911/de
    they are talking there about a workarround to delete the problematic "thumbstone data". but how to find and identiy them before deletion ?
    "To work around this issue, use the MFCMAPI tool to remove the corrupted tombstone data."
    thanks for feedback,
    best,
    martin

    Hello Martin,
    I have a user who is having this exact same issue. I know this thread is a few months old, did you ever find an answer to where the corrupted tombstone data was located at?
    thanks,
    Emmanuel Fumero Exchange Administrator

  • Data storage and read

    Hello all,
    I got a problem in data storage and read. I used the combination of "Open data storage", "Write data" and "Close data storage" to store some data as an array as shown below.
    And used the inverted combination to read data as shown below:
    As shown the data file is in tdm form. This works fine in my computer, both the VI and the stand alone application. However when I run the stand alone application in a target pc, the storage file can't be generated!
    I don't know if it's the problem of my code or the problem of the target pc, since the target pc has tiny memory card with few drivers installed. I'm wondering if anybody could help me fix this problem. If there's other way I can store and read the file? or if I can make the target pc generate the tdm file.
    Thanks!
    Chao
    Solved!
    Go to Solution.

    What error is being presented when the file isn't being generated?  Is it an error with permissions?  Or an error with a folder not existing?  Can you manually make a file in the location where you expect the file to be generated?
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Test-OutlookConnectivity fails with '[Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sites'.

    I have a two site DAG, and the command is running from the alternate site where the databases are not currently being hosted. The following command...
    Test-OutlookConnectivity -Protocol:TCP -TrustAnySSLCert:$true -MonitoringContext:$true
    ...errors with the following output:
    An error occurred while trying to access mailbox CurrentlyHostingMBServerName.InternalDomainName, on behalf of user InternalDomainName\extest_bb13200232474
     Additional information:
     [Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sit
    es..
        + CategoryInfo          : OperationStopped: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
       OutlookConnectivity], CasHealthStorageErrorException
        + FullyQualifiedErrorId : F2F8AC0D,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
    I thought this command would work based on the 'AllowCrossSiteRpcClientAccess: True' option on the DAG.  The command works well if run a CAS server in the active DB site.

    Hi,
    Exchange 2013 users use Outlook Anywhere to connect to CAS server. You may run the RCA to test the connectivity:
    https://www.testexchangeconnectivity.com/
    Thanks,
    Simon Wu
    TechNet Community Support

  • Hi,i need to upgrade my 13"late 2011macbook pro with an ssd drive.i have noticed there is a system hard drive for booting up and a data storage hard drive that my computer uses,are these the same hard drive i can see inside my laptop?

    hi,i use logic pro 9 and cubase to record,produce and master audio recordings and have bought a mac as recommended.have upgraded to 8gig memory (which i was told was the maximum you could upgrade a macbook pro)and still my recordin is slightley behind plauback.i need to replace my hard drive with a solid state drive to solve the problem.i have seen on youtube how to replace the hard drive but have noticed on the disk partition information that there is a 500gig harddrive for the system(booting up ect)and a 500gig harddrive for data storage,are these the same unit?i need to be sure im upgrading what the system uses to an ssd as well as the data storage or the problem wont be solved.i have an external hard drive so i have been looking at a smaller,faster ssd. hope you can help!

    DaisyMay wrote:
    Firewire 400/USB 2.0/1.1
    I would recommend not settling for less then USB 3 or hold out for Thunderbolt, if your machine is capable. Firewire 800 minimum.
    MacBook Pro, Mac OS X (10.7), 2.4GHz IntelCore i5 320 HD 8GB RAM ParallelsDesktop6.0

  • Windows 7 64bit Raid 1 Data Storage setup with UEFI and 6TB drives

    i just bought a GigaByte MB with UEFI bios, 1 SSD 128GB drive for the OS (boot up), and 2 6TB drives for use in a raid 1 setup for the data storage.
    I have been able to install win 7 64bit using the UEFI dvd drive.  I have been able to define the 6TB mirror via the bios (under the Intel Rapid Storage Technology option) .  But when ever i go into windows, and check under Disk Management, i don't
    see the raid 1, i see two drives listed for the data, each at 1492 GB.   I should be seeing 1 drive at 5.4TB.  
    note: I have tried re-installing win7 64bit many times to see if i have missed something.   When i run setup off uefi dvd drive, i see that drive 1 (of what should be part of the mirror) and drive 2 are listed there at the reported 1492 GB size each.
    So it seems that win7 doesn't see that mirror that i created via the bios. So is this a bios setting problem somewhere?   i presume on this screen i should see the correct mirror size already.
    Also, do i need to install win7 via the uefi dvd if  i don't want to boot off those large drives (i just want to boot off the ssd. But when i did try that using a legacy mode, i couldn't later try to create a single large drive for the mirror using
    GPT formatting.  it just wasn't an option.  although the mirror was recognized as 1 drive, but broken into 2TB and 3TB.)
    what could i possibly be doing wrong??  
    Thanks for any help

    Thank You Roger.   I did call Gigabyte.   This is how i solved it with the gigabyte support team. 
    1.   Don't try installing Win7 64bit sp1 and setup RAID at the same time.  (even go ahead and unplug those raid drives if you have it plugged in).   The OS should be installed first on the boot drive, but make sure the BIOS is already set
    to RAID (not AHCI.  If you already installed OS under AHCI, you need to reinstall OS.  i find this crazy because what if you decide to install raid down the road.. to an existing machine.. you can't do that because of this).     Make sure
    to install OS with the UEFI dvd drive option (i had done this).
    2. Once the OS is installed, install all drivers that come for the Motherboard... That should include intel Raid drivers. (note gigabyte support didn't tell me to do this, but i didn't want to take a chance to have to reinstall OS again or have more problems,
    but it makes sense.)
    3. Now i have the GA-H97-Gaming 3 mother board, it had Bios F3.  I upgraded it to F5 as per support tech.
    4. turn off machine, and replug in the two 6TB drives.
    5. after reboot, i find out that i no longer see Intel RAPID Storage Technology. (this should have displayed when i set the SATA Mode Selection to RAID before i started all this business... it did under bios F3, but not under F5.. bug??  i think so,
    so i plan on letting gigabyte know about this).  This is a problem.  In Intel RAPID Storage Technology is where you define the RAID in the first place.    OK, well after several reboots.. i tried to use CTRL-I to get to intel's interface
    rather than that of the gigabyte bios.   Voila... i define the Mirror... 
    6. I am able to boot into OS.   I got to Drive Management.  I now see 1 6TB drive.  I initialize it of course using GPT.  Format it.  All all looks good now.   
    Hope this helps someone.. took me enough tries to get it right.   I really am bothered about requiring the OS installed in the correct SATA mode just to get RAID working.  As i mentioned, you can't change your mind afterwards without reinstalling
    OS.   Also i couldn't even get the OS setup to start when i had those raid drives plugged in.. so make sure to unplug them.
    Best Regards.

  • UNDERSTAND THE NEW DATE AND TIME DATA TYPES IN ORACLE 9I

    제품 : SQL*PLUS
    작성날짜 : 2001-08-01
    UNDERSTAND THE NEW DATE AND TIME DATA TYPES IN ORACLE 9I
    ========================================================
    PURPOSE
    Oracle 9i 에서 소개되는 새로운 datetime data type 에 대해 소개한다.
    Explanation
    Example
    1. Datetime Datatypes
    1) TIMESTAMP
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND
    2) TIMESTAMP WITH TIME ZONE
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND/
    TIMEZONE_HOUR/TIMEZONE_MINUTE( +09:00 )
    or TIMEZONE_REGION( Asia/Seoul )
    3) TIMESTAMP WITH LOCAL TIME ZONE
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND
    4) TIME WITH TIME ZONE
    : HOUR/MINUTE/SECOND/TIMEZONE_HOUR/TIMEZONE_MINUTE
    2. Datetime Fields
    1) YEAR/MONTH/DAY/HOUR/MINUTE
    2) SECOND(00 to 59.9(N) is precision) : Range 0 to 9, default is 6
    3) TIMEZONE_HOUR : -12 to 13
    4) TIMEZONE_MINUTE : 00 to 59
    5) TIMEZONE_REGION : Listed in v$timezone_names
    3. DATE 와 TIMESTAMP 와의 차이점
    SQL> select hiredate from emp;
    HIREDATE
    17-DEC-80
    20-FEB-81
    SQL> alter table employees modify hiredate timestamp;
    SQL> select hiredate from employees;
    HIREDATE
    17-DEC-80 12.00.00.000000 AM
    20-FEB-81 12.00.00.000000 AM
    단, 해당 Column 에 Data 가 있다면 DATE/TIMESTAMP -> TIMESTAMP WITH
    TIME ZONE 으로 Convert 할 수 없다.
    SQL> alter table employees modify hiredate timestamp with time zone;
    alter table employees modify hiredate timestamp with time zone
    ERROR at line 1:
    ORA-01439: column to be modified must be empty to change datatype
    4. TIMESTAMP WITH TIME ZONE Datatype
    TIMESTAMP '2001-05-24 10:00:00 +09:00'
    TIMESTAMP '2001-05-24 10:00:00 Asia/Seoul'
    TIMESTAMP '2001-05-24 10:00:00 KST'
    5. TIMESTAMP WITH LOCAL TIME ZONE Datatype
    SQL> create table date_tab (date_col TIMESTAMP WITH LOCAL TIME ZONE);
    SQL> insert into date_tab values ('15-NOV-00 09:34:28 AM');
    SQL> select * from date_tab;
    DATE_COL
    15-NOV-00 09.34.28.000000 AM
    SQL> alter session set TIME_ZONE = 'EUROPE/LONDON';
    SQL> select * from date_tab;
    DATE_COL
    15-NOV-00 12.34.28.000000 AM
    6. INTERVAL Datatypes
    1) INTERVAL YEAR(year_precision) TO MONTH
    : YEAR/MONTH
    : Year_precision default value is 2
    SQL> create table orders (warranty interval year to month);
    SQL> insert into orders values ('2-6');
    SQL> select warranty from orders;
    WARRANTY
    +02-06
    2) INTERVAL DAY (day_precision) TO SECOND (fractional_seconds_precision)
    : DAY/HOUR/MINUTE/SECOND
    : Logon time 확인시 주로 사용
    : day_precision range 0 to 9, default is 2
    SQL> create table orders (warranty interval day(2) to second);
    SQL> insert into orders values ('90 00:00:00');
    SQL> select warranty from orders;
    WARRANTY
    +90 00:00:00.000000
    7. Interval Fields
    - YEAR : Any positive or negative integer
    - MONTH : 00 to 11
    - DAY : Any positive or negative integer
    - HOUR : 00 to 23
    - MINUTE : 00 to 59
    - SECOND : 00 to 59.9(N) where 9(N) is precision
    8. Using Time Zones
    1) Database operation
    - Defined at CREATE DATABASE
    - Can be altered with ALTER DATABASE
    - Current value given by DBTIMEZONE
    2) Session operation
    - Defined with environment variable ORA_SDTZ
    - Can be altered with ALTER SESSION SET TIME_ZONE
    - Current value given by SESSIONTIMEZONE
    3) TIMESTAMP WITH LOCAL TIMEZONE
    - TIME_ZONE Session parameter
    : O/S Local Time Zone
    Alter session set time_zone = '-05:00';
    : An absolute offset
    Alter session set time_zone = dbtimezone;
    : Database time zone
    Alter session set time_zone = local;
    : A named region
    Alter session set time_zone = 'America/New_York';
    Reference Document
    ------------------

    Hi ,
    I am facing the same problem and my scenario is also same (BAPI's).
    So can you please tell me how you overcome this problem .
    Thanks,
    Rahul

  • What is documents and data in storage?

    My iPhone 4S has been threatening with being full for ages and I just don't have that much stuff on it. Photos, videos, apps, and music all account for less than half of the 16gb space on the phone. When I plugged it in to back up my files (since it just deleted ALL of my contacts over night), it is showing that over half of the storage space is being taken up by "documents and data" - anyone know what this is? I need to delete most of it to clear room for more photos!

    Document & Data on iPhone is junks files including browser history, cookies, logs, caches of photos and videos, database files stored by your apps. You’ll notice that some apps while being very small themselves have accumulated a lot of data. An example of this is shown in the image below, you see that the Facebook app is 109 MB whereas the Documents & Data stored is 1.2 GB. This 1.2 GB is what goes into your “Other” data.
    These apps on iPhone don’t provide a way to delete Documents and Data, uninstalling and reinstalling the app is not the best option here. With the help of CleanMyPhone or PhoneClean you can delete the documents and data on iPhone without deleting the app itself.
    Resource: http://www.fireebok.com/resource/how-to-delete-documents-and-data-on-iphone.html

Maybe you are looking for

  • Since last update, sound on my Logitech Quickcam fusion stopped working?

    In iChat ,I noticed that since the last apple software update the sound on my Quickcam Fusion stopped working only the video works.. I noticed that under preferences, video, then microphone, it is no longer listed as a USB device option. Only line-in

  • ITunes 12, like 11.4 before it, crashes when syncing apps...

    I realise this is not a new issue, but one that began with iTunes 11.4. Along with many, many other users who host their content on a NAS or other network drive, iTunes crashes at the point where updated or newly downloaded apps are to be transferred

  • How to work with buttons?

    Hi all, I'm kind of new to Flash so forgive me for my obvious question... I created buttons that I would like to assign to some text. I want the text to apear once the button is been pressed. I can't really fegure it out, even the manual doesn't seem

  • Walkman Music Info Error

    Hi; I'm using "Edit music info" and then update buttom. Every thing working well but when I move my files or rename them I will lose every music info. It seem music info not saved into my files. thanks

  • Is there a new gesture that does what command tab does?

    I used to be able to bring this up using my trackpad in Snow Leopard...is there a way to do this on lion?