Lines Matching full:disk
942 #define SQLITE_IOERR 10 /* Some kind of disk I/O error occurred */
943 #define SQLITE_CORRUPT 11 /* The database disk image is malformed */
1062 ** information is written to disk in the same order as calls
1223 ** information is written to disk in the same order as calls
1307 ** retry counts and intervals for certain disk I/O operations for the
3083 ** on-disk database will be created. ^This private database will be
3105 ** ^SQLite uses the path component of the URI as the name of the disk file
3121 ** be used to access the database file on disk. ^If this option is set to
3572 ** changes to the content of the database files on disk.
5867 ** out to disk and so if any I/O errors occur, they will likely occur
6720 ** database page on disk. The value passed into szExtra depends
6723 ** created will be used to cache database pages of a file stored on disk, or
6777 ** pinned pages to disk and synching the operating system disk cache.
7040 ** that the application must guarantee that the disk file being
9093 #define PGHDR_DONT_WRITE 0x020 /* Do not write content to disk */
9335 ** The default size of a disk sector
9601 u8 safety_level; /* How aggressive at syncing data to disk */
10528 ** is a disk table or the "old.*" pseudo-table, then pTab points to the
22886 ** of code will give us the ability to simulate a disk I/O error. This
23096 ** Make sure all writes to a particular file are committed to disk.
25234 ** of code will give us the ability to simulate a disk I/O error. This
27057 ** lock state. No need to mess with the file on disk.
28241 ** to disk, not the inode. We only set dataOnly if the file size is
28329 ** are flushed to disk. Such fsyncs are not needed on newer
28365 ** Make sure all writes to a particular file are committed to disk.
32087 ** of code will give us the ability to simulate a disk I/O error. This
33878 ** Make sure all writes to a particular file are committed to disk.
38302 ** The pager is used to access a database disk file. It implements
38666 ** start of it. The database file on disk has not been modified.
38671 ** to it, but the header has not been synced to disk.
38684 ** and synced to disk.
38686 ** written to disk).
38708 ** The ERROR state is entered when an IO or disk-full error (including
38730 ** is reloaded from disk (and, if necessary, hot-journal rollback peformed)
38893 ** For a real on-disk database, the current lock held on the database file -
38927 ** journal file before it is synced to disk.
39002 ** the file on disk in pages. It is set to a copy of dbSize when the
39004 ** to write or truncate the database file on disk.
39011 ** to measure the database file on disk, and then truncates it if required.
39169 ** size as a single disk sector. See also setSectorSize().
39443 ** All values are stored on disk as big-endian.
39655 /* If the checksum doesn't add up, then one or more of the disk sectors
40011 i64 jrnlSize; /* Size of journal file on disk */
40032 /* If in full-sync mode, advance to the next disk sector before writing
40737 /* Decode the page just read from disk */
40885 ** If the file on disk is currently larger than nPage pages, then use the VFS
40888 ** Or, it might might be the case that the file on disk is smaller than
41006 ** the extra entries had not yet made it safely to disk. In such a case,
41054 ** present on disk, then the journal is not hot and does not need to be
41106 ** synced to disk. Compute the number of pages based on the remaining
41758 ** single disk sector is atomic, then this mode provides
42134 ** function does not actually modify the database file on disk. It
42148 ** syncs the journal file to disk, then sets pPager->journalHdr to the
42152 ** Syncing a hot-journal to disk before attempting to roll it back ensures
42256 ** disk and can be restored in the event of a hot-journal rollback.
42348 ** all data has really hit the disk before nRec is updated to mark
42706 ** all information is held in cache. It is never written to disk.
42915 ** disk and uses an in-memory rollback journal.
43210 /* If it is not already open and the file exists on disk, open the
43389 ** actual disk read occurs. In this case the memory image of the
43414 ** in memory, this routine goes to disk to read it in whereas Lookup()
43416 ** has to go to disk, and could also playback an old journal if necessary.
43417 ** Since Lookup() never goes to disk, it never has to deal with locks
43424 int noContent /* Do not bother reading content from disk if true */
43524 ** not read the page from disk. Return a pointer to the page,
43528 ** and sqlite3PagerGet() is that _get() will go to the disk and read
43530 ** returns NULL if the page is not in cache or if a disk I/O error
43876 ** fit on a single disk sector. In this case all co-resident pages
43986 ** write the information on page pPg back to the disk, even though
43993 ** that it does not get written to disk.
44101 ** Sync the database file to disk. This is a no-op for in-memory databases
44333 /* If the file on disk is not the same size as the database image,
44362 ** synced to disk. The journal file still exists in the file-system
47051 /* Sync the WAL to disk */
47193 ** leave a corrupt WAL file on disk. */
48450 ** This file implements a external (disk-based) database using BTrees.
48471 ** disk where M is the number of entries in the tree.
48689 ** first byte of on-disk image of every BTree page.
48728 u8 *aData; /* Pointer to disk image of the page data */
48736 ** The in-memory image of a disk page has the auxiliary information appended
48890 ** based on information extract from the raw disk page.
49377 ** This file implements a external (disk-based) database using BTrees.
50735 ** Initialize the auxiliary information for a disk block.
50907 ** the content of the page at this time. So do not go to the disk
50910 ** means we have started to be concerned about content and the disk
51047 ** be exclusively in memory, or it might use a disk-based memory cache.
51449 ** to insure data is written to the disk surface before
51468 ** Change the way data is synced to disk in order to increase or decrease
51494 ** words, return TRUE if no sync() occurs on the disk files.
51970 ** pBt->pageSize to the page-size of the file on disk.
52462 ** the disk. After the journal is safely on oxide, the changes to the
52465 ** disk and we are still holding all locks, so the transaction has not
52477 ** created, populated with this journal pointer and synced to disk.
52545 ** routine did all the work of writing information out to disk and flushing the
52546 ** contents so that they are written onto the disk platter. All this
55645 ** keep entries in the disk file in order so that a scan
55648 ** from the disk more rapidly.
58107 ** journal synced to disk. So at this point we may safely modify
58133 /* Sync the database file to disk. */
59248 ** to read from the disk) then the pMem is left in an inconsistent state.
64612 ** an integer representation is more space efficient on disk.
69818 ** schema consistent with what is on disk.
69830 ** schema consistent with what is on disk.
69842 ** schema consistent with what is on disk.
71672 ** As keys are added to the sorter, they are written to disk in a series
71676 ** all PMAs currently stored on disk must be merged together. This comment
72231 ** the PMA on disk is the same as the expected size stored in
72341 /* If no data has been written to disk, then do not do so now. Instead,
72546 ** actual on disk file is created lazily. When the file is created,
72549 ** on disk is not created or populated until either:
72575 ** If it does not already exists, create and populate the on-disk file
72760 ** pVfs to create the underlying on-disk files.
81695 ** Table. No changes are made to disk by this routine.
82639 ** An entry for the table is made in the master table on disk, unless
82694 ** "sqlite_master" or "sqlite_temp_master" table on the disk.
82695 ** So do not write to the disk again. Extract the root page number
83120 ** Write VDBE code to erase table pTab and all associated indices on disk.
83361 ** on disk.
84031 /* If the db->init.busy is 0 then create the index on disk. This
84038 ** the latter case the index already exists on disk, which is why
92811 ** the local value does not make changes to the disk file and the default
92925 ** the local value does not make changes to the disk file and the
93652 ** from disk.
98882 ** does, then we can assume that it consumes less space on disk and
100479 ** command. If the latter, then the row-records in the table btree on disk
105383 ** CPU and disk I/O needed to process the requested result.
113341 /* SQLITE_IOERR */ "disk I/O error",
113342 /* SQLITE_CORRUPT */ "database disk image is malformed",
113344 /* SQLITE_FULL */ "database or disk is full",
116071 ** merge traverses the underlying sqlite disk structures efficiently.
116627 int nMaxPendingData; /* Max pending data before flush to disk */
116747 ** "Length" field found in doclists stored on disk is omitted from this
118238 ** Even if the data structure on disk is corrupted, this (reading two
120047 ** Flush the contents of the pending-terms table to disk.
125085 ** When full-text index nodes are loaded from disk, the buffer that they
125503 ** in the %_segdir table on disk. This function is used to convert three
126427 ** position. The exception is if this node is being loaded from disk
126650 ** callback as is used when flushing terms to disk.
128587 ** Flush any data in the pending-terms hash table to disk. If successful,