Sequence creating large gaps than expected

Oracle 11g, windows server2008
Hi
How can I find out which table columns used a sequence in my database (in past 2 or 3 days for example)
This is needed because the sequence increments by 1 BUT while doing a query on table column which use this sequence, it was found that large gaps are being produced in between the numbers in the table column using this sequence.
The cache is 20 .
We dont need consecutive numbers, just curious why the sequence is producing bigger gaps than expected.
What are the reasons for  the sequence cache being cleared, other than shutdown,rollback&export/import of the database?
The gap is not uniform , sometimes there is a gap of 20.. sometimes 17 or 100, i.e uneven numbers with no pattern..and while searching the codes,packages etc, to see where the sequence is being used, its only this one table column  but there culd be some other column using this, so would like to know that and that could be the reason why the sequence is having large gaps like this.
(E.g. for producing a 100 records, it used 1000 numbers etc..)
Thanks very much

Krithi wrote:
Hi
Can you please expand it a bit more, as its not familiar for me
1)After enabling auditing using the syntax(logged in as sysdba i suppose),where will I see the result and how to check the result?
DBA_AUDIT_TRAIL
2)How to disable auditing once I have done with this?
You have the syntax for turning on the audit, the same reference manual that documents that also documents how to turn it off
Contents
Here's a bit of fatherly advice to help you in your career.  When you are given a clue like a particular sql statement, or mention of a feature like 'audit', spend a bit of time in the documentation to see what you can learn of it - before coming back and asking more about it.
=================================================
Learning how to look things up in the documentation is time well spent investing in your career.  To that end, you should drop everything else you are doing and do the following:
Go to  docs.oracle.com.
Locate the link for your Oracle product and version, and click on it.
You are now at the entire documentation set for your selected Oracle product and version.
BOOKMARK THAT LOCATION
Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
Do the same with the SQL Reference Manual.
Do the same with the Utilities manual.
You don't have to read the above in depth.  They are reference manuals.  Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
Then set yourself a plan to dig deeper.
- *Read a chapter a day from the Concepts Manual*.
- Take a look in your alert log.  One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
- Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
- *When you have finished reading the Concepts Manual, do it again*.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
=================================

Similar Messages

  • Why this Query is taking much longer time than expected?

    Hi,
    I need experts support on the below mentioned issue:
    Why this Query is taking much longer time than expected? Sometimes I am getting connection timeout error. Is there any better way to achieve result in shortest time.  Below, please find the DDL & DML:
    DDL
    BHDCollections
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[BHDCollections](
     [BHDCollectionid] [bigint] IDENTITY(1,1) NOT NULL,
     [GroupMemberid] [int] NOT NULL,
     [BHDDate] [datetime] NOT NULL,
     [BHDShift] [varchar](10) NULL,
     [SlipValue] [decimal](18, 3) NOT NULL,
     [ProcessedValue] [decimal](18, 3) NOT NULL,
     [BHDRemarks] [varchar](500) NULL,
     [Createdby] [varchar](50) NULL,
     [Createdon] [datetime] NULL,
     CONSTRAINT [PK_BHDCollections] PRIMARY KEY CLUSTERED
     [BHDCollectionid] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    BHDCollectionsDet
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[BHDCollectionsDet](
     [CollectionDetailid] [bigint] IDENTITY(1,1) NOT NULL,
     [BHDCollectionid] [bigint] NOT NULL,
     [Currencyid] [int] NOT NULL,
     [Denomination] [decimal](18, 3) NOT NULL,
     [Quantity] [int] NOT NULL,
     CONSTRAINT [PK_BHDCollectionsDet] PRIMARY KEY CLUSTERED
     [CollectionDetailid] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    Banks
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[Banks](
     [Bankid] [int] IDENTITY(1,1) NOT NULL,
     [Bankname] [varchar](50) NOT NULL,
     [Bankabbr] [varchar](50) NULL,
     [BankContact] [varchar](50) NULL,
     [BankTel] [varchar](25) NULL,
     [BankFax] [varchar](25) NULL,
     [BankEmail] [varchar](50) NULL,
     [BankActive] [bit] NULL,
     [Createdby] [varchar](50) NULL,
     [Createdon] [datetime] NULL,
     CONSTRAINT [PK_Banks] PRIMARY KEY CLUSTERED
     [Bankid] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    Groupmembers
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[GroupMembers](
     [GroupMemberid] [int] IDENTITY(1,1) NOT NULL,
     [Groupid] [int] NOT NULL,
     [BAID] [int] NOT NULL,
     [Createdby] [varchar](50) NULL,
     [Createdon] [datetime] NULL,
     CONSTRAINT [PK_GroupMembers] PRIMARY KEY CLUSTERED
     [GroupMemberid] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    ALTER TABLE [dbo].[GroupMembers]  WITH CHECK ADD  CONSTRAINT [FK_GroupMembers_BankAccounts] FOREIGN KEY([BAID])
    REFERENCES [dbo].[BankAccounts] ([BAID])
    GO
    ALTER TABLE [dbo].[GroupMembers] CHECK CONSTRAINT [FK_GroupMembers_BankAccounts]
    GO
    ALTER TABLE [dbo].[GroupMembers]  WITH CHECK ADD  CONSTRAINT [FK_GroupMembers_Groups] FOREIGN KEY([Groupid])
    REFERENCES [dbo].[Groups] ([Groupid])
    GO
    ALTER TABLE [dbo].[GroupMembers] CHECK CONSTRAINT [FK_GroupMembers_Groups]
    BankAccounts
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[BankAccounts](
     [BAID] [int] IDENTITY(1,1) NOT NULL,
     [CustomerID] [int] NOT NULL,
     [Locationid] [varchar](25) NOT NULL,
     [Bankid] [int] NOT NULL,
     [BankAccountNo] [varchar](50) NOT NULL,
     CONSTRAINT [PK_BankAccounts] PRIMARY KEY CLUSTERED
     [BAID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    ALTER TABLE [dbo].[BankAccounts]  WITH CHECK ADD  CONSTRAINT [FK_BankAccounts_Banks] FOREIGN KEY([Bankid])
    REFERENCES [dbo].[Banks] ([Bankid])
    GO
    ALTER TABLE [dbo].[BankAccounts] CHECK CONSTRAINT [FK_BankAccounts_Banks]
    GO
    ALTER TABLE [dbo].[BankAccounts]  WITH CHECK ADD  CONSTRAINT [FK_BankAccounts_Locations1] FOREIGN KEY([Locationid])
    REFERENCES [dbo].[Locations] ([Locationid])
    GO
    ALTER TABLE [dbo].[BankAccounts] CHECK CONSTRAINT [FK_BankAccounts_Locations1]
    Currency
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[Currency](
     [Currencyid] [int] IDENTITY(1,1) NOT NULL,
     [CurrencyISOCode] [varchar](20) NOT NULL,
     [CurrencyCountry] [varchar](50) NULL,
     [Currency] [varchar](50) NULL,
     CONSTRAINT [PK_Currency] PRIMARY KEY CLUSTERED
     [Currencyid] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    CurrencyDetails
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[CurrencyDetails](
     [CurDenid] [int] IDENTITY(1,1) NOT NULL,
     [Currencyid] [int] NOT NULL,
     [Denomination] [decimal](15, 3) NOT NULL,
     [DenominationType] [varchar](25) NOT NULL,
     CONSTRAINT [PK_CurrencyDetails] PRIMARY KEY CLUSTERED
     [CurDenid] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    QUERY
    WITH TEMP_TABLE AS
    SELECT     0 AS COINS, BHDCollectionsDet.Quantity AS BN, BHDCollections.BHDDate AS CollectionDate, BHDCollectionsDet.Currencyid,
                          (BHDCollections.BHDCollectionid) AS DSLIPS, Banks.Bankname
    FROM         BHDCollections INNER JOIN
                          BHDCollectionsDet ON BHDCollections.BHDCollectionid = BHDCollectionsDet.BHDCollectionid INNER JOIN
                          GroupMembers ON BHDCollections.GroupMemberid = GroupMembers.GroupMemberid INNER JOIN
                          BankAccounts ON GroupMembers.BAID = BankAccounts.BAID INNER JOIN
                          Currency ON BHDCollectionsDet.Currencyid = Currency.Currencyid INNER JOIN
                          CurrencyDetails ON Currency.Currencyid = CurrencyDetails.Currencyid INNER JOIN
                          Banks ON BankAccounts.Bankid = Banks.Bankid
    GROUP BY BHDCollectionsDet.Quantity, BHDCollections.BHDDate, BankAccounts.Bankid, BHDCollectionsDet.Currencyid, CurrencyDetails.DenominationType,
                          CurrencyDetails.Denomination, BHDCollectionsDet.Denomination, Banks.Bankname,BHDCollections.BHDCollectionid
    HAVING      (BHDCollections.BHDDate BETWEEN @FromDate AND @ToDate) AND (BankAccounts.Bankid = @Bankid) AND (CurrencyDetails.DenominationType = 'Currency') AND
                          (CurrencyDetails.Denomination = BHDCollectionsDet.Denomination)
    UNION ALL
    SELECT     BHDCollectionsDet.Quantity AS COINS, 0 AS BN, BHDCollections.BHDDate AS CollectionDate, BHDCollectionsDet.Currencyid,
                          (BHDCollections.BHDCollectionid) AS DSLIPS, Banks.Bankname
    FROM         BHDCollections INNER JOIN
                          BHDCollectionsDet ON BHDCollections.BHDCollectionid = BHDCollectionsDet.BHDCollectionid INNER JOIN
                          GroupMembers ON BHDCollections.GroupMemberid = GroupMembers.GroupMemberid INNER JOIN
                          BankAccounts ON GroupMembers.BAID = BankAccounts.BAID INNER JOIN
                          Currency ON BHDCollectionsDet.Currencyid = Currency.Currencyid INNER JOIN
                          CurrencyDetails ON Currency.Currencyid = CurrencyDetails.Currencyid INNER JOIN
                          Banks ON BankAccounts.Bankid = Banks.Bankid
    GROUP BY BHDCollectionsDet.Quantity, BHDCollections.BHDDate, BankAccounts.Bankid, BHDCollectionsDet.Currencyid, CurrencyDetails.DenominationType,
                          CurrencyDetails.Denomination, BHDCollectionsDet.Denomination, Banks.Bankname,BHDCollections.BHDCollectionid
    HAVING      (BHDCollections.BHDDate BETWEEN @FromDate AND @ToDate) AND (BankAccounts.Bankid = @Bankid) AND (CurrencyDetails.DenominationType = 'COIN') AND
                          (CurrencyDetails.Denomination = BHDCollectionsDet.Denomination)),
    TEMP_TABLE2 AS
    SELECT CollectionDate,Bankname,DSLIPS AS DSLIPS,SUM(BN) AS BN,SUM(COINS)AS COINS  FROM TEMP_TABLE Group By CollectionDate,DSLIPS,Bankname
    SELECT CollectionDate,Bankname,count(DSLIPS) AS DSLIPS,sum(BN) AS BN,sum(COINS) AS coins FROM TEMP_TABLE2 Group By CollectionDate,Bankname
    HAVING COUNT(DSLIPS)<>0;

    Without seeing an execution plan of the query it is hard to suggest something useful. Try insert the result of UNION ALL to the temporary table and then perform an aggregation on that table, not a CTE.
    Just
    SELECT CollectionDate,Bankname,DSLIPS AS DSLIPS,SUM(BN) AS BN,SUM(COINS)AS COINS  FROM
    #tmp Group By CollectionDate,DSLIPS,Bankname
    HAVING COUNT(DSLIPS)<>0;
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Can a strored procedure contain Drop Sequence /Create Sequence statement?

    I am trying to schedule a job to update the starting value of a sequence. So I need to write a strored procedure to drop and then recreate the sequence. But when i tried to cimpile the follwing stored procedue, it gave me the error "'DROP' is not a valid identifier". Is it illegal to have "Drop Sequence /Create Sequence " in a stored procedue? If this is true, is there any way to accomplish my task (simply recreate the same sequence with different starting value every month)? Thanks!
    Begin
    DROP SEQUENCE TEST_SEQ;
    CREATE SEQUENCE TEST_SEQ
    START WITH 0
    MAXVALUE 999999999999
    MINVALUE 0
    NOCYCLE NOCACHE NOORDER;
    End

    In general, it is a bad idea to try to encode information into a key because it
    - complicates queries in the future
    - complicates updates to the data in the future
    - can easily be generated on the fly from other data elements
    Inevitably, if you do something like what was proposed, you'll find out that the data encoded in the key gets out of date from the data stored in the row, that users are writing queries that do things like strip off the first 6 characters of the string in order to do date searches, and that users discover they want to be able to modify the data to fix the data that's encoded in the keys, which can be terribly expensive if there are child tables.
    Rather than trying to do this, I would store a DATE value and a non-reset sequence. You can always generate the reference number for the user by doing a TO_CHAR on the DATE and concatenating the output of an appropriate ranking function. If the users decide that they need to correct the DATE of an event, the reference number will be updated automagically since it was never stored in the database. A number generated in the query can also be guaranteed to be gap-free, which tends to please users.
    Justin

  • Schema version is lower than expected value

    While configuring the database at Step 3 of 9, it threw me an exception: INST-6177 OIM Schema version is lower than expected value.
    Create OIM 11g schema using repository creation utility and proceed with configuration.
    Now, Please help me...

    For the exception, the trace says that:
    [2011-05-19T14:29:10.511+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
    [OIM_CONFIG_INTERVIEW] MDS Schema Version is correct
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Exiting method executeHandler
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
    [OIM_CONFIG_INTERVIEW] Database is not encryped. This is not an upgrade flow.
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Could not fetch the schema version from the database
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
    ERROR ====>>>>:INST-6177
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
    Cause:OIM Schema version is lower than the expected value
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
    Action:Create OIM 11g schema using Repository Creation Utility and proceed with configuration.
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] [[
    [OIM_CONFIG_INTERVIEW] Retrieving default locale set in the machine.
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.oimQueriesHandler.checkForUpgrade] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Exiting method executeHandler
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Handler launch end: oimQueriesHandler.checkForUpgrade
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Handler returned status: FAILED
    [2011-05-19T14:29:10.527+01:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation] [tid: 11] [ecid: 0000J08SN_J6UOYFLrvH8A1DpHfc000002,0] Error in validating schema details

  • MSOutlook HTML newsletter issues - large gaps between large images and small gaps...

    Please can you help me!
    Searched the web & found plently of advice but still getting formatting display issue when viewing HTML newsletter in MS Outlook.
    Fully aware on the basics regarding the multiple issues when creating HTML newsletters but this is driving me crazy.
    Apparently there is a image height limit within Outlook (can't find out what this is) so I have sliced my larger images into 5/6 parts which solves the display issue in Outlook.
    But the gaps between the slices are now being displayed as small blank spaces within Hotmail.
    I did use <br> between each slice as without caused the fixed 600px wide containing table to expand due to the slices stacking hoz.
    Also still getting small gaps (like <br> spaces) between all images in Outlook when displaying perfectly (no gaps) in a browser.
    This is my newsletter displaying correctly via a browser:
    http://eu.shorts.tv/site-admin/modules/mod_mail/SHORTSTV_DECEMBER_2012.htm
    Using Dreamweaver 4 (do have the latest version via Adobe Creative Cloud Membership but not on this system).
    Hope you can help
    Many thanks

    Many thanks David
    I also found this article which is currently sitting on my desk.
    Pdf would make perfect sense or even a url link to view via a browser but these guys need it contained within the email.
    Thanks again for your kind advice.
    Regards
    ShortsTV
    Date: Fri, 30 Nov 2012 18:05:08 -0700
    From: [email protected]
    To: [email protected]
    Subject: MSOutlook HTML newsletter issues - large gaps between large images and small gaps...
        Re: MSOutlook HTML newsletter issues - large gaps between large images and small gaps...
        created by David__B in Adobe Creative Cloud - View the full discussion
    Hey Shortstv, Not something I know much about, searched and found thishttp://robcubbon.com/create-html-email-newsletters-outlook/ Maybe create it as a PDF attachment instead? -Dave
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4888255#4888255
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4888255#4888255
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4888255#4888255. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Creative Cloud by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Creating large pdf document

    Help, I have created a magazine for a local club which is in excess of 100mb and it won't upload to a PDF document, can you please help?

    Hi wendyclewley,
    There is a 100 MB file size limitation for submitting files to the Create PDF service.
    But with Acrobat you can create large files.
    You can use free trial service of 30 days.
    If it meets your expectation then you can purchase the full version.
    Regards,
    Florence

  • Creating large text files

    What is the fastest as well as less memory intensive way to create large files.
    Current State
    I have an application where I am reading the database and processing the information (formatting it) and using some third party API to add the information and then finally save as text file. The problem is since its third party API and we do not have any control on that and it takes very long time to generate the files
    Future state
    I want to build the file generator which will read from the database and then process/format the information one by one. Now I have following options.
    1) Add the processed information in a StringBuffer line by line and at the end of it create a file from the StringBuffer and save it.
    2) Create a custom object with different ArrayLists and keep on adding the processed lines into appropriate lists and at the end of it while saving it to a file read the custom object and save it as a file.
    3) Create a file at the start of it and then keep on adding and flushing the lines one by one and at the end of it close the file.
    For handling files I was thinking of using PrintWriter. I am talking about the text files anyware from 50 KB to 20 MB.
    I have performance concerns as well as memory issues. So I want a balanced solution so that I am able to handle both.

    Use a BufferedWriter to write each line/entry/record as you process it.
    Don't do any special flushing() (unless you need special transactional properties in which case you need a lot more than simple flush() calls).

  • In iMovie 11 small gaps in clips seem to transition nicely, but how do I reduce or eliminate the larger gaps? I can't find a way to move the clips together.

    In iMovie 11 small gaps in clips seem to transition nicely, but how do I reduce or eliminate the larger gaps? I can't find a way to move the clips together.

    I'm intrigued by this!
    Can you explain further what the gaps look like when you export the movie. Are there black spaces, for example? You mentioned earlier that "it jumps quickly between clips that I edited which gives it a jerky appearance at those transitions". So you are possibly just seeing a change in sudden movement when moving from one clip to another.
    I've noticed when shooting with my AVCHD camcorder that if I quickly move the camera straight after pressing the record button to stop recording, a jerky movement appears when played back. This is because the camera is still recording for a fraction of a second after pressing the button, that is, there is a slight delay before actual recording stops on the hard drive (unlike a tape based camera).
    I simply edit out these annoying movements. When hovering the pointer over the beginning or end of a clip, a small icon appears, shaped like a left/right arrow. Click on the icon and a small section of the clip end (or beginning if editing the start point) will be partly encased in an orange border. You can then drag the border's handle inwards in increments of one frame, up to one second duration. Repeat this if you wish to trim more than one second. I find this better for short trimming than just dragging the clip ends inwards and using Trim to Selection from the pop-up menu, as it is quicker and has more precision. To enable this feature, in iMovie > Preferences - Browser tab, check the box labelled "Show Fine Tuning controls".
    Of course, this may not be what you are seeing. But I can't really envisage what you mean by "how do I reduce or eliminate the larger gaps", as there should be no gaps, as explained by AppleMan1958. Could you please provide some more information, or include a screenshot of what you are describing.
    To take a screenshot, press the key combination Command+Shift+4 - a crosshair will appear on screen. Drag this diagonally across the section you want to capture. A .png image file will appear on the Desktop. When posting here you will see a camera icon in the reply window's menu bar. Click on the camera icon then follow the steps provided (it lets you navigate to the image). Sorry if you already know this!
    John

  • Lightroom creating large cr_sdk_*.tmp files

    I'm using Lightroom 4.1 RC2 on 64bit Windows 7. My C: drive is an SSD and only has about 8GB free. My catalog and Lightroom cache are both configured to live on my F: drive however, so I wouldn't have thought this would be a problem.
    What I'm finding is that after an hour or so of editing (in the Develop module only), I run out of space on my C: drive which causes Lightroom to exit, and other general system instability (eg Windows Explorer dies). It looks like Lightroom is creating large files in my temp directory (C:\Users\<username>\AppData\Local\Temp) called eg cr_sdk_03182513.tmp.
    What are these files for and why do they get so big? Can I configure Lightroom to store them elsewhere (ideally without relocating my temp dir)?

    Thanks Dorin. I'd performed a quick search of the forum but only found a few comments vaguely alluding to the problem, I missed these two threads.
    I realised I could relocate my tmp directory but figured the behaviour looked more like a bug in LR than sensible use of the temp dir. Sounds like I don't have much choice other than to live with it for now; I'll move my temp folder to a different drive and hope it gets addressed in an upcoming release.
    Thanks again,
    Chris

  • Creating large configurations

    I've been trying to create large configurations using the Command Line Tool's mkconfig command, because the Configuration Wizard only seems to allow choosing one element at a time. (Single selection is not productive when trying to initially build a configuration with hundreds of elements.)
    My questions about the mkconfig command are:
    1) Is there any limit to size of a file that can be referenced with the mkconfig (and updconfig) command? My trials have produced errors when the file was greater than 16KB. These files can get relatively large fast, due to the length of hundreds of version-resolved INCLUDE_OBJECT rules.
    2) Please confirm whether the entire command will fail with a Java abend error if the file includes an invalid INCLUDE_OBJECT rule, e.g., an unresolveable object version?
    Thanks very much for any help with this.
    Regards,
    Aaron

    One thing to consider: when you add photos to a collection via SDK, you are also giving work to Lr native to do in the background (i.o.w. it's not finished when you return from with-do), and so as you go SDK is competing more with Lr native (Lr native may be becoming increasingly back-logged). Dunno if that has any bearing, but perhaps worth consideration...
    Lr performance is a big giant mystery to me. I mean, just exporting, I can watch Lr performance slow and slow and slow (when exporting large numbers of photos), even when there appears to be no memory leak. Ditto for other ops. So although I can't explain your observation (i.e. the decreased performance adding lotsa photos to collection), (nor any of my similar observations), it doesn't surprise me either.
    Rob

  • Large gaps appearing between content when exporting to HTML

    Good afternoon,
    I'm relatively new to Muse and I'm evaluation whether to purchase a subscription, but this problem has got me very frustrated. I have very large gaps appearing between content in my designs, causing the site to look terrible and not anywhere near how it looks in Muse.
    I have seen this error reported on the forums earlier, and I have checked and can't see any "hidden text boxes" or "0 wide content" causing this bug. Please look at my screenshots for an explanation of the problem.
    This is what I see in Muse, it looks relatively clean and I'm liking how it appears.
    But when I export to HTML, I get this atrocity.
    The Muse file is available to download from here:
    http://www.fixem.com.au/DCR%20Concrete%20Site.rar
    Any help would be greatly appreciated. Thank you for your time.

    Hi Larry
    The text at bottom shows when viewed in browser as I checked, but let me know which browser you are using ? Also if you are using the site to publish to any external server.
    Regarding resources , there are many tutorials and forum threads for best practices used for text styling ,
    These videos should help you :
    http://tv.adobe.com/watch/learn-adobe-muse-cc/applying-effects-to-text/
    http://tv.adobe.com/watch/learn-adobe-muse-cc/work-with-text-adding-text/
    http://tv.adobe.com/watch/learn-adobe-muse-cc/working-with-text-styles-create-a-paragraph- style/
    Thanks,
    Sanjit

  • Java persistence: sequence generator not working in expected way.

    Hi,
    I just played around with java persistence api and found that sequence generator annotations for making new primary key value not working correctly in my code. following is part of my code related to this problem.
    in entity class:
    @SequenceGenerator(name="mySeq", sequenceName="MY_SEQ_IN_DB")
    @Id
    @GeneratedValue(strategy=SEQUENCE, generator="mySeq")
    @Column(name = "UPLOAD_ID", nullable = false)
    private Integer uploadId;
    I have a sequence called MY_SEQ_IN_DB in my oracle 9i testing db. When I ran the code to save a new entity instance to database I found that the new upload id is not the one that should be created from the MY_SEQ_IN_DB sequence, while the sequence was not increased either. It's instead something starting from 97 (in my pc), and increased just like a sequence, but every time I reran my code the sequence restarted itself again beginning with 97(of course the insert failed with primary key conflict). the behavior just looks like it's a sequence created and managed totally by the persistence api or toplink itself (I guess).
    So, my question is, is this a designed behavior or have I done something wrong to make it not using the correct sequence in the db?
    I used hibernate before, and assigning new primary key from sequence in this way works fine.
    Thanks
    JC.L

    There are some things in Java which can't be serialized. When contained within a higher-level class such as Buttons. A button can be associated with an Action Listener. Now, you can serialize a button; however you can't serialize an action listener - for what should be to you obvious reasons. This is NOT an error and so there is no need to throw an exception when serializing the button.
    Basically: Applet sends servlet button, but not listener.

  • How to stop process chain, if it is taking too much time than expected.

    Some times if a process chain takes to much time to finish than expected, how I can stop the process chain and execute it again.
    Thanks in Advance.
    Harman

    how I can stop the process chain ??
    If the job is running for a long time ,
    1)GOTO RSMO and SM37 and check the long running job over there.
    2)There you can see the status of the job.
    3)If the job is still running you can kill that job
    4)delete the failed request from data target.
    for more details go to this below link
    how to stop process chain if it yellow for long time
    how I can execute it again ?
    GOto Function module  RSPC_API_CHAIN_START
    and give u r process chain name there.and execute.

  • PE12: how can I create a gap in timeline?

    In Expert timeline, is there a way to create a gap, so that copies of other clips on the timeline can be copied into it without covering other clips?
    The objective is to insert a series of very short-duration copies of various clips to create a section with multiple quick changes from one image to another.
    I have been using a workaround (insert black screen, then copy and paste clips from the timeline over it) but this is very tedious and inefficient, adding extra steps to the process.
    I have so much stuff in the timeline that lassoing and dragging everything back and forth is even less efficient.  And sometimes causes crashes.

    VDOS,
    Thanks.  This would be good but I have a ton of stuff on the timeline and when I do a lasso-drag operation half the time the program crashes.  Also I'm trying to avoid all the selecting and dragging--very time consuming.
    Actually for my specific question I found the answer last night:
    1. Copy clip(s) that need to be copied onto different a timeline location (Ctrl-C).
    2 Put CTI at target location on timeline,
    3. Shift-Ctrl-V
    This will copy the clips to the CTI location, sliding everything to the right to make room.
    As you note, if you have anything on any other track PE12 will chop it up and shift it, which I have learned the hard way.  So I have had to remove the sound track, to be put in later.  I consider this to be very poor design; there are countless situations in which the sound track is essentially background music which has absolutely no specific connection to any specific scene or clip, and failure to allow for an override of the synchronizing feature is very poor design.
    It seems that to simply create a gap for whatever reason, maybe the quickest way is
    1. Put CTI at target location for gap
    2. Create Black Screen
    3. Insert Black Screen to Timeline.  Everything will slide right to accomodate.
    4. R click Black Screen, choose Delete.  Screen will be deleted, leaving a gap.
    5. Clear Black Screen from Project Assets (to avoid filling up that area with useless junk).  Or leave it if you think you'll use it again.
    This can be a convenient marker for quickly finding some area or clip that you need to work on later.  Or for indicating areas that you want to export later.
    Message was edited by: Kawika808 - syntax

  • Lower than expected battery life? (pic warning)

    I have the x61s w/ the UltraLight screen and 4-cell cylindrical battery. According to the specs I should be getting up to 4.5h.From what I've heard, lenovo's estimations are actually normally quite accurate.
    Well here's the thing - I probably top out at about 3hrs. This is QUITE a bit lower than expected. Could it be a faulty battery? I'm expecting more out of this baby!
    Message Edited by Kaitlyn2004 on 05-01-2009 07:13 PM
    Message Edited by JaneL on 05-01-2009 10:59 PM

    The 4.5 hours estimate is when you don't use your laptop for anything other than word processing, and dim out your LCD. In addition it would also require you not use any wireless connection or lot of background processes.  
    You can check your battery condition, by going into power manager and look at what is the design capacity and actual capacity?
    Message Edited by JaneL on 05-01-2009 10:59 PM
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

Maybe you are looking for